OITOOLS

GitHub Status Build

OITOOLS is a Julia package for optical interferometry, developed by Prof. Fabien Baron (Georgia State University) and collaborators. It covers:

  • Reading OIFITS v1/v2 files: quality filtering, spectral and temporal binning, OI_CORR, checking and repairing files, writing OIFITS v2
  • Plotting uv coverage and observables, with matplotlib or Makie
  • Model fitting with NLopt, Levenberg–Marquardt, nested sampling (Nautilus, UltraNest), ensemble slice sampling and parallel tempering (Pigeons); companion search, orbits, block bootstrap
  • Image reconstruction by gradient descent (VMLMB), maximum entropy (BSMEM), BSDMM and MCMC (SQUEEZE), including polychromatic, time-variable and SPARCO modes
  • Simulating OIFITS datasets from images or models, with a noise model matched to ASPRO
  • Observation planning: observability, delay lines, POP selection
  • A graphical interface covering all of the above (The GUI)

Source code: github.com/fabienbaron/OITOOLS.jl

Forward model pipeline

Images and parametric models have the same functions:

OperationImage domainModel domain
→ complex visibilitiesimage_to_vis(x, ft)model_to_vis(model, x, uv)
→ observablesimage_to_obs(x, ft, data)model_to_obs(model, x, data)
→ residualsimage_to_residuals(x, ft, data)model_to_residuals(model, x, data)
→ chi²image_to_chi2(x, ft, data)model_to_chi2(model, x, data)
→ chi² + gradientimage_to_chi2_fg(x, g, ft, data)model_to_chi2_fg(model, x, data)
Note

OITOOLS is under active development. Contributions to the code, documentation, and demos are welcome.