SampleTimes¶
- class qugradlab.pulses.sampling.SampleTimes(**kwargs)[source]¶
Bases:
objectAllows for easy generation of equally spaced sample times from a variety of input data
Attributes
The total time.
The time step.
The number of sample times between 0 and T.
An array of the sample times
Methods
Initialises an instance of SampleTimes.
- __init__(**kwargs)[source]¶
Initialises an instance of SampleTimes. Exactly two of the three optional keyword arguments must be passed.
- Parameters:
- Raises:
- property T: float¶
The total time. If updated, so is
dtwhilenumber_sample_pointsis kept constant.
- property dt: float¶
The time step. If updated, so is
Twhilenumber_sample_pointsis kept constant.