StarIDOptions¶
giant.stellar_opnav.star_identification
:
- Parameters:
catalog (Catalog) – The catalog object to use to query for potential stars in an image.
max_magnitude (float) – the maximum magnitude to return when querying the star catalog
min_magnitude (float) – the minimum magnitude to return when querying the star catalog
max_combos (int) – The maximum number of random samples to try in the RANSAC routine
tolerance (float) – The maximum distance between a catalog star and a image point of interest for a potential pair to be formed before the RANSAC algorithm
ransac_tolerance (float) – The maximum distance between a catalog star and an image point of interest after correcting the attitude for a pair to be considered an inlier in the RANSAC algorithm.
second_closest_check (bool) – A flag specifying whether to reject pairs where 2 catalog stars are close to an image point of interest
unique_check (bool) – A flag specifying whether to allow a single catalog star to be potentially paired with multiple image points of interest
use_mp (bool) – A flag specifying whether to use the multi-processing library to accelerate the RANSAC algorithm
compute_weights (bool)
The star catalog to use when pairing image points with star locations.
This typically should be a subclass of the
Catalog
class. It defaults to theGaia
.
The maximum star magnitude to query from the star catalog.
This specifies how dim stars are expected to be in the
extracted_image_points
data set. This is typically dependent on both the detector and the exposure length of the image under consideration.
The minimum star magnitude to query from the star catalog.
This specifies how dim stars are expected to be in the
extracted_image_points
data set. This is typically dependent on both the detector and the exposure length of the image under consideration.Generally this should be left alone unless you are worried about over exposed stars (in which case
ImageProcessing.reject_saturation
may be more useful) or you are doing some special analysis.
The maximum number of random combinations to try in the RANSAC algorithm.
If the total possible number of combinations is less than this attribute then an exhaustive search will be performed instead
The maximum distance in units of pixels between a projected catalog location and an extracted image point for a possible pairing to be made for consideration in the RANSAC algorithm.
The tolerance that is required after correcting for attitude errors for a pair to be considered an inlier in the RANSAC algorithm in units of pixels.
This should always be less than the
tolerance
attribute.
A boolean specifying whether to ignore extracted image points where multiple catalog points are within the specified tolerance.
A boolean specifying whether to ignore possible catalog to image point pairs where multiple image points are within the specified tolerance of a single catalog point.
A boolean flag specifying whether to use multi-processing to speed up the RANSAC process.
If this is set to True then all available CPU cores will be utilized to parallelize the RANSAC algorithm computations. For small combinations, the overhead associated with this can swamp any benefit that may be realized.
- A boolean specifying whether to compute the formal uncertainties for the unit vectors
and the pixel locations of the catalog stars.