pub type Geometric = geometricShackHartmann;Aliased Type§
#[repr(C)]pub struct Geometric {Show 22 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,
pub _d__c_: *mut f32,
pub _d__cx_: *mut f32,
pub _d__cy_: *mut f32,
pub N_FRAME: i32,
pub handle: *mut cublasContext,
}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§_d__c_: *mut f32§_d__cx_: *mut f32§_d__cy_: *mut f32§N_FRAME: i32§handle: *mut cublasContextTrait Implementations§
Source§impl Model for Geometric
impl Model for Geometric
Source§fn calibrate(&mut self, src: &mut Source, threshold: f64) -> &mut Self
fn calibrate(&mut self, src: &mut Source, threshold: f64) -> &mut Self
Calibrates the ShackHartmann WFS reference slopes and valid lenslets
fn new() -> Self
fn build( &mut self, n_side_lenslet: i32, d: f32, n_sensor: i32, _n_px_lenslet: i32, _osf: i32, _n_px: i32, _b: i32, )
fn as_mut_ptr(&mut self) -> *mut f32
fn reset(&mut self) -> &mut Self
fn process(&mut self) -> &mut Self
Source§fn data(&mut self) -> Cu<Single>
fn data(&mut self) -> Cu<Single>
Returns the centroids corresponding to the valid lenslets Read more