mirar.processors.astromatic.scamp package
Subpackages
Submodules
mirar.processors.astromatic.scamp.scamp module
Module to run Scamp
- class mirar.processors.astromatic.scamp.scamp.Scamp(ref_catalog_generator: Callable[[Header], BaseCatalog], scamp_config_path: str, temp_output_sub_dir: str = 'scamp', cache: bool = False, copy_scamp_header_to_image: bool = False)[source]
Bases:
BaseImageProcessorClass for Scamp Processor
- base_key = 'scamp'
- mirar.processors.astromatic.scamp.scamp.run_scamp(scamp_list_path: str | Path, scamp_config_path: str | Path, ast_ref_cat_path: str | Path, output_dir: str | Path, timeout_seconds: float = 60.0)[source]
Function to run scamp. NOTE : By default, the scamp instance here is only designed to run for astrometry. This function thus enforces SOLVE_PHOTOM = N as otherwise Scamp behaves weirdly and can output FLXSCALE != 1 in the output header. This can cause incosistencies down the line, e.g. with Swarp. Args:
scamp_list_path: scamp_config_path: ast_ref_cat_path: output_dir: timeout_seconds:
Returns: