mirar.processors.astrometry.anet package
Central module for running anet.net solve
Submodules
mirar.processors.astrometry.anet.anet module
Script containing functions to run astrometry.net locally
- exception mirar.processors.astrometry.anet.anet.AstrometryNetExecutionError[source]
Bases:
ProcessorErrorClass for errors in astrometry.net
- mirar.processors.astrometry.anet.anet.run_astrometry_net(images: str | list, output_dir: str, *args, **kwargs)[source]
function to execute run_astrometry_net_single on several images in batch
- mirar.processors.astrometry.anet.anet.run_astrometry_net_single(img_path: str | Path, output_dir: str | Path, scale_bounds: tuple | list | None = None, scale_units: str | None = None, downsample: float | int | None = None, timeout: float = 900, use_sextractor: bool = False, sextractor_path: str = 'sex', search_radius_deg: float = 5.0, parity: str | None = None, sextractor_config_path: str | None = None, x_image_key: str = 'X_IMAGE', y_image_key: str = 'Y_IMAGE', sort_key_name: str = 'MAG_AUTO')[source]
function to run astrometry.net locally on one image, with options to adjust settings default: solve-field <img> -D <output_dir> -N <newname> -O
mirar.processors.astrometry.anet.anet_processor module
Module containing a processor to run astrometry.net
- class mirar.processors.astrometry.anet.anet_processor.AstrometryNet(output_sub_dir: str, scale_bounds: tuple | list | None = None, scale_units: str | None = None, downsample: float | int | None = None, timeout: float = 900, use_sextractor: bool = False, sextractor_path: str = 'sex', search_radius_deg: float = 5.0, parity: str | None = None, sextractor_config_path: str | Path | None = None, sextractor_params_path: str | Path | None = None, sextractor_conv_path: str | Path | None = '/home/docs/checkouts/readthedocs.org/user_builds/mirar-anu/checkouts/latest/mirar/processors/astromatic/config/sex.conv', sextractor_starnnw_path: str | Path | None = '/home/docs/checkouts/readthedocs.org/user_builds/mirar-anu/checkouts/latest/mirar/processors/astromatic/config/default.nnw', x_image_key: str = 'X_IMAGE', y_image_key: str = 'Y_IMAGE', sort_key_name: str = 'MAG_AUTO', use_weight: bool = True, write_regions: bool = True, cache: bool = False)[source]
Bases:
BaseImageProcessorProcessor to run astrometry.net
- base_key = 'a-net'
- exception mirar.processors.astrometry.anet.anet_processor.AstrometryNetNoSolvedError[source]
Bases:
ProcessorErrorClass for errors in astrometry.net