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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file oimodeler-0.8.1.tar.gz.

File metadata

  • Download URL: oimodeler-0.8.1.tar.gz
  • Upload date:
  • Size: 67.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for oimodeler-0.8.1.tar.gz
Algorithm Hash digest
SHA256 833f305b2908e572ee495462a970a4742d5a2898765a4db173f1fdb4dbf1795d
MD5 f6c59fcc858add49dcd668afcbe4f497
BLAKE2b-256 9ae8284bb50261a91c3fb3aaa3459ec28c4b25dfc6295b931d0f7399ab6b4a3e

See more details on using hashes here.

File details

Details for the file oimodeler-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: oimodeler-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 73.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for oimodeler-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b92d9b8aa8c09f3463679dc13a3ea51e18676f1f268bf1f75e578022d56665c5
MD5 ccfe6e4290139c5bad5c62673764c2f1
BLAKE2b-256 d9be6009208de992c3e1ce7bec3f8ef718c751dd1376c69399a9ee3f3c0974a0

See more details on using hashes here.

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