bug in model plotting units conversion
olaurino opened this issue · comments
Omar Laurino commented
Something may be wrong in the way units of the evaluated model are computed. To reproduce:
- Load a SED (e.g. NED Segment from the Test Builder).
- Fit it (e.g. with a broken power law, LevMar and Chi2).
- Display it.
Everything is fine at this point. Also, a units conversion has probably happened because the display is in Jy vs Hz, while the fitting was in photon/s/cm2/Angstrom vs Angstrom.
Now, switch X units from Hz to Angstrom. It still works.
Now, switch Y Units from Jy to ergs/s/cm2. The data is converted, the model function is stuck.