prep is a recommendation pipeline for new Type Ia Supernovae and was made to recommend potential triggers for the HST Dust project. It's data sources includes ANTARES, ALeRCE, and YSE. It has the ability to organize observations, perform as SALT3 fit and submit the information to a Slack channel or generate a csv file. This pipeline is currently in development.
You will need an auth.py file to access YSE-PZ and to post to Slack using their API. It should have the path ./prep/prep/auth.py and should have the format,
login = 'YOUR YSE-PZ LOGIN'
password = 'YOUR YSE-PZ PASSWORD'
toku = 'SLACK BOT/USER TOKEN'You don't need the YSE-PZ credentials if you are just calling observations from ANTARES or ALeRCE. You can bypass this by setting login and password to None or ''.
To install prep just clone this repository and run the following command in the root directory,
python setup.py develop --no-depsNote: Please run this command with develop since this is an ongoing project and will be updated frequently.
To install required dependencies you can run in a terminal,
pip install -r requirements.txtNote: Some packages may have their own dependencies that are not included in requirements.txt.