Pyehtim

Documentation for Pyehtim.

Pyehtim.get_datatableMethod
get_datatable(obs)

Extracts the eht-imaging obs.data into a Julia table. Note this copies the data. For a non-copying version just access data the usual way

source
Pyehtim.get_fr_anglesMethod
get_fr_angles(obs)

Returns the feed rotation angles for a given observation as a set of tuples. The first tuple contains the elevation correction for site 1 and 2. The second tuple returns the parallactic angle correction for site 1 and 2

source
Pyehtim.load_uvfits_and_arrayFunction
load_uvfits_and_array(uvfile, arrayfile=nothing; kwargs...)

Load a uvfits file with eht-imaging and returns a eht-imaging Obsdata object. You can optionally pass an array file as well that will load additional information such at the telescopes field rotation information with the arrayfile. This is expected to be an eht-imaging produced array or antenna file.

source
Pyehtim.scan_averageMethod
scan_average(obs)

This homogenizes the scan times for an eht-imaging Obsdata object. This is needed because eht-imaging has a bug that will sometimes create very small scans and this can mess up both the closure construction and the gain scan times. Note that this is only a problem if we are fitting scan averaged data.

source