#[repr(C)]pub struct segmentPistonSensor {Show 33 fields
pub ri: f32,
pub ro: f32,
pub lenslet_height: f32,
pub lenslet_size: f32,
pub lenslet: complex_amplitude,
pub lenslet_mask: mask,
pub lenslet_src: source,
pub dispersion: f32,
pub N_LAMBDA: c_int,
pub N_GS: c_int,
pub pixel_scale: f32,
pub field_of_view: f32,
pub camera: imaging,
pub camera_array: *mut imaging,
pub nyquist_factor: f32,
pub BIN_IMAGE: c_int,
pub N_PX_LENSLET: c_int,
pub N_PX_LENSLET2: c_int,
pub N_PX: c_int,
pub N_PX2: c_int,
pub N_PX_IMAGE: c_int,
pub N_LENSLET: c_int,
pub N_LENSLET2: c_int,
pub FFT: imaging,
pub fft_src: source,
pub fft_phase: *mut f32,
pub fft_mask: mask,
pub D_px: c_int,
pub D_px2: c_int,
pub m2px: f32,
pub R: f32,
pub lambda0: f32,
pub spectral_bandwidth: f32,
}Fields§
§ri: f32§ro: f32§lenslet_height: f32§lenslet_size: f32§lenslet: complex_amplitude§lenslet_mask: mask§lenslet_src: source§dispersion: f32§N_LAMBDA: c_int§N_GS: c_int§pixel_scale: f32§field_of_view: f32§camera: imaging§camera_array: *mut imaging§nyquist_factor: f32§BIN_IMAGE: c_int§N_PX_LENSLET: c_int§N_PX_LENSLET2: c_int§N_PX: c_int§N_PX2: c_int§N_PX_IMAGE: c_int§N_LENSLET: c_int§N_LENSLET2: c_int§FFT: imaging§fft_src: source§fft_phase: *mut f32§fft_mask: mask§D_px: c_int§D_px2: c_int§m2px: f32§R: f32§lambda0: f32§spectral_bandwidth: f32Implementations§
Source§impl segmentPistonSensor
impl segmentPistonSensor
pub unsafe fn setup( &mut self, M1: *mut gmt_m1, src: *mut source, dispersion: f32, field_of_view: f32, _nyquist_factor_: f32, )
pub unsafe fn setup1( &mut self, M1: *mut gmt_m1, src: *mut source, dispersion: f32, field_of_view: f32, _nyquist_factor_: f32, _BIN_IMAGE_: c_int, )
pub unsafe fn setup2( &mut self, M1: *mut gmt_m1, src: *mut source, _lenslet_size_: f32, dispersion: f32, field_of_view: f32, _nyquist_factor_: f32, )
pub unsafe fn setup3( &mut self, M1: *mut gmt_m1, src: *mut source, _lenslet_size_: f32, dispersion: f32, field_of_view: f32, _nyquist_factor_: f32, _BIN_IMAGE_: c_int, )
pub unsafe fn setup_alt( &mut self, M1: *mut gmt_m1, src: *mut source, dispersion: f32, field_of_view: f32, _nyquist_factor_: f32, _BIN_IMAGE_: c_int, )
pub unsafe fn cleanup(&mut self)
pub unsafe fn cleanup_alt(&mut self)
pub unsafe fn propagate(&mut self, src: *mut source)
pub unsafe fn propagate1(&mut self, src: *mut source, middle_mask_width: f32)
pub unsafe fn propagate_alt(&mut self, src: *mut source)
pub unsafe fn readout( &mut self, exposureTime: f32, readoutNoiseRms: f32, nBackgroundPhoton: f32, )
pub unsafe fn fft(&mut self)
pub unsafe fn info(&mut self)
Trait Implementations§
Source§impl Clone for segmentPistonSensor
impl Clone for segmentPistonSensor
Source§fn clone(&self) -> segmentPistonSensor
fn clone(&self) -> segmentPistonSensor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for segmentPistonSensor
impl Debug for segmentPistonSensor
Source§impl Default for segmentPistonSensor
impl Default for segmentPistonSensor
impl Copy for segmentPistonSensor
impl Send for segmentPistonSensor
Auto Trait Implementations§
impl Freeze for segmentPistonSensor
impl RefUnwindSafe for segmentPistonSensor
impl !Sync for segmentPistonSensor
impl Unpin for segmentPistonSensor
impl UnwindSafe for segmentPistonSensor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more