ska_sdp_instrumental_calibration.data_managers.solution_interval module

class ska_sdp_instrumental_calibration.data_managers.solution_interval.SolutionIntervals(time, timeslice=None)[source]

Bases: object

A group of intervals over time data of visibility. The INST pipeline performs calibration of each interval individually.

Parameters:
  • time (np.ndarray) -- The numpy array containing time values of visibility

  • timeslice (float or "full", optional) -- Determines the width of each solution interval

property size

Returns number of solution intervals

Return type:

int

property solution_time

Returns time values for each solution interval

Return type:

np.ndarray

property indices

Returns list of slice objects corresponding to indices of each solution interval If converting to slice is not possible, it returns the indices

Return type:

list[slice | list[int]]

property intervals

Returns numpy array containing the width of each solution interval

Return type:

np.ndarray