Exposure time calculator for APO/ARCES
Project description
Exposure time calculator for APO/ARCES
Calculate S/N and exposure times for stellar spectroscopy with the ARC Echelle Spectrograph (ARCES) on the ARC 3.5 m Telescope at Apache Point Observatory.
The ARC Echelle Spectroscopic (ARCES) Exposure Time Calculator, or arcesetc, is a simple exposure time calculator for the ARCES instrument on the Astrophysical Research Consortium (ARC) 3.5 m Telescope at Apache Point Observatory for stellar spectroscopy. Users can supply arcesetc functions with the spectral type of their target star, the V band magnitude, and either: the desired exposure time in order to determine the counts and signal-to-noise ratio as a function of wavelength; or the desired signal-to-noise ratio at a given wavelength to determine the required exposure time.
We estimate the count rates for stars as a function of wavelength by fitting 15th-order polynomials to each spectral order of real observations of a star of each spectral type. These polynomial coefficients and some wavelength metadata are stored in an HDF5 archive for compactness and easy of reconstruction. Then upon calling arcesetc, the archive is opened and the spectral order closest to the wavelength of interest is reconstructed from the polynomial coefficients, for a star of the closest available spectral type to the one requested.
Installation
You can install arcesetc with pip:
pip install arcesetc
You can install arcesetc from the source code by doing the following:
git clone https://github.com/bmorris3/arcesetc.git cd arcesetc pip install .
arcesetc requires python >=3.5, numpy, astropy, h5py, and matplotlib.
For more information, read the docs.
License
This project is Copyright (c) Brett Morris & Trevor Dorn-Wallenstein and licensed under the terms of the MIT license. This package is based upon the Astropy package template which is licensed under the BSD 3-clause licence. See the licenses folder for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file arcesetc-0.3.2.tar.gz
.
File metadata
- Download URL: arcesetc-0.3.2.tar.gz
- Upload date:
- Size: 3.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc817b4f3f0df763e323a983b6766631ead72fee0953a0d5df76673d936df91d |
|
MD5 | 282283bbd98d9207990289ae39bdf33b |
|
BLAKE2b-256 | 58394df3c807f1e1e8ed8a412e202684ae5d584aa900694e31fe4bccd8e86e61 |