aspsim.diagnostics.diagnosticsummary.SignalPowerRatioSummary
- class aspsim.diagnostics.diagnosticsummary.SignalPowerRatioSummary(numerator_name, denom_name, sim_info, block_size, save_range, numerator_channels=slice(None, None, None), denom_channels=slice(None, None, None), **kwargs)
Bases:
SummaryDiagnostic- save_at should be a tuple (start_sample, end_sample)
it will use the samples between start_samle (inclusive) and end_sample (exclusive)
- __init__(numerator_name, denom_name, sim_info, block_size, save_range, numerator_channels=slice(None, None, None), denom_channels=slice(None, None, None), **kwargs)
- save_at should be a tuple (start_sample, end_sample)
it will use the samples between start_samle (inclusive) and end_sample (exclusive)
Methods
__init__(numerator_name, denom_name, ...[, ...])save_at should be a tuple (start_sample, end_sample)
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)