https://github.com/megbedell/harps_tools
some codes I use with HARPS data
https://github.com/megbedell/harps_tools
Last synced: about 1 month ago
JSON representation
some codes I use with HARPS data
- Host: GitHub
- URL: https://github.com/megbedell/harps_tools
- Owner: megbedell
- License: mit
- Created: 2016-12-06T20:50:57.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-07-13T14:45:57.000Z (about 5 years ago)
- Last Synced: 2025-06-04T10:12:36.612Z (4 months ago)
- Language: Python
- Size: 35.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# harps_tools
some codes I use with HARPS data.### about this repository
most of these codes date back to my phd and will be of limited value!
please don't judge me for the idl.### potentially useful tools
you might find the following scripts useful:- `unpack_eso.sh` : bash script to go from a directory full of ESO archive tarballs to all of those FITS files in a single, flat directory. just run it in the directory.
- `missing_wavelength_files.py` : from a directory of downloaded ESO data, generate a list of all the missing wavelength solution files. this is useful if you need to use the `e2ds` format spectra. once the missing file list has been generated, [https://github.com/andycasey/bedell-tours-eso](Andy Casey's download script) can help!
- `read_harps.py` : some python functions to load up data and read in various header keywords from HARPS data. in particular, the `read_headers()` function (example call in `__main__`), which scrapes a list of HARPS FITS files and generates a csv file with the RV timeseries and other useful ancillaries from their headers, might be useful.
- `calc_shk.py` : Calculates the Ca II H&K index (S_HK) from a spectrum.