Skip to content

About

Contributed Ampel units from HU/DESY

Resources

Contributing

Stars

2 stars

Watchers

2 watching

Forks

Repository files navigation


AMPEL-HU-astro



Contributed Ampel units from HU/DESY group

Installing

  1. Install poetry.
  2. Configure poetry to create virtualenvs in the project: poetry config virtualenvs.in-project true. This makes it easier to work with IDEs like VSCode.
  3. git clone https://github.com/AmpelProject/Ampel-HU-astro.git; cd Ampel-HU-astro
  4. Check your virtualenv setup with poetry env info. The output should include:
    Virtualenv
    Python:         3.12.x
    
    If not, point poetry at an installation of Python >=3.12 with e.g. poetry env use python3.12 (assuming that python3.12 is in your PATH)
  5. poetry install -E "ztf sncosmo extcats" --with notebook
  6. cd notebooks
  7. poetry run jupyter notebook

This will allow a number of Demo / access / development notebooks to be run. Note that most of them requires an access token if data is to be retrieved.

Pitfalls

  • lightgbm expects to find OpenMP on your system. If you see an error message like OSError: libgomp.so.1: cannot open shared object file: No such file or directory, you will need to install OpenMP with e.g. brew install libomp (macOS) or apt-get install libgomp1 (Ubuntu).
  • to install with parsnip support, `poetry install -E "elasticc" --with notebook

Provided units

T0 units (alert filters):

  • LensedTransientFilter
  • PredetectionFilter: Filter derived from the DecentFilter.
  • RandFilter
  • RcfFilter: Filter for the ZTF Redshift Completeness Factor program..
  • RedshiftCatalogFilter: Filter derived from DecentFilter designed to only accept transients located close to a galaxy in a catalog, and within redshift bounds.
  • SimpleDecentFilter: General-purpose filter devloped alongside DecentFilter but without use of external catalogs.
  • StellarFilter: a.k.a. as the IndecentFilter, i.e. an inversion of the DecentFilter mainly used for finding extragalactic objects.
  • TimeDistributionFilter: Filter derived from the DecentFilter, in addition.
  • TransientInClusterFilter: Filter derived from the DecentFilter, in addition selecting candidates with position compatible with that of nearby galaxy clusters..
  • XShooterFilter: Filter derived from the DecentFilter, in addition selecting very new transients which are visible from the South.

T2 units (augment):

T3 units (react):

T4 units (control):

About

Contributed Ampel units from HU/DESY

Resources

Contributing

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages