Normalize an HRS image.
The tasks takes an image and will fit a function to the overall shape to it. The task will only fit to the illuminated orders and if an order_frame is provided it will use that to identify the areas it should fit to. Otherwise, it will filter the image such that only the maximum areas are fit.
This function will then be divided out of the image and return a normalized image if requested.
Parameters: | data: numpy.ndarray
mask: numpy.ndarray
func_init: ~astropy.modeling.models
fitter: ~astropy.modeling.fitting
normalize: boolean
|
---|---|
Returns: | ndata: numpy.ndarray
|