module documentation
Quick tool for normalising a PSF in a FITS file
Function | exec |
Undocumented |
Function | go |
Thin wrapper around run() to accept string inputs. As long as the names of the arguments to this function are the same as the names expected from the command line we can do this programatically |
Function | parse |
Undocumented |
Function | run |
Undocumented |
Variable | _lgr |
Undocumented |
def go(fits_spec, output_path=None, threshold=None, n_largest_regions=None, background_threshold=None, background_noise_model=None, n_sigma=None, trim_to_shape=None):
¶
Thin wrapper around run()
to accept string inputs.
As long as the names of the arguments to this function
are the same as the names expected from the command line
we can do this programatically
def run(fits_spec:
aph.fits.specifier.FitsSpecifier
, output_path: Path
, threshold: float
= 0.01, n_largest_regions: None | int
= 1, background_threshold: float
= 0.001, background_noise_model: str
= 'gennorm', n_sigma: float
= 5, trim_to_shape: None | tuple[ int, ...]
= None):
¶
Undocumented