output is the moving sum of the last N samples, scaled by the scale factor
Constructor Specific Documentation:
Create a moving average block.
Parameters: |
|
---|
declare_sample_delay(moving_average_cc_sptr self, unsigned int delay)
pc_input_buffers_full_avg(moving_average_cc_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(moving_average_cc_sptr self) -> pmt_vector_float
Get the scale factor being used.
Set the length.
Set both the length and the scale factor together.
Set the scale factor.
output is the moving sum of the last N samples, scaled by the scale factor
Constructor Specific Documentation:
Create a moving average block.
Parameters: |
|
---|
declare_sample_delay(moving_average_ff_sptr self, unsigned int delay)
pc_input_buffers_full_avg(moving_average_ff_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(moving_average_ff_sptr self) -> pmt_vector_float
Get the scale factor being used.
Set the length.
Set both the length and the scale factor together.
Set the scale factor.
output is the moving sum of the last N samples, scaled by the scale factor
Constructor Specific Documentation:
Create a moving average block.
Parameters: |
|
---|
declare_sample_delay(moving_average_ii_sptr self, unsigned int delay)
pc_input_buffers_full_avg(moving_average_ii_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(moving_average_ii_sptr self) -> pmt_vector_float
Get the scale factor being used.
Set the length.
Set both the length and the scale factor together.
Set the scale factor.
output is the moving sum of the last N samples, scaled by the scale factor
Constructor Specific Documentation:
Create a moving average block.
Parameters: |
|
---|
declare_sample_delay(moving_average_ss_sptr self, unsigned int delay)
pc_input_buffers_full_avg(moving_average_ss_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(moving_average_ss_sptr self) -> pmt_vector_float
Get the scale factor being used.
Set the length.
Set both the length and the scale factor together.
Set the scale factor.
output = input or zero if muted.
Constructor Specific Documentation:
Parameters: | mute – |
---|
declare_sample_delay(mute_cc_sptr self, unsigned int delay)
pc_input_buffers_full_avg(mute_cc_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(mute_cc_sptr self) -> pmt_vector_float
output = input or zero if muted.
Constructor Specific Documentation:
Parameters: | mute – |
---|
declare_sample_delay(mute_ff_sptr self, unsigned int delay)
pc_input_buffers_full_avg(mute_ff_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(mute_ff_sptr self) -> pmt_vector_float
output = input or zero if muted.
Constructor Specific Documentation:
Parameters: | mute – |
---|
declare_sample_delay(mute_ii_sptr self, unsigned int delay)
pc_input_buffers_full_avg(mute_ii_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(mute_ii_sptr self) -> pmt_vector_float
output = input or zero if muted.
Constructor Specific Documentation:
Parameters: | mute – |
---|
declare_sample_delay(mute_ss_sptr self, unsigned int delay)
pc_input_buffers_full_avg(mute_ss_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(mute_ss_sptr self) -> pmt_vector_float
sample and hold circuit
Samples the data stream (input stream 0) and holds the value if the control signal is 1 (intput stream 1).
Constructor Specific Documentation:
declare_sample_delay(sample_and_hold_bb_sptr self, unsigned int delay)
pc_input_buffers_full_avg(sample_and_hold_bb_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(sample_and_hold_bb_sptr self) -> pmt_vector_float
sample and hold circuit
Samples the data stream (input stream 0) and holds the value if the control signal is 1 (intput stream 1).
Constructor Specific Documentation:
declare_sample_delay(sample_and_hold_ff_sptr self, unsigned int delay)
pc_input_buffers_full_avg(sample_and_hold_ff_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(sample_and_hold_ff_sptr self) -> pmt_vector_float
sample and hold circuit
Samples the data stream (input stream 0) and holds the value if the control signal is 1 (intput stream 1).
Constructor Specific Documentation:
declare_sample_delay(sample_and_hold_ii_sptr self, unsigned int delay)
pc_input_buffers_full_avg(sample_and_hold_ii_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(sample_and_hold_ii_sptr self) -> pmt_vector_float
sample and hold circuit
Samples the data stream (input stream 0) and holds the value if the control signal is 1 (intput stream 1).
Constructor Specific Documentation:
declare_sample_delay(sample_and_hold_ss_sptr self, unsigned int delay)
pc_input_buffers_full_avg(sample_and_hold_ss_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(sample_and_hold_ss_sptr self) -> pmt_vector_float
Output a 1 or zero based on a threshold value.
Test the incoming signal against a threshold. If the signal excedes the value, it will output a 1 until the signal falls below the value.
Constructor Specific Documentation:
Parameters: |
|
---|
declare_sample_delay(threshold_ff_sptr self, unsigned int delay)
pc_input_buffers_full_avg(threshold_ff_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(threshold_ff_sptr self) -> pmt_vector_float