FLEX - Fulu Library EXamples - is a website visualizing light curves of astronomical transients (SN, TDE etc.) and Active Galactic Nucleas (AGN)
Fulu part uses approximation neural network models from Fulu library: https://github.com/HSE-LAMBDA/fulu
Light curves for Fulu from Zwicky Transient Facility (ZTF) data release Light curves for Valc from ZTF Forced Photometry service and Asteroid Terrestrial-impact Last Alert System Forced Photometry service (ATLAS)
- Install Docker and Docker Compose
- Run in terminal
docker-compose up -d. If you need to restart just one container, rundocker-compose build flex_frontend && sudo docker-compose up -d flex_frontend - Replace
HOSTin frontend/fulu.html and frontend/valc.html with'http://localhost:7001/api'. IMPORTANT: don't forget to return it back to PROD value! - Open frontend/index.html in browser (preferably Firefox). You may need to disable CORS. To do this, install adn enable CORS Everywhere Firefox extension
- Now you need to upload data to your local setup. Simply replace host in upload script to
http://localhost:7001