caf¶
-
class
caf_verilog.caf.CAF(reference, received, foas, ref_i_bits=12, ref_q_bits=0, rec_i_bits=12, rec_q_bits=0, fs=625000.0, n_bits=8, pipeline=True, output_dir='.')[source]¶
-
caf_verilog.caf.simple_caf(x, y, foas, fs)[source]¶ Produce values for a surface plot of the Complex Ambiguity Function. This function primarily supports testing values produced via sim_helper, so y is expected to be twice the length of x. The return is the CAF surface and a time delay range normalized by the sampling frequency.
Parameters: - x – Use x as a reference signal.
- y – Use y as a captured signal.
- foas – Frequency offsets, provided as a list/iterable object.
- fs – Sampling frequency
Returns: caf_res, dt