FlatTrace

class specreduce.tracing.FlatTrace(image: NDData, trace_pos: float)[source]

Bases: Trace, _ImageParser

Trace that is constant along the axis being traced.

Example:

trace = FlatTrace(image, trace_pos)
Parameters:
trace_posfloat

Position of the trace

Attributes Summary

image

trace_pos

Methods Summary

set_position(trace_pos)

Set the trace position within the image

Attributes Documentation

image: NDData = <dataclasses._MISSING_TYPE object>
trace_pos: float = <dataclasses._MISSING_TYPE object>

Methods Documentation

set_position(trace_pos)[source]

Set the trace position within the image

Parameters:
trace_posfloat

Position of the trace