Skip to main content

Optical interferometry modelling tool

Project description


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

:warning: Under Development :warning:

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oimodeler-0.8.1.tar.gz (67.9 kB view hashes)

Uploaded Source

Built Distribution

oimodeler-0.8.1-py3-none-any.whl (73.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page