guaix-ucm / megaradrp

MEGARA (Multi-Espectrógrafo en GTC de Alta Resolución para Astronomía) is a facility instrument designed for the 10.4m GTC telescope in La Palma (Spain).
https://guaix.fis.ucm.es/megara/
GNU General Public License v3.0
12 stars 6 forks source link

NaNs when running LcbAcquisition recipe #281

Open gildepaz opened 4 years ago

gildepaz commented 4 years ago

A NaN error is obtaining when trying to get the centroid of a standard star with LcbAcquisition. The error obtained is shown below: error_NaN_LcbAcquisition It seems to be related to one specific spaxels in the rss image (included as a link below) since the centroid yielded by QLA also fails when including that specific spaxel. See the image below:

QLA_error_centroid

RSS image: https://guaix.fis.ucm.es/~agpaz/reduced_rss.fits

sergiopasra commented 4 years ago

The problem is that this image contains NaNs. For example, row 426. If the image has been created by the pipeline, then there is a bug, but in the recipe that created the image or the recipes that created its calibrations.

So, if you have the raw images, probably you can detect at what stage the nans appear in the reduction