exosim.tasks.instrument.createOversampledIntrapixelResponseFunction#

Classes#

CreateOversampledIntrapixelResponseFunction

It creates the intrapixel response function to be used in the convolution with the focal plane array.

Module Contents#

class CreateOversampledIntrapixelResponseFunction[source]#

Bases: exosim.tasks.instrument.createIntrapixelResponseFunction.CreateIntrapixelResponseFunction

It creates the intrapixel response function to be used in the convolution with the focal plane array.

Returns:

  • kernel (2D array) – the kernel image

  • kernel_delta (scalar) – the kernel sampling interval in microns

Notes

This is a default class with standardised inputs and outputs. The user can load this class and overwrite the “model” method to implement a custom Task to replace this.

model(parameters)[source]#

This class produces an oversampled version of the intrapixel response function. This kernel is zero-padded to the size of the PSF. This version is compatible with exosim.utils.convolution.fast_convolution convolution function.

Estimate the detector pixel response function with the prescription of Barron et al., PASP, 119, 466-475 (2007).

Parameters:
  • oversampling (int) – number of samples in each resolving element. The final shape of the response function would be shape*osf

  • delta_pix (astropy.units.Quantity) – Phisical size of the detector pixel in microns

  • diffusion_length (astropy.units.Quantity) – diffusion length in microns

  • intra_pix_distance (astropy.units.Quantity) – distance between two adjacent detector pixels in microns

Returns:

  • kernel (2D array) – the kernel image

  • kernel_delta (astropy.units.Quantity) – the kernel sampling interval in microns