readnod¶
- sofia_redux.instruments.hawc.steps.basehawc.readnod(step, nsamp, nod_tol, nodflag=True)[source]¶
Read nod state into high, low, or not used values.
- Parameters:
- stepStepParent
The calling pipe step, containing data loaded into step.praw.
- nsamp: int
The number of samples in the input data.
- nod_tolfloat
Nodding tolerance in arcseconds.
- nodflagbool, optional
If not set, it is assumed that no nodding was performed.
- Returns:
- array-like of int
The nod state for each sample. 1 indicates high state, -1 indicates low, 0 indicates not used.