Phase calculation (cphase)#

ptiming_ana.cphase Package#

Functions#

dl2time_totim(times[, name, obs])

Creates a .tim file from the arrival times and the observatory (by default the lst)

model_fromephem(times, ephem, model_name)

Creates a .par file using the parameters from the ephemeris associated with the arrival time range from TOAs

add_mjd(file_dataframe)

DL3_calphase(file, ephem, output_dir[, ...])

Function that reads the DL3 files, calculates the phases and create a new DL3 file.

DL2_calphase(dl2file, ephem[, obs, ...])

Calculates barycentered times and pulsar phases from the DL2 dile using ephemeris.

merge_dl2_pulsar(directory, run_number, ...)

fermi_calphase(file, ephem, output_dir[, ...])

Calculates barycentered times and pulsar phases from the DL2 dile using ephemeris.