-
Notifications
You must be signed in to change notification settings - Fork 76
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
[BUG] Mosviz: Model Fitting doesn't work in Mosviz #752
Comments
This traceback looks similar to one we caught in #762. We should revisit this issue once that is merged |
It looks like this error is because the linking code in I don't think this will be solved by #762, will probably require a couple extra lines of code in |
Perhaps #811 can shed some light on this as well? |
Maybe. I just tested with #762 and
|
For future reference, I tried patching glue-astronomy in glue-viz/glue-astronomy#39 (to fix Cubeviz) but Tom said glue-astronomy is doing the right thing by raising exception, so it is up to Jdaviz to catch it. |
@PatrickOgle As I mentioned offline, I still see an error with some of the older simulated NIRSPEC data, but with the most recent simulated dataset the model fitting appears to work fine. Are you ok with closing this issue given that it seems to have been a now-fixed problem with the old simulated data? |
I will have to see it work in my Jwebbinar notebook to be convinced... |
Describe the bug
All attempts to fit a model using the Model Fitting plugin in Mosviz fail, for even
the simplest model (Constant1D), to either the full Dataset or a Subset. The following
traceback is generated:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The model should be fitted and plotted in the spectrum viewer
Screenshots
N/A
Desktop (please complete the following information):
jupyter core : 4.7.1
jupyter-notebook : 6.4.0
qtconsole : 5.1.1
ipython : 7.25.0
ipykernel : 6.0.3
jupyter client : 6.1.12
jupyter lab : not installed
nbconvert : 6.1.0
ipywidgets : 7.6.3
nbformat : 5.1.3
traitlets : 5.0.5
Package versions (please complete the following information):
macOS-10.15.7-x86_64-i386-64bit
Python 3.8.10 | packaged by conda-forge | (default, May 10 2021, 22:58:09)
[Clang 11.1.0 ]
Numpy 1.21.1
astropy 4.3
specutils 1.3
spectral-cube 0.5.0
pyyaml 5.4.1
click 8.0.1
asteval 0.9.25
idna 2.10
traitlets 5.0.5
bqplot 0.12.30
bqplot-image-gl 1.4.3
glue-core 1.0.1
glue-jupyter 0.7
glue-astronomy 0.2
echo 0.5
ipyvue 1.5.0
ipyvuetify 1.8.0
ipysplitpanes 0.2.0
ipygoldenlayout 0.4.0
voila 0.2.10
vispy 0.7.3
Jdaviz 1.2.dev365+ge29b827
Additional context (e.g. data files)
ERS NIRSpec MOS PRISM dataset with cutouts, jwst 1.1.0-processed
Model fitting works in Specviz and Cubeviz, but has never been attempted for an x1d in Mosviz.
🐱
The text was updated successfully, but these errors were encountered: