segmentPistonSensor

Struct segmentPistonSensor 

Source
#[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: f32

Implementations§

Source§

impl segmentPistonSensor

Source

pub unsafe fn setup( &mut self, M1: *mut gmt_m1, src: *mut source, dispersion: f32, field_of_view: f32, _nyquist_factor_: f32, )

Source

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, )

Source

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, )

Source

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, )

Source

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, )

Source

pub unsafe fn cleanup(&mut self)

Source

pub unsafe fn cleanup_alt(&mut self)

Source

pub unsafe fn propagate(&mut self, src: *mut source)

Source

pub unsafe fn propagate1(&mut self, src: *mut source, middle_mask_width: f32)

Source

pub unsafe fn propagate_alt(&mut self, src: *mut source)

Source

pub unsafe fn readout( &mut self, exposureTime: f32, readoutNoiseRms: f32, nBackgroundPhoton: f32, )

Source

pub unsafe fn fft(&mut self)

Source

pub unsafe fn info(&mut self)

Trait Implementations§

Source§

impl Clone for segmentPistonSensor

Source§

fn clone(&self) -> segmentPistonSensor

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for segmentPistonSensor

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for segmentPistonSensor

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for segmentPistonSensor

Source§

impl Send for segmentPistonSensor

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.