Skip to content

Stage 2 manual fitting error (AttributeError: 'ScouseFitter' object has no attribute 'plot_res') #73

@AkshayaMS

Description

@AkshayaMS

Hello,

I am using scousepy on an ALMA datacube. The spectra has multiple components so I have to use the manual fit in most cases. The manual fit interactive window becomes unresponsive if I go to the previous spectra. The fits are also not shown when I go back. Is going back not allowed during stage 2? As I understand the "refit=True" can be used to look at the plots after stage 2 is complete. Since I have a lot of spectra to fit (>500) I wanted to have the option to check the fitted spectra.

Also once I go to a previous spectrum and try manual fit again, the fit I had done before does not show up (ideally it should show the previous fit parameters and ask if I want to do a re-fit). I am not sure if it was erased.

Example:
I perform the fit manually shown below
before

I exit the code. I start stage 2 again, but the above fit does not show up when I go back to it. Shown below,
after

I get the following error in the terminal:
error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions