Fourier Analysis Configuration¶
- genalyzer.fa_analysis_band(test_key, center, width)¶
Configure analysis band
- Args:
test_key
(str
) : Test key (key to a Fourier Analysis object)center
(float
) : Analysis band center (Hz)width
(float
) : Analysis band width (Hz)
- genalyzer.fa_clk(test_key, x, as_noise=False)¶
Treat clock components as noise
- Args:
test_key
(str
) : Test key (key to a Fourier Analysis object)x
(list
) : Array of clock divisorsas_noise
(bool
) : If true, CLK components will be treated as noise
- genalyzer.fa_conv_offset(test_key, enable)¶
Enable converter offset
- Args:
test_key
(str
) : Test key (key to a Fourier Analysis object)enable
(bool
) : If true, enable converter offset
- genalyzer.fa_create(test_key)¶
Create
fourier_analysis
object- Args:
test_key
(str
) : Test key (key to a Fourier Analysis object)
- genalyzer.fa_dc(test_key, as_dist)¶
Treat DC as distortion
- Args:
test_key
(str
) : Test key (key to a Fourier Analysis object)as_dist
(bool
) : If true, treat DC as distortion
- genalyzer.fa_fdata(test_key, f)¶
Configure fdata
- Args:
test_key
(str
) : Test key (key to a Fourier Analysis object)f
(float
) : fdata
- genalyzer.fa_fixed_tone(test_key, comp_key, tag, freq, ssb=-1)¶
Configure fixed tone
- Args:
test_key
(str
) : Test key (key to a Fourier Analysis object)comp_key
(str
) : Component keytag
(FACompTag
) : Component tagfreq
(float
) : Frequency (Hz)ssb
(int
) : Single side bin
- genalyzer.fa_fsample(test_key, f)¶
Configure fsample
- Args:
test_key
(str
) : Test key (key to a Fourier Analysis object)f
(float
) : fsample
- genalyzer.fa_fshift(test_key, f)¶
Configure fshift
- Args:
test_key
(str
) : Test key (key to a Fourier Analysis object)f
(float
) : fshift
- genalyzer.fa_fund_images(test_key, enable)¶
Enable fundamental images
- Args:
test_key
(str
) : Test key (key to a Fourier Analysis object)enable
(bool
) : If true, enable fundamental images
- genalyzer.fa_hd(test_key, n)¶
Configure maximum harmonic order
- Args:
test_key
(str
) : Test key (key to a Fourier Analysis object)n
(int
) : Order of harmonic distortion, i.e., the maximum harmonic
- genalyzer.fa_ilv(test_key, x, as_noise=False)¶
Configure interleaving factors
- Args:
test_key
(str
) : Test key (key to a Fourier Analysis object)x
(list
) : Array of interleaving factorsas_noise
(bool
) : If true, interleaving factors will be treated as noise
- genalyzer.fa_imd(test_key, n)¶
Configure maximum intermodulation order
- Args:
test_key
(str
) : Test key (key to a Fourier Analysis object)n
(int
) : Order of intermodulation distortion
- genalyzer.fa_load(filename, test_key='')¶
Load object-key from file
- Args:
filename
(str
) : File nametest_key
(str
) : Test key (key to a Fourier Analysis object)
- genalyzer.fa_max_tone(test_key, comp_key, tag, ssb=-1)¶
Configure component-key to select peak tone
- Args:
test_key
(str
) : Test key (key to a Fourier Analysis object)comp_key
(str
) : Component keytag
(FACompTag
) : Tagssb
(int
) : Number of single-side bins
- genalyzer.fa_preview(test_key, cplx=False)¶
Preview
fourier_analysis
object- Args:
test_key
(str
) : Test key (key to a Fourier Analysis object)cplx
(bool
) : If true, preview will include complex components
- genalyzer.fa_quad_errors(test_key, enable)¶
Enable quadrature errors
- Args:
test_key
(str
) : Test key (key to a Fourier Analysis object)enable
(bool
) : If true, enable quadrature errors
- genalyzer.fa_remove_comp(test_key, comp_key)¶
Remove component
- Args:
test_key
(str
) : Test key (key to a Fourier Analysis object)comp_key
(str
) : Component key
- genalyzer.fa_reset(test_key)¶
Reset object
- Args:
test_key
(str
) : Test key (key to a Fourier Analysis object)
- genalyzer.fa_ssb(test_key, group, n)¶
Configure number of single-sideband bins
- Args:
test_key
(str
) : Test key (key to a Fourier Analysis object)group
(FASsb
) : SSB Groupn
(int
) : Number of single-sideband bins
- genalyzer.fa_ssb_dc(test_key, n)¶
Configure number of single-sideband bins for DC
Args:
test_key
(str
) : Test key (key to a Fourier Analysis object)n
(int
) : Number of single-sideband bins
- genalyzer.fa_ssb_def(test_key, n)¶
Configure default number of single-sideband bins for auto-generated components
Args:
test_key
(str
) : Test key (key to a Fourier Analysis object)n
(int
) : Number of single-sideband bins
- genalyzer.fa_ssb_wo(test_key, n)¶
Configure number of single-sideband bins for WO component
Args:
test_key
(str
) : Test key (key to a Fourier Analysis object)n
(int
) : Number of single-sideband bins
- genalyzer.fa_var(test_key, name, value)¶
Set value of variable in object
Args:
test_key
(str
) : Test key (key to a Fourier Analysis object)name
(str
) : Variable namevalue
(float
) : Variable value
- genalyzer.fa_wo(test_key, n)¶
Configure number of WO components
Args:
test_key
(str
) : Test key (key to a Fourier Analysis object)n
(int
) : Number of worst others