Vex

class ehtim.vex.Vex(filename)[source]

Read in observing schedule data from .vex files. Assumes there is only 1 MODE in vex file

filename

The .vex filename.

Type

str

source

The source name.

Type

str

metalist

The observation information.

Type

list

sched

The schedule information.

Type

list

array

an Array object of sites.

Type

Array

find_variable(vname, line)[source]

Function to find a variable ‘vname’ in a line.

get_SEFD(station)[source]

Find SEFD for a given station.

get_obs_timerange(source)[source]

Find the time that any station starts observing the source in MJD, and the time that the last station stops observing the source.

get_sector(sname)[source]

Obtain a desired sector from ‘metalist’.

get_variable(vname, line)[source]

Function to get a value of ‘vname’ in a line.

ehtim.vex.vexdate_to_MJD_hr(vexdate)[source]

Find the integer MJD and UT hour from vex format date.