-
Notifications
You must be signed in to change notification settings - Fork 9
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
Running mangadap on MUSE datacube #114
Comments
Hi @margudo ! That error should indicate that either none of the spaxels met the S/N criteria or they're too highly masked. I looked at your implementation of the
I'd like to help get this working. Maybe we can set up a time to chat over zoom, or you can send me the file (via a Google Drive link or something similar) and I can help debug. |
Hi Kyle!
Spectra looks normal before and after the resampling (besides displacement
of emission lines because of the geometric sampling).
Looking at the SNR file, 'VARIANCE' is at order 6.40140241e+37 and 'SIGNAL'
-9.22337204e+18, so the SNR is negative.
I suspect I have a problem with the mask or the units for fluxes. Fluxes
are in 10**(-20)*erg/s/cm**2/Angstrom
I have tried to not convert to flux densities but it does not solve the
problem.
I'm masking NaN values but maybe that's too much as you suggest.
You can find the original file in the following link:
ADP-2019-10-08T16-15-37-213.fits
<https://drive.google.com/file/d/14ji_3a5apZGr_rkxp7_nYnPMMb7upEH1/view?usp=drive_web>
If it can be helpful we can set up a zoom chat.
Thanks,
Maria
El mié, 6 sept 2023 a las 17:25, Kyle Westfall ***@***.***>)
escribió:
… Hi @margudo <https://github.com/margudo> !
That error should indicate that either none of the spaxels met the S/N
criteria or they're too highly masked. I looked at your implementation of
the MUSEDataCube class, and it looks fine to me. A couple questions for
you:
- Did you compare the spaxels in the file to those after the
resampling?
- Before the code faulted, did it write the "Reduction QA" reference
file? It should be in the common directory with name that's something
like *-SNR.fits.gz. You can use that to check the S/N measurements.
I'd like to help get this working. Maybe we can set up a time to chat over
zoom, or you can send me the file (via a Google Drive link or something
similar) and I can help debug.
—
Reply to this email directly, view it on GitHub
<#114 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABZV5PBR3B6V5MLB3UETUOTXZCIYNANCNFSM6AAAAAA4NHI67U>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
*Maria Argudo-Fernandez, PhD*
*Profesora colaboradora*
Instituto de Física *|* Pontificia Universidad Católica de Valparaíso
*EMERGIA Researcher*
Departamento de Física Teórica y del Cosmos
Universidad de Granada
margudo at ugr.es
|
Hi Maria, Thanks for sharing the file! I've been playing around with the (beautiful!) cube this morning. Here's a few things I would try:
Here's my edited version of your
|
Hello,
I'm trying to run the DAP on a MUSE datacube using DataCube class following the provided example for KCWI data but I'm getting a ValueError: No good spectra! when running the SPATIALLY BINNING SPECTRA module.
I'm running dap using the default plan
manga_dap -f ADP-2019-10-08T16-15-37-213.fits --cube_module muse MUSEDataCube --plan_module mangadap.config.analysisplan.AnalysisPlan -o dap
I'm attaching the file with the defined class, in case my error is coming from there.
muse.txt
If someone has trying this already and can point me out to the error I'd appreciate it. Thanks!
The text was updated successfully, but these errors were encountered: