Interactive inspection and validation of 1D spectra.
Docker instructions for Mac OS X can be found here.
Clone package locally or download the zip file:
git clone https://github.com/d-i-an-a/inspec-z.git
cd inspec-z
Inspec-z requires: python
, pyyaml
, numpy
, astropy
, scipy
, and matplotlib
.
A conda environment is recommended. Either install the latest version of the required packages:
conda create --name inspec-z
conda activate inspec-z
conda install python pyyaml numpy astropy matplotlib scipy
or install the lastest tested version:
conda create --name inspec-z --file requirements.txt
An example configuration and data files are provided.
- Edit or create the
yaml
configuration file inconfig_files
folder.
- Set up the file paths and file names. To follow the example replace
/path/to/
with the path to the folder containing theinspec-z
code. - Change the selection of the sample to be inspected.
- Prepare catalog:
python prepare_catalog.py config_files/example.yaml
- Run main program:
python inspecz.py config_files/example.yaml
- Merge results with initial data file and get report:
python finalize.py config_files/example.yaml