Crate eyepiece

Crate eyepiece 

Source
Expand description

§Eyepiece

A crate to generate star fields as seen with different telescopes.

§Example

A single star in the center of a 21x21 pixels field as seen by the Hubble Space Telescope with a pixel scale at half Nyquist (i.e. (λ/2D)/2) in V band

use eyepiece::{Builder, Hst, Field, FieldBuilder, PixelScale, Star};

let hst = Hst::new();
let mut field: Field<Hst> = FieldBuilder::new(hst)
    .pixel_scale(PixelScale::NyquistFraction(2))
    .field_of_view(21)
    .build();

The field intensity map is computed and saved with

field.save("field.png", Default::default()).unwrap();

More examples can be found here

Structs§

Field
Observer field of regard
FieldBuilder
Field builder
FieldImage
Gmt
Giant Magellan Telescope
Hexagon
Hexagonal pupil
Hst
Hubble Space Telescope
Jwst
James Webb Telescope
Objects
A collection of stars
Observing
Observing configurations
PhotometricBands
Astronomical photometric bands
PolychromaticField
Polychromatic field container
SaveOptions
Field Field::save options
SeeingBuilder
Atmospheric seeing builder
SeeingLimitedField
Seeing limited fields container
Star
A star object
Telescope
Generic circular telescope
TelescopeBuilder
Generic Telescope builder
ZpDft
Zero-Padded Discrete Fourier Transform

Enums§

AdaptiveOptics
Adaptive optics observing mode
DiffractionLimited
Diffraction limited observing mode
FieldOfView
Field-of-view possible representations …
MagnitudeDistribution
Star magnitude distribution
Photometry
Star photometry
PixelScale
Pixel scale possible representations …
Saturation
Intensity saturation setting
SeeingLimited
Seeing limited observing mode
StarDistribution
Spatial distribution of stars

Traits§

Builder
FieldBuilder to Field interface
DiffractionModes
Trait limiting the observing modes to the seeing limited modes (including Adaptive Optics)
Intensity
Observer
Methods common to all telescopes
ObservingModes
Trait defining the observing modes
SeeingModes
Trait limiting the observing modes to the seeing limited modes (including Adaptive Optics)