pub struct ReconstructionState {
pub object_spectrum: Array2<Complex64>,
pub object_real_space_cache: Option<Array2<Complex64>>,
pub pupil: Pupil,
pub illumination_corrections: Option<Vec<(f64, f64)>>,
pub frame_gains: Option<Vec<f64>>,
pub background: Option<Vec<f64>>,
pub algorithm_auxiliary: Option<AlgorithmAuxiliaryState>,
pub scratch: ReconstructionScratch,
/* private fields */
}Fields§
§object_spectrum: Array2<Complex64>§object_real_space_cache: Option<Array2<Complex64>>§pupil: Pupil§illumination_corrections: Option<Vec<(f64, f64)>>Per-source (row, column) corrections in Fourier-grid pixels.
frame_gains: Option<Vec<f64>>§background: Option<Vec<f64>>§algorithm_auxiliary: Option<AlgorithmAuxiliaryState>§scratch: ReconstructionScratchImplementations§
Source§impl ReconstructionState
impl ReconstructionState
pub fn effective_source_offset( &self, model: &ImagePlaneModel, source: usize, ) -> Result<FourierOffset>
pub fn initialize<M: MeasurementRead>( problem: &ReconstructionProblem<M>, ) -> Result<Self>
pub fn initialize_with_backend<M: MeasurementRead>( problem: &ReconstructionProblem<M>, backend: Arc<dyn Backend>, ) -> Result<Self>
pub fn from_object<M: MeasurementRead>( problem: &ReconstructionProblem<M>, object: Array2<Complex64>, ) -> Result<Self>
pub fn from_checkpoint<M: MeasurementRead>( problem: &ReconstructionProblem<M>, checkpoint: &ReconstructionCheckpoint, ) -> Result<Self>
pub fn from_checkpoint_with_backend<M: MeasurementRead>( problem: &ReconstructionProblem<M>, checkpoint: &ReconstructionCheckpoint, backend: Arc<dyn Backend>, ) -> Result<Self>
Trait Implementations§
Source§impl Clone for ReconstructionState
impl Clone for ReconstructionState
Source§fn clone(&self) -> ReconstructionState
fn clone(&self) -> ReconstructionState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ReconstructionState
impl !RefUnwindSafe for ReconstructionState
impl Send for ReconstructionState
impl Sync for ReconstructionState
impl Unpin for ReconstructionState
impl UnsafeUnpin for ReconstructionState
impl !UnwindSafe for ReconstructionState
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