traceset2xy

pydl.pydlutils.trace.traceset2xy(tset, xpos=None, ignore_jump=False)[source]

Convert from a trace set to an array of x,y positions.

Parameters:
tsetTraceSet

A TraceSet object.

xposarray-like, optional

If provided, evaluate the trace set at these positions. Otherwise the positions will be constructed from the trace set object iself.

ignore_jumpbool, optional

If True, ignore any jump information in the tset object

Returns:
tuple of array-like

The x, y positions.