FieldsMap
- class mpdaf.MUSE.FieldsMap(filename=None, nfields=None, **kwargs)[source]
Bases:
objectClass to work with the mosaic field map.
- Parameters:
Methods Summary
Return a list of weight maps (one per fields).
get_FSF(y, x, kernels[, weights])Return the local FSF.
get_field_mask(field_name)Return an array with non-zeros values for pixels matching a field.
get_pixel_fields(y, x)Return a list of fields that cover a given pixel (y, x).
get_pixel_fields_indexes(y, x)Return a list of fields indexes (between 0 and nfields) that cover a given pixel (y, x).
variable_PSF_convolution(img, kernels[, weights])Function used for the convolution of an image by a set of PSF.
Methods Documentation
- compute_weights()[source]
Return a list of weight maps (one per fields).
The weight gives the influence of the field for each pixel. In the overlap area the weight changes linearly to have a smooth transition.
- get_field_mask(field_name)[source]
Return an array with non-zeros values for pixels matching a field.
field_namecan be an integer (between 1 and nfields+1) or a string (e.g. UDF-03).
- get_pixel_fields_indexes(y, x)[source]
Return a list of fields indexes (between 0 and nfields) that cover a given pixel (y, x).
- variable_PSF_convolution(img, kernels, weights=None)[source]
Function used for the convolution of an image by a set of PSF.
We use shift-variant blur techniques to model the variation of the PSF.
- Reference: Denis, L. Thiebaut E., Soulez F., Becker J.-M. and Mourya R.
‘Fast approximations of shift-variant blur’, International Journal of Computer Vision, Springer Verlag, 115(3), 253-278 (2015)