pint.scripts.event_optimize

Functions

gaussian_profile(N, phase, fwhm)

Return a gaussian pulse profile with 'N' bins and an integrated 'flux' of 1 unit.

get_fit_keyvals(model[, phs, phserr])

Read the model to determine fitted keys and their values and errors from the par file

main([argv])

marginalize_over_phase(phases, template[, ...])

Find the best fit pulse profile

measure_phase(profile, template[, rotate_prof])

measure_phase(profile, template):

neg_prof_like(phs, *otherargs)

profile_likelihood(phs, *otherargs)

A single likelihood calc for matching phases to a template.

read_gaussfitfile(gaussfitfile, proflen)

Read a Gaussian-fit file as created by the output of pygaussfit.py.

run_sampler_autocorr(sampler, pos, nsteps, ...)

Runs the sampler and checks for chain convergence.

Classes

custom_timing(parfile)

emcee_fitter([toas, model, template, ...])