cbadc.synthesis.continuous_time_sigma_delta.ctsd2gamma
- cbadc.synthesis.continuous_time_sigma_delta.ctsd2gamma(ctsd_dict: Dict, T, dac_scale, local_control=True)[source]
Build Gamma and Gamma_tildeT matrices from a dictionary describing a continuous-time delta-sigma modulator. Keep the scaling from the CTSD. Choose between local and global control, and the number of quuantizer levels.
- Parameters
path (Dict) – Dictionary describing the continuous-time delta-sigma modulator. The dictionary is assumed to have the same format as the json files exported from www.sigma-delta.de . The coefficients are assumed to be normalized to the sampling frequency, and will be scaled according to the specified control period T.
T (float) – Desired control period, used for scaling the coefficients of the system.
local_control (Bool) – Whether or not to use local control. With local control, the scaling is kept for the Gamma matrix, but Gamma_tildeT is set to the identity matrix
Returns –
Gamma (numpy.ndarray, shape=(N, M)) – Control input matrix
Gamma_tildeT (numpy.ndarray, shape=(M_tilde, N)) – Control observation matrix
D_tilde (numpy.ndarray, shape=(1,1)) – signal observation matrix.