benjaminpope / drpangloss

the best of all possible interferometry models
https://benjaminpope.github.io/drpangloss/
MIT License
2 stars 0 forks source link

OIData I/O #6

Open benjaminpope opened 6 months ago

benjaminpope commented 6 months ago

I think the current solution for data I/O, using ImPlaneIA, is very clunky.

It is probably best to just wrap the quite good AMICAL interface.

Then I want the OIData to recognize at init time whether it has

and appropriately define the likelihood function.

benjaminpope commented 4 months ago

We are now using pyoifits and OIData recognises this appropriately (PR #11), and this does the visibility and phase recognition as above.

A next feature is to make sure it correctly recognizes different formats of OIFITS data - @shashankdholakia has pointed out that we need to flatten CHARA data or do an outer product of baseline and wavelength to get the right dimensions for spectrally dispersed fringes.