4 releases
0.2.2 | Jul 14, 2023 |
---|---|
0.2.1 |
|
0.2.0 | Jul 13, 2023 |
0.1.1 | Jul 13, 2023 |
0.1.0 | Jul 13, 2023 |
#7 in #hexagon
7MB
3.5K
SLoC
MANIFEST IFU
A simple model for GMT MANIFEST IFU. There are 3 possible types of IFU to choose from:
- a 7 hexagons IFU,
- a round IFU,
- a slit IFU.
The model computes the seeing image and write it to field.png
and for the chosen IFU,
it masks the image, write it to <hex|round|slit>_ifu_field.png
and print the IFU throughput.
Usage
The throughput of a circular IFU of diameter 0.5arcsec for r0=20cm , 50degree of zenith at 800nm is found with:
ifu --r0 20 -z 50 -b I round -d 0.5
Replacing the round IFU with a slit the same size:
ifu --r0 20 -z 50 -b I slit -w 0.5
or with the 7 hexagons IFU
ifu --r0 20 -z 50 -b I hex -w 0.5
Installing
To use the model, you need first to install Rust and then install the model with:
cargo install ifu
Running
The model, with the default 7 hexagon IFU, is run with:
ifu
or run each IFU type with
- 7 hexagons IFU
ifu hex
- round IFU
ifu round
- slit IFU
ifu slit
Check the model options with:
ifu --help
or check each IFU options with
- 7 hexagons IFU
ifu hex --help
- round IFU
ifu round --help
- slit IFU
ifu slit --help
Dependencies
~15–24MB
~311K SLoC