testN2kGen¶
-
class testN2kGen : public kotekan::Stage¶
Generate test N2k data as a standin for N2k.
- Buffers
out_bufBuffer to fill with unnormalized visibilitiesFormat: complex int32+32
Shape: [samples_per_data_set/sub_integration_ntime, num_local_freq, num_corr_blocks, 16, 16]
Metadata:
chordMetadatatime_downsample_fpga[] = sub_integration_ntime
out_counts_bufBuffer to fill with countsFormat: int32
Shape: [samples_per_data_set/sub_integration_ntime, num_local_freq, num_count_blocks, 8, 8]
Metadata:
chordMetadatatime_downsample_fpga[] = sub_integration_ntime
- Author
Geoffrey Ryan
- Param correlation_name:
String. quantity name for correlation in chordMetadata
- Param counts_name:
String. quantity name for counts in chordMetadata
- Param correlation_type:
String. “const”, “random”.
- Param counts_type:
String. “const”, “random”.
- Param correlation_value:
Pair of ints. Used when
correlation_typeis “const”.- Param correlation_values:
Vector of int pairs. Optional cycle for “const” correlation frames.
- Param counts_value:
Int. Used when
counts_typeis “const” or “const_scalar”.- Param counts_values:
Vector of ints. Optional cycle for “const” count frames.
- Param seed:
Int. Default 0. Seeds the deterministic RNG for “random” correlation and counts variants.
- Param dataset_id:
Hash string. Optional dataset id to set for CHIME * pipelines.
- Param first_frame_index:
Int. Default 0. Starting FPGA frame number, fro frames of size samples_per_data_set.
- Param samples_per_data_set:
Int. How often to produce data.
- Param num_frames:
Int. How many frames to produce. Default inf.
- Param num_freq_in_frame:
Int. Number of frequencies in each GPU frame.