mapToGrid renamed to mapToPixelMask
This commit is contained in:
parent
944402bad5
commit
3df7d534e9
@ -32,19 +32,21 @@ class IPSF(ABC):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def mapToGrid(self, grid: np.ndarray) -> np.ndarray:
|
def mapToPixelMask(self, mask: PixelMask, jitter_sigma: u.Quantity = None) -> PixelMask:
|
||||||
"""
|
"""
|
||||||
Map the integrated PSF values to a sensor grid.
|
Map the integrated PSF values to a sensor grid.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
grid : ndarray
|
mask : PixelMask
|
||||||
The grid to map the values to. The values will only be mapped onto entries with the value 1.
|
The pixel mask to map the values to. The values will only be mapped onto entries with the value 1.
|
||||||
|
jitter_sigma : Quantity
|
||||||
|
Sigma of the telescope's jitter in arcsec
|
||||||
|
|
||||||
Returns
|
Returns
|
||||||
-------
|
-------
|
||||||
grid : ndarray
|
mask : PixelMask
|
||||||
The grid with the mapped values.
|
The pixel mask with the integrated PSF values mapped onto each pixel.
|
||||||
"""
|
"""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user