We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
An IndexError appears after running the following sequence on a set of images:
faster_photometry = SequenceParallel( [ blocks.Calibration(darks=darks, bias=bias, flats=flats, shared=True), blocks.PointSourceDetection( n=12, minor_length=8 ), # stars detection for alignment blocks.Cutouts(21), # stars cutoutsb blocks.MedianEPSF(), # building EPSF blocks.Gaussian2D(ref), # modeling EPSF with initial guess blocks.ComputeTransformTwirl(ref), # compute alignment blocks.AlignReferenceSources(ref), # align sources blocks.CentroidQuadratic(), # centroiding blocks.AperturePhotometry(), # aperture photometry blocks.AnnulusBackground(), # annulus background blocks.Del("data", "sources", "cutouts"), # (optional) reduce overhead blocks.GetFluxes( "fwhm", airmass=lambda im: im.header["AIRMASS"], dx=lambda im: im.transform.translation[0], dy=lambda im: im.transform.translation[1], ), ], ) faster_photometry.run(images[30:40])
After trying the debugging recommendations, it appears the error comes from GetFluxes.terminate().
Adding a Trim block removed the overscan regions of the raw images that were preventing the detection of stars and causing the issue.
The text was updated successfully, but these errors were encountered:
fix(#138): sequence warning before terminate + getfluxes exception fo…
293b8a9
…r empty fluxes + terminate exception context
Merge pull request #144 from lgrcia/fix/getfluxes_error
89ac7ba
No branches or pull requests
An IndexError appears after running the following sequence on a set of images:
After trying the debugging recommendations, it appears the error comes from GetFluxes.terminate().
Adding a Trim block removed the overscan regions of the raw images that were preventing the detection of stars and causing the issue.
The text was updated successfully, but these errors were encountered: