Detector.add_images¶
- Detector.add_images(data, parse_data=True, preprocessor=True)[source]¶
This is essentially an alias to the
StellarOpNav.add_images()method, but it also expands various lists to account for the new number of images.When you have already initialized a
Detectorclass you should always use this method to add images for consideration.The lists that are extended by this method are:
invalid_imagessummed_dnmagnitudefit_chi2_valuesummed_dn_uncertaintysaturatedsummed_dn_countmax_dnbearingintegrated_psfra_sigmadeclination_sigmax_raw_sigmay_raw_sigmaoccultingsaturation_distancetrail_lengthtrail_principal_anglestar_summed_dnstar_observed_magnitudestar_fit_chi2_valuestar_summed_dn_uncertaintystar_saturatedstar_summed_dn_countstar_max_dnstar_bearingstar_integrated_psfstar_ra_sigmastar_declination_sigmastar_x_raw_sigmastar_y_raw_sigmastar_occultingstar_saturation_distance
See the
StellarOpNav.add_images()for a description of the valid input for data- Parameters:
data (Iterable[Path | str | ndarray[tuple[Any, ...], dtype[_ScalarT]]] | Path | str | ndarray[tuple[Any, ...], dtype[_ScalarT]]) – The image data to be stored in the
imageslistparse_data (bool) – A flag to specify whether to attempt to parse the metadata automatically for the images
preprocessor (bool) – A flag to specify whether to run the preprocessor after loading an image.