aspsim.diagnostics.diagnosticscollection.SignalPowerSpectrum
- class aspsim.diagnostics.diagnosticscollection.SignalPowerSpectrum(sig_name, sim_info, save_range, num_channels, nperseg, sig_channels=slice(None, None, None), **kwargs)
Bases:
SummaryDiagnostic
Will output the wrong value if it is exported in the middle of the save_range
- __init__(sig_name, sim_info, save_range, num_channels, nperseg, sig_channels=slice(None, None, None), **kwargs)
Will output the wrong value if it is exported in the middle of the save_range
Methods
__init__
(sig_name, sim_info, save_range, ...)Will output the wrong value if it is exported in the middle of the save_range
get_output
()get_processed_output
(time_idx, preprocess)next_export
()next_save
()progress_export
()progress_save
(progress_until)save
(processor, sig, chunkInterval, globInterval)Attributes
export_functions
- get_processed_output(time_idx, preprocess)