This is a web application designed to showcase the photometry and astrometry of most of the models from the dev-branch of BAGLE. It is coded entirely in Python through the use of Panel.
This environment must use Python >= 3.10. We recommend creating a new conda or pip environment:
conda create -n bagle-webapp python=3.14 pip
conda activate bagle-webapp
The BAGLE_Microlensing repository and detailed installation instructions can be found here: BAGLE GitHub. Install modes supported include conda, pip, and github.
pip install git+https://github.com/MovingUniverseLab/BAGLE_Microlensing
The web app is raw source code and does not include an installer.
git clone https://github.com/MovingUniverseLab/BAGLE_WebApp.git
cd BAGLE_WebApp
conda install -n bagle-webapp --file requirements.txt
Open your terminal, navigate to your file's folder, and run the local development server:
panel serve app.py --dev
Open the provided local URL (usually http://localhost:5006/app) in your web browser.
While in the BAGLE_WebApp directory, the web application can be ran locally with
panel serve app.py