exosim.tasks.instrument.createIntrapixelResponseFunction#
Classes#
It creates the intrapixel response function to be used in the convolution with the focal plane array. |
Module Contents#
- class CreateIntrapixelResponseFunction[source]#
Bases:
exosim.tasks.task.TaskIt 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.
- execute()[source]#
Class execution. It runs on call and executes all the task actions returning the outputs. It requires the input with correct keywords
- model(parameters)[source]#
This model creates the intrapixel response function to be used in the convolution with the focal plane array. Thsi intrapixel response function is compatible with the Scipy convolution functions.
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 micronsdiffusion_length (
astropy.units.Quantity) – diffusion length in micronsintra_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