/oimodeler

Tools to model optical Interferometry data

Primary LanguagePythonGNU General Public License v3.0GPL-3.0


License: GNU Lifecycle: Early Development

Oimodeler is a modular modelling tool for optical interferometry

Features

Modules:

  • oimModel : Create models with various components as bricks
  • oimComponent : component for building models
  • oimParam : Component parameters and parameters interpolators
  • oimData : Handle interferometric, spectroscopic and photometric data
  • oimDataFilter : Filtering and modifying data (wavlengths range cut, smoothing, removing flags...)
  • oimSimulator : Main class holding evertyhing together and producing final results :plots, tables...
  • oimFitter : Define and perform model-fitting
  • oimPlot : Plotting tools
  • oimUtils : Various utility for optical-interferometry

⚠️ Under Development ⚠️

The following modules have only been partially implemented

  • oimModel: Basic functionnalities for building model from all kind of components
  • oimComponent: Many basics Fourier-based components, possiblity to build radial profile and images based components, import of image at fits format and a few advanced components (kinematic disk, fast-rotator)
  • oimParam: Possibility to link parameters, normalize them and various interpolators in wavelength and time
  • oimData: Interferometric data and basic wrapper for photometric/spectroscopic data
  • oimDataFilter: Wavelength range cut and shift, data smoothing and binning, datatype selection, flagging based on criteria
  • oimSimulator: Simulated data and chi2 computation with filtering
  • oimFitter: Basic MCMC fitter based on emcee module.
  • oimPlot: Various plots for oifits data (see examples below)
  • oimUtils: Helpers for oifits format: retrieve baselines info, create new tables, manipulated data... )

Examples

For more examples see: https://oimodeler.readthedocs.io/en/latest/examples.html

Various example scripts are available in the examples directory.

This plot has been created with the createModelChromatic.py script:

boo

Here is the resulting plot from the oimodel_Create_simulator_data.py script. It plots data of a partly resolved binary created with:

  • the ASPRO software from JMMC (including realistic noise)
  • oimodeler using a shifted uniform disk + unresolved component

boo

Here is a plot showing a model consisting of a fast rotating star plus a uniform disk. Chromatic images of fast rotator are computed with an external function encapsulated into a oimodeler component. The uniform disk is a simple Fourier-based component. The code is in the createCustomComponentImageFastRotator.py

boo

Contact

Anthony Meilland