sample_on_sky#
- esis.optics.sample_on_sky(frame, x, y)[source]#
Read a frame bilinearly at the given sensor coordinates.
Points off the sensor read as NaN, not zero: an edge of zeros would be mistaken for structure by the correlation.
The coordinates are optika’s, see
optika.sensors.AbstractImagingSensor.pixels(): pixelispans[i, i + 1)and its value sits ati + 1/2, so a coordinate on a pixel’s centre reads that pixel alone.