You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.1 KiB
55 lines
1.1 KiB
# auto-generated by grc.converter |
|
|
|
id: multirds_vector_cutter |
|
label: vector_cutter |
|
category: '[multirds]' |
|
|
|
parameters: |
|
- id: pad_out |
|
label: padded output |
|
dtype: enum |
|
default: 'False' |
|
options: ['True', 'False'] |
|
option_labels: ['Yes', 'No'] |
|
hide: part |
|
- id: zero_len |
|
label: num-zeros |
|
dtype: int |
|
default: '0' |
|
- id: insize |
|
label: insize |
|
dtype: int |
|
default: '2048' |
|
- id: outsize |
|
label: outsize |
|
dtype: int |
|
default: '1024' |
|
- id: cutpoint |
|
label: cutpoint |
|
dtype: int |
|
default: '512' |
|
|
|
inputs: |
|
- domain: stream |
|
dtype: complex |
|
vlen: ${ insize } |
|
|
|
outputs: |
|
- domain: stream |
|
dtype: complex |
|
vlen: ${ outsize } |
|
- label: out_padded |
|
domain: stream |
|
dtype: complex |
|
vlen: ${ insize } |
|
optional: true |
|
hide: ${ ('False' if pad_out == 'True' else 'True') } |
|
|
|
templates: |
|
imports: import multirds |
|
make: multirds.vector_cutter(${insize}, ${outsize}, ${cutpoint},${pad_out},${zero_len}) |
|
callbacks: |
|
- set_cutpoint(${cutpoint}); |
|
- set_zero_len(${zero_len}); |
|
|
|
file_format: 1
|
|
|