Crates.io | ifu |
lib.rs | ifu |
version | 0.2.2 |
source | src |
created_at | 2023-07-13 15:43:37.169906 |
updated_at | 2023-07-14 19:37:38.79247 |
description | GMT MANIFEST IFU Model |
homepage | |
repository | https://github.com/rconan/eyepiece |
max_upload_size | |
id | 915461 |
size | 43,460 |
A simple model for GMT MANIFEST IFU. There are 3 possible types of IFU to choose from:
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.
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
To use the model, you need first to install Rust and then install the model with:
cargo install ifu
The model, with the default 7 hexagon IFU, is run with:
ifu
or run each IFU type with
ifu hex
ifu round
ifu slit
Check the model options with:
ifu --help
or check each IFU options with
ifu hex --help
ifu round --help
ifu slit --help