Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 1.61 KB

README.md

File metadata and controls

39 lines (33 loc) · 1.61 KB

Weakly-Supervised Anomaly Detection in the Milky Way 🌌

This is the companion code for https://arxiv.org/abs/2305.03761.

Quickstart

This package uses Python 3.8 and Keras 2.9.

Make sure you have conda installed on your system.

conda env create -n gaia -f requirements.yml # can also use requirements_mac.yml
conda activate gaia
python -m ipykernel install --user --name gaia --display-name "gaia"
jupyter lab

Then, navigate to one of the notebooks in the notebooks folder (making sure to specify gaia as your kernel).

Repository structure

python
├── functions.py # misc. functions, including plotting
├── models.py # define NN architecture 
├── run_mock_streams.py # apply CWoLa on 100 simulated streams
└── full_gd1_scan.py # apply CWoLa on all 21 patches covering the GD-1 stream
notebooks
├── example.ipynb # shows how to run CWoLa on a simulated stream and a real patch of GD-1
└── make_plots.ipynb # shows how to replicate each of the figures in the paper

Datasets

Further reading: