SimulationSpecSingleSineWave

class SimulationSpecSingleSineWave(method, t_span, t_eval, max_dt, signals, time_grid_jitter, periodic_time, t_span_projected_sorted, t_eval_projected_sorted, unsort_indices, cycle_indices)

Simulation metadata optimized for single sine wave method.

Attributes

cycle_indices

Integer index of the period each t_eval sample belongs to.

max_dt

Largest allowed time step when refining the integration grid.

method

Name of the integration backend (for example "basic" or "single_sine_wave").

periodic_time

Duration of one period of the driving tone (in microseconds).

signals

Signals (Signal or SignalSum) scheduled to drive the segment.

t_eval

Monotonic array of time samples where solver output is requested.

t_eval_projected_sorted

Sorted projection of t_eval into the first period.

t_span

Two-element array containing the start and end times (in microseconds).

t_span_projected_sorted

Start/end times of the base cycle used for single-period integration.

time_grid_jitter

Amplitude of random jitter applied per sub-interval (None disables jitter).

unsort_indices

Indices that restore the original t_eval ordering after projection.