Gaia DR4 microlensing events
Wyrzykowski et al. (2026) in prep.
Prepared: 2026-11-13T15:25:48+01:00

CONTENTS
All events: 1360; measured mass estimates: 192; dark-lens candidates: 36.
index.html is the default linked all-events catalogue.
Each catalogue also has a *_standalone.html version with embedded images,
CSS and JavaScript. Data ZIP/CSV downloads remain separate local relative links.
The standalone pages are large because their scientific figures are embedded.
They can display their figures offline even if moved away from this folder;
downloads require the rest of the folder. No fonts, scripts or images use a CDN.

catalogues/: all-parameters CSVs for each sample, units, provenance, product
inventory and selection summaries. Import Gaia IDs as strings/exact int64.
data/events/GaiaDR4-ULENS-NNNN/: raw products, all-row selection exports, all
parameters, original model ECSV, images, README and checksummed manifest.
downloads/events/: one documented ZIP per event.
downloads/*_all_data.zip: whole-sample ZIPs, with event directories, sample CSV,
README, METHODS, metadata, inventory, provenance, and numerical model helpers.
assets/: website styles/scripts and losslessly converted diagnostic images.

DATASET
Gaia DR4 microlensing events: photometry, astrometry and BP/RP spectra.
Source inputs and hashes are recorded in catalogues/provenance.json.
All 1360 events have cached photometry, astrometry and epoch BP/RP spectra.
Mean BP/RP coefficients exist for 1358 events; missing cached products:
GaiaDR4-ULENS-1268 / 4042276640406381824
GaiaDR4-ULENS-1341 / 4043484905041029120
These are missing from the local cache, not confirmed archive non-detections.

SELECTION FLAGS
No statistical photometric clip was applied by the existing viewer. All rows
are retained in exports, with finite/invalid masks and flags for measurements
outside the former plot window. Astrometric transit clips are explicitly marked
in CSVs and SVGs; original per-CCD AGIS flags are preserved separately. See
METHODS.txt and each event README for the exact existing selection rules.

INSTALLATION
Copy this entire folder to any static web server; no database/build step needed.
Keep directory names/case unchanged. Use index.html as the directory index.
Use image/svg+xml for .svg, image/webp for .webp, text/csv for .csv,
application/zip for .zip. Enable HTTP compression for HTML/CSS/JS/SVG/CSV.
The HTML download attribute requests downloads; server Content-Disposition can
also be set for data/events and downloads. Large standalone files need large-file
hosting support; the linked pages are recommended for normal online browsing.

PUBLICATION MAINTENANCE
- Edit final_dr4_table/public_site_assets/publication.json in the source workspace
  to update the citation and arXiv/ADS URLs; rerun the builder with --force-events
  to propagate the citation into every HTML page, catalogue archive and event README.
- Preserve source queries and product checksums when updating the dataset.
- Notify archive helpdesk of any ADQL queries published in the paper (C9DRD-554),
  as requested by the archive. Sending that message requires user instruction.

APPROVED WEBSITE LAYOUT
All three samples use the Original plots / Interactive view format. Interactive
panels are stacked vertically with shared time zoom. The trajectory and G/BP/RP
overview appear only in Original plots; epoch spectra share the mean spectrum
section. Navigation order: All events, Measured masses, Dark-lens candidates.
Linked pages load an event's interactive point data when its Interactive view is
opened; these local script assets also work via file://. Standalone pages embed
all point data and figures. Keep the entire assets directory when installing.
After changing citation settings or rebuilding data with build_public_site.py,
run final_dr4_table/build_catalogue_views.py to regenerate the approved pages.
Use --html-only when prepared scientific figure/data assets can be reused.

PAPER AND ANALYSIS NOTEBOOKS
Paper PDF: downloads/GaiaDR4_Microlensing_Wyrzykowski_2026_paper.pdf
Notebook examples: https://github.com/wyrzykow/Gaia-DR4-microlensing-notebooks
Paper, arXiv/ADS and notebook URLs are configured in
final_dr4_table/public_site_assets/publication.json in the source workspace.
After editing those settings, run build_catalogue_views.py --html-only to
refresh all six viewer pages, index.html, documentation and citation.json.
