/galah-li-DR4

Primary LanguagePythonMIT LicenseMIT

galah-li

analysing Li in GALAH

setup

  1. Change directories in config.py to the ones being used, then run config.py (to generate the data and fits folder), or you can put it in manually

  2. Download the GALAH DR# file into the info directory (make sure name matches in config.py). e.g. for DR3: cd data wget https://cloud.datacentral.org.au/teamdata/GALAH/public/GALAH_DR3/GALAH_DR3_main_allspec_v2.fits

  3. Run setup.sh: bash setup.sh

  4. Download and install https://github.com/ellawang44/astro_tools. If you already have astro_tools (my own repository) installed then you can skip this step. Might move all things over to the current repo in the future. Currently a bit messy though.

  5. check qsub_template setup, if you need PBS commands add them. run get_ids.py to generate a filled in version of the template. You can change the threshold in get_ids.py to control the splitting done. If you need to regen the qsub file since the keys are messed up, run get_ids.py

  6. run qsub

  7. allstars.py is the script using Breidablik converting EW to abundances. Creates a separate file containing stars with abundances.