-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
terminal-command for saving fit #41
Comments
To update on this thread: I've found the command to save fits. It's:
However it does not work out-of-the box as the screenshots require the corresponding gui fit-window to be active. I've found a workaround: This seems to cycle between active plot windows. This approach has a downside that I don't know what my current position in the window list is. And the code fails if somehow the start position of cs.mdiarea.activeSubWindow gets changed. Is there a way to link the cs.current_fit to the corresponding plot window? Thanks |
Hi, All created fits (objects of the type Using these variables you can iterate over the fits and save the fits by:
|
Is your feature request related to a problem? Please describe.
I would like to save-fits from the command line or from a script
Describe the solution you'd like
To know the command which is run when the button File>Save Fit Results>Save Current Fit is pressed
Describe alternatives you've considered
I've tried the command:
cs.current_fit.save(path, name)
But it seems that is must be embedded to create a dir etc.
Additional context
I've visited the google groups page as was suggested on the github welcome page, but I was denied access.
The text was updated successfully, but these errors were encountered: