https://github.com/amberlee2427/gullsposteriors
Collects posterior distributions for Gulls simulation events
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.5%) to scientific vocabulary
Repository
Collects posterior distributions for Gulls simulation events
Basic Info
- Host: GitHub
- Owner: AmberLee2427
- License: mit
- Language: Jupyter Notebook
- Default Branch: no-LOM
- Size: 58.4 MB
Statistics
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
GullsPosteriors
This repository collects posterior distributions for microlensing events generated by the Gulls simulations. The code is organised into modular packages and a few run scripts that drive end‑to‑end fits.
Repository layout
- Data – routines for loading light‑curve data.
Data.load_dataenumerates the file columns and explains how magnitudes may be derived from the fluxes. - Event – represents an individual microlensing event. It links
ParallaxandOrbithelpers to compute magnification curves. - Fit – parameter inference tools. Sampling is provided by
emceeordynestywith convenience routines for plotting chains and corner diagrams. - Orbit – uses JPL Horizons to fetch observatory ephemerides.
- Parallax – converts observatory positions into north/east coordinates and provides parallax shifts.
- Scripts and notebooks – utilities such as
gulls_post_emcee_bound_w_pt.pyrun the full modelling workflow. Sample notebooks illustrate analyses.
Installing
Create and activate a conda environment using the packages listed in environment.yml:
```bash
Create the environment
conda env create -f environment.yml
Activate the environment
conda activate GullsPosteriors
Verify the installation
python -c "import emcee; import dynesty; import VBMicrolensing; print('Installation successful!')" ```
Key dependencies include Python 3.8, emcee, dynesty and the external
VBMicrolensing package.
Example usage
The gulls_post_emcee_bound_w_pt.py script accepts the number of events to
process and optional flags for sampler and threads, e.g.
bash
python gulls_post_emcee_bound_w_pt.py 1 -s emcee -t 4
Plots and posterior samples are saved in the working directory.
Learning more
- Examine
Data.new_eventandData.load_datato understand the light‑curve format. Event.projected_separationdescribes the source–lens geometry.Fitexposesrun_emceeandprior_transformfor controlling MCMC or nested sampling.- The included notebooks showcase references and diagnostic plots.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Owner
- Name: Amber
- Login: AmberLee2427
- Kind: user
- Location: New Zealand
- Repositories: 1
- Profile: https://github.com/AmberLee2427
GitHub Events
Total
- Watch event: 1
- Delete event: 24
- Push event: 92
- Public event: 1
- Pull request event: 73
- Create event: 35
Last Year
- Watch event: 1
- Delete event: 24
- Push event: 92
- Public event: 1
- Pull request event: 73
- Create event: 35
Dependencies
- astropy
- astroquery
- corner
- dynesty
- emcee
- matplotlib
- numpy
- pandas
- pip
- python 3.12.*
- scipy
- VBMicrolensing *
- astropy *
- astroquery *
- corner *
- dynesty *
- emcee *
- matplotlib *
- numpy *
- pandas *
- scipy *