Table Of Contents

Previous topic

pycrtools.tasks.galaxy

Next topic

pycrtools.tasks.imager

This Page

pycrtools.tasks.hypwavefront

HypWavefront([ws, parfile]) Obtain wavefront shape.
MaxNLocator(*args, **kwargs) Select no more than N intervals at nice locations.
Task([ws, parfile]) Base class from which all tasks should be derived.
brute(func, ranges[, args, Ns, full_output, ...]) Minimize a function over a given range by brute force.
fmin(func, x0[, args, xtol, ftol, maxiter, ...]) Minimize a function using the downhill simplex algorithm.
getShowerPlaneDistancesAndDelays(az, el, ...)
getStationListAndIndicesFromFlatArray(...)
hyperbolic_function(x, a)
hyperbolic_function_with_a_fixed(x, a)
leastsq(func, x0[, args, Dfun, full_output, ...]) Minimize the sum of squares of a set of equations.

Module documentation

Hyperbolic-Wavefront Task: produces the shape of the incoming wavefront, using pulse arrival times at each antenna. Stripped version of Wavefront Task; this version only calculates the best-fitting hyperbolic wavefront and az/el direction, given the eventID, arrival times, arrival time uncertainties, antenna positions, station names per antenna, and a shower core position (x and y) as input.

Module author: Arthur Corstanje <a.corstanje@astro.ru.nl>

class pycrtools.tasks.hypwavefront.HypWavefront(ws=None, parfile=None, **kwargs)

Obtain wavefront shape.

Input parameters

antenna_positions [default value: None ]
Antenna positions array in [Nx3] format (2D).
eventID [default value: None ]
Event ID, used to infer date to compare with common clock installation
fix_parameter_a_Lopes [default value: False ]
Fix curvature parameter a to 3 ns == 0.9 m, as in Lopes analysis.
plot_colormap [default value: “cubehelix” ]
Colormap for plots.
plot_prefix [default value: “” ]
Prefix for plots
plot_publishable [default value: True ]
Create publishable version of plots.
plot_title
Plot title, turn off for publication ready figures.
plot_type
Plot type (e.g. png, jpeg, pdf)
plotlist [default value: [] ]
List of plots
pulse_delay_uncertainties [default value: None ]
Pulse arrival time uncertainties per antenna.
pulse_delays [default value: None ]
Pulse arrival times per antenna.
save_plots [default value: False ]
Store plots
shower_core [default value: [ 0.  0.  0.] ]
Core estimate input (e.g. from LDF-fit or particle detector).
station_names [default value: None ]
List of station names.
verbose [default value: 0 ]
Verbosity level.

Output parameters

fitAzEl [default value: None ]
Output best-fitting direction az, el.
fitChi2 [default value: None ]
Fit chi-squared value (reduced)
fitParamErrors [default value: None ]
Output calculated fit parameter uncertainties.
fitParams [default value: None ]
Output calculated fit parameters.
wavefront_output [default value: None ]
Output dictionary for fit parameters.
run()

Run the task.