-
Notifications
You must be signed in to change notification settings - Fork 74
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] TypeError when fitting a model to MaNGA Cubes #3342
Comments
What is the cube data unit? It is triggered here but somehow Line 512 in 527d1f5
|
@pllim cube RE Lines 506 to 507 in 527d1f5
which should catch this case but couldn't work out why - perhaps a clue? |
L507 acknowledges that |
I coincidentally noticed this bug sometime last week and currently have a PR that is currently in review for the exact lines mentioned in |
Jdaviz component
Cubeviz
Description
Perhaps a lingering issue from #3307: An issue when trying to model fit a MaNGA cube that throws a
TypeError
in the console log. It seems model fitting still runs (producesWARNING: Model is linear in parameters; consider using linear fitting methods. [astropy.modeling.fitting]
warnings) but gives bad results.How to Reproduce
cubeviz.load_data(f"https://data.sdss.org/sas/dr17/manga/spectro/redux/v3_1_1/7443/stack/manga-7443-12703-LOGCUBE.fits.gz")
)Full trace:
Expected behavior
Should run error free and produce appropriate fit
Browser
Chrome
Jupyter
Software versions
Versions:
The text was updated successfully, but these errors were encountered: