https://github.com/astrolabsoftware/fink-tutorials
Tutorials and notebooks using Fink API
https://github.com/astrolabsoftware/fink-tutorials
api fink tutorial
Last synced: 2 months ago
JSON representation
Tutorials and notebooks using Fink API
- Host: GitHub
- URL: https://github.com/astrolabsoftware/fink-tutorials
- Owner: astrolabsoftware
- License: apache-2.0
- Created: 2021-03-17T09:38:47.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-08T20:35:22.000Z (about 1 year ago)
- Last Synced: 2024-05-07T18:22:33.432Z (about 1 year ago)
- Topics: api, fink, tutorial
- Language: Jupyter Notebook
- Homepage:
- Size: 604 MB
- Stars: 5
- Watchers: 7
- Forks: 4
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fink broker tutorials
[](https://colab.research.google.com/github/astrolabsoftware/fink-notebook-template/blob/main)
This repository contains materials (notebooks & presentation) to explore the [Fink broker](https://fink-broker.org) alert data. As of November 2024, Fink has processed more than 180 millions alerts from the ZTF public alert stream. Among these, you will find extragalatic sources (supernovae, AGN, ...), galactic sources (many classes of transients incl. variables stars from our galaxy or gravitational microlensing events, ...) and moving objects from our Solar System (asteroids, comets, and made-man objects like space-debris!). Some sources are already confirmed, many are candidates!
## Materials
The repository contains a number of notebooks focusing on the use of the Fink REST API. We shortly present different science cases:
- Extragalactic science: AGN & supernovae ([see notebook](extragalactic/extragalactic.ipynb))
- Galactic science: variable stars & microlensing ([see notebook](galactic/galactic.ipynb))
- Solar system science: asteroids, comets & space debris ([see notebook](sso/sso.ipynb))
- Solar system science: phase curves ([see notebook](sso/fink_sso_imcce.ipynb))
- Multi-messenger astronomy: searching for kilonovae ([see notebook](MMA/MMA.ipynb))
- Multi-messenger astronomy: correlating with gravitational waves sky maps ([see notebook](MMA/gravitational_waves.ipynb))
- Broker interfaces: presentation on the livestream service, the Science Portal and its API, and the Fink TOM module ([see the presentation](interfaces/README.md))These sciences are not exhaustive and we welcome new collaborations to expand them! In addition, there are notebooks focusing on other specific aspects:
- How to tune the output rate of a Fink filter? Example for the Early SN Ia candidate filter ([see notebook](extragalactic/tuning_snia_output_rate.ipynb))
You can try the notebooks using Google Colab (follow the link above). You can also clone the repo, and try it locally. Most notebooks will work with any Python verson higher than 3.5, except the one on [microlensing](galactic/galactic.ipynb) which requires Python < 3.12 due to dependencies. We advise to work on a virtual environment:
```
python -m venv myenv
source myenv/bin/activatepip install -r requirements.txt
# ... wait a bitjupyter-notebook
# play with notebooks
```We also provide a Singularity script to work in a contained environment (thanks @bregeon):
- Build with `singularity build --fakeroot fink.sif Singularity`
- Run with `singularity run fink.sif`
- Open the link in your browser (from the host)## How to contribute
How to contribute:
- Clone (or fork) this repo, and open a new branch.
- Create a new folder with a meaningful name (e.g. `supernovae`, `grb`, ...)
- Read and copy an existing notebook to get an idea of the structure of a tutorial.
- Once your notebook is finished, open a Pull Request such that we review the tutorial and merge it!