MPI Simulations and stuff
This commit is contained in:
@@ -5,26 +5,22 @@ classdef M8196A < AWG
|
||||
|
||||
methods
|
||||
|
||||
function obj = M8196A()
|
||||
function obj = M8196A(options)
|
||||
%This is a ready to use AWG simulation that resembles the
|
||||
%properties of the Keysighe M8196A % M8196A (92GBd) https://www.keysight.com/us/en/product/M8196A/92-gsa-s-arbitrary-waveform-generators.html
|
||||
arguments
|
||||
%options.bla = 1;
|
||||
options.kover = 8;
|
||||
end
|
||||
|
||||
obj = obj@AWG();
|
||||
obj.dac_max = 0.5;
|
||||
obj.dac_min = -.5;
|
||||
obj.bit_resolution = 5.5;
|
||||
dac_max = 0.4;
|
||||
dac_min = -0.4;
|
||||
|
||||
obj.fdac = 92e9;
|
||||
|
||||
obj.lpf_active = 1;
|
||||
|
||||
obj.f_cutoff = 32e9;
|
||||
obj.lpf_type = filtertypes.gaussian;
|
||||
obj.H_lpf = Filter('filtdegree',5,"f_cutoff",obj.f_cutoff,"fsamp",obj.kover*obj.fdac,"filterType",obj.lpf_type);
|
||||
fdac = 92e9;
|
||||
|
||||
Lp_awg = Filter('filtdegree',4,"f_cutoff",32e9,"fs",fdac*options.kover,"filterType",filtertypes.butterworth,"active",true);
|
||||
|
||||
obj = obj@AWG("fdac",fdac,"dac_min",dac_min,"dac_max",dac_max,"lpf_active",1,"H_lpf",Lp_awg,"kover",options.kover,...
|
||||
"bit_resolution",5.5,"normalize2dac",1,"upsampling_method","samplehold");
|
||||
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user