Skip to main content

Crate gmt_dos_systems_agws

Crate gmt_dos_systems_agws 

Source
Expand description

§GMT AGWS Integrated Model

A gmt_dos-actors system that models the optical paths from the AGWS guide stars through the GMT to the Shack-Hartmann wavefront sensors (WFS) 48x48 and 24x24. The model includes kernels that compute the WFS centroids from the frames of the cameras, transform the centroids in commmands for M1 and M2 segments and apply temporal filters to the commands.

§Examples

  1. Building an optical model for the 3 AGWS 48x48 Shack-Hartmann wavefront sensors:
use gmt_dos_clients_crseo::{
    OpticalModelBuilder,
    sensors::builders::CameraBuilder,
    calibration::Reconstructor};
use gmt_dos_systems_agws::builder::shack_hartmann::ShackHartmannBuilder;

let sh48 = ShackHartmannBuilder::<Reconstructor>::sh48().use_calibration_src();
let omb = OpticalModelBuilder::<CameraBuilder>::from(&sh48);
println!("{}", omb.clone().build()?);
  1. Building an optical model for the AGWS 24x24 Shack-Hartmann wavefront sensor:
use gmt_dos_clients_crseo::{
    OpticalModelBuilder,
    sensors::builders::CameraBuilder,
    calibration::Reconstructor};
use gmt_dos_systems_agws::builder::shack_hartmann::ShackHartmannBuilder;

let sh24 = ShackHartmannBuilder::<Reconstructor>::sh24().use_calibration_src();
let omb = OpticalModelBuilder::<CameraBuilder>::from(&sh24);
println!("{}", omb.clone().build()?);
  1. Building the default AGWS systems: one 24x24 and three 48x48 SH WFSs
use gmt_dos_systems_agws::Agws;

let agws = Agws::<5000,5>::builder().build()?;

Modules§

agws
AGWS model
builder
kernels

Structs§

Agws
GMT AGWS model
AgwsBuilder
Agws builder