Diffractive

Type Alias Diffractive 

Source
pub type Diffractive = shackHartmann;

Aliased Type§

#[repr(C)]
pub struct Diffractive {
Show 17 fields pub N_WFS: i32, pub N_SIDE_LENSLET: i32, pub N_LENSLET: i32, pub N_ACTUATOR: i32, pub N_SLOPE: i32, pub d__c0: *mut f32, pub d__cx0: *mut f32, pub d__cy0: *mut f32, pub valid_lenslet: mask, pub valid_actuator: mask, pub camera: imaging, pub data_proc: centroiding, pub DFT_osf: i32, pub lenslet_pitch: f32, pub pixel_scale: f32, pub intensity_threshold: f32, pub slopes_gain: f32,
}

Fields§

§N_WFS: i32§N_SIDE_LENSLET: i32§N_LENSLET: i32§N_ACTUATOR: i32§N_SLOPE: i32§d__c0: *mut f32§d__cx0: *mut f32§d__cy0: *mut f32§valid_lenslet: mask§valid_actuator: mask§camera: imaging§data_proc: centroiding§DFT_osf: i32§lenslet_pitch: f32§pixel_scale: f32§intensity_threshold: f32§slopes_gain: f32

Trait Implementations§

Source§

impl Model for Diffractive

Source§

fn new() -> Self

Source§

fn reset(&mut self) -> &mut Self

Source§

fn process(&mut self) -> &mut Self

Source§

fn data(&mut self) -> Cu<Single>

Returns the centroids corresponding to the valid lenslets Read more
Source§

fn n_valid_lenslet(&mut self) -> usize

Source§

fn lenslet_mask(&mut self) -> Cu<Single>

Source§

fn lenslet_flux(&mut self) -> Cu<Single>

Source§

fn set_valid_lenslet(&mut self, lenslet_mask: &[i32])

Source§

fn valid_lenslet(&mut self) -> &mut mask

Source§

fn set_reference_slopes(&mut self, src: &mut Source)

Source§

fn filter(&mut self, lenslet_mask: &mut Mask) -> Cu<Single>

Source§

fn drop(&mut self)

Source§

fn as_mut_ptr(&mut self) -> *mut f32

Source§

fn build( &mut self, n_side_lenslet: i32, d: f32, n_sensor: i32, n_px_lenslet: i32, osf: i32, n_px: i32, b: i32, )

Source§

fn valid_lenslets(&mut self) -> Vec<f32>

Source§

fn calibrate(&mut self, src: &mut Source, threshold: f64) -> &mut Self

Source§

fn propagate(&mut self, src: &mut Source) -> &mut Self

Source§

fn readout( &mut self, exposure_time: f32, rms_read_out_noise: f32, n_background_photon: f32, noise_factor: f32, ) -> &mut Self

Source§

fn frame(&self) -> Option<Vec<f32>>

Source§

fn n_frame(&self) -> usize

Source§

fn valid_lenslet_from(&mut self, wfs: &mut mask)