FilterPy

SCPI Commands :

[SOURce<HW>]:BB:OFDM:FILTer:CUTTrans
[SOURce<HW>]:BB:OFDM:FILTer:LENGth
[SOURce<HW>]:BB:OFDM:FILTer:ROLLoff
[SOURce<HW>]:BB:OFDM:FILTer:SBATtenuation
[SOURce<HW>]:BB:OFDM:FILTer:TYPE
[SOURce<HW>]:BB:OFDM:FILTer:UCATalog
[SOURce<HW>]:BB:OFDM:FILTer:ULENgth
[SOURce<HW>]:BB:OFDM:FILTer:USELection
[SOURce<HW>]:BB:OFDM:FILTer:WINDowing
Commands in total: 9
Subgroups: 0
Direct child commands: 9
get_cut_trans() bool[source]
# [SOURce<HW>]:BB:OFDM:FILTer:CUTTrans
value: bool = driver.source.bb.ofdm.filterPy.get_cut_trans()

Cuts the transient response of the filtering operation at the beginning and end of the signal.

Returns:

cut_trans_resp: 1 | ON | 0| OFF

get_length() int[source]
# [SOURce<HW>]:BB:OFDM:FILTer:LENGth
value: int = driver.source.bb.ofdm.filterPy.get_length()

Sets the filter length.

Returns:

filter_length: integer Range: 1 to 800

get_rolloff() float[source]
# [SOURce<HW>]:BB:OFDM:FILTer:ROLLoff
value: float = driver.source.bb.ofdm.filterPy.get_rolloff()

Sets the filter parameter.

Returns:

rolloff: float Range: 0 to 1

get_sb_attenuation() float[source]
# [SOURce<HW>]:BB:OFDM:FILTer:SBATtenuation
value: float = driver.source.bb.ofdm.filterPy.get_sb_attenuation()

Sets the attenuation in the filter stop band.

Returns:

stb_attenuation: float Range: 10 to 120

get_type_py() C5GfiltT[source]
# [SOURce<HW>]:BB:OFDM:FILTer:TYPE
value: enums.C5GfiltT = driver.source.bb.ofdm.filterPy.get_type_py()

Sets the baseband filter type.

Returns:

filter_type: RC | RRC | DIRichlet | RECT | DCH | STRunc | USER | PHYDyas | NONE

get_ucatalog() List[str][source]
# [SOURce<HW>]:BB:OFDM:FILTer:UCATalog
value: List[str] = driver.source.bb.ofdm.filterPy.get_ucatalog()

Queries the user filter files in the default directory. Only files with the file extension dat are listed.

get_ulength() int[source]
# [SOURce<HW>]:BB:OFDM:FILTer:ULENgth
value: int = driver.source.bb.ofdm.filterPy.get_ulength()

Queries the filter length.

Returns:

user_filter_len: integer Range: 1 to 800

get_uselection() str[source]
# [SOURce<HW>]:BB:OFDM:FILTer:USELection
value: str = driver.source.bb.ofdm.filterPy.get_uselection()

Loads the selected file from the default or the specified directory. Loaded are files with extension dat. Refer to ‘Accessing Files in the Default or Specified Directory’ for general information on file handling in the default and in a specific directory.

Returns:

user_sel: string Complete file path including file name and file extension

get_windowing() C5GfilterWind[source]
# [SOURce<HW>]:BB:OFDM:FILTer:WINDowing
value: enums.C5GfilterWind = driver.source.bb.ofdm.filterPy.get_windowing()

Sets the windowing method.

Returns:

windowing: NONE | HANNing | HAMMing

set_cut_trans(cut_trans_resp: bool) None[source]
# [SOURce<HW>]:BB:OFDM:FILTer:CUTTrans
driver.source.bb.ofdm.filterPy.set_cut_trans(cut_trans_resp = False)

Cuts the transient response of the filtering operation at the beginning and end of the signal.

Parameters:

cut_trans_resp – 1 | ON | 0| OFF

set_length(filter_length: int) None[source]
# [SOURce<HW>]:BB:OFDM:FILTer:LENGth
driver.source.bb.ofdm.filterPy.set_length(filter_length = 1)

Sets the filter length.

Parameters:

filter_length – integer Range: 1 to 800

set_rolloff(rolloff: float) None[source]
# [SOURce<HW>]:BB:OFDM:FILTer:ROLLoff
driver.source.bb.ofdm.filterPy.set_rolloff(rolloff = 1.0)

Sets the filter parameter.

Parameters:

rolloff – float Range: 0 to 1

set_sb_attenuation(stb_attenuation: float) None[source]
# [SOURce<HW>]:BB:OFDM:FILTer:SBATtenuation
driver.source.bb.ofdm.filterPy.set_sb_attenuation(stb_attenuation = 1.0)

Sets the attenuation in the filter stop band.

Parameters:

stb_attenuation – float Range: 10 to 120

set_type_py(filter_type: C5GfiltT) None[source]
# [SOURce<HW>]:BB:OFDM:FILTer:TYPE
driver.source.bb.ofdm.filterPy.set_type_py(filter_type = enums.C5GfiltT.DCH)

Sets the baseband filter type.

Parameters:

filter_type – RC | RRC | DIRichlet | RECT | DCH | STRunc | USER | PHYDyas | NONE

set_uselection(user_sel: str) None[source]
# [SOURce<HW>]:BB:OFDM:FILTer:USELection
driver.source.bb.ofdm.filterPy.set_uselection(user_sel = 'abc')

Loads the selected file from the default or the specified directory. Loaded are files with extension dat. Refer to ‘Accessing Files in the Default or Specified Directory’ for general information on file handling in the default and in a specific directory.

Parameters:

user_sel – string Complete file path including file name and file extension

set_windowing(windowing: C5GfilterWind) None[source]
# [SOURce<HW>]:BB:OFDM:FILTer:WINDowing
driver.source.bb.ofdm.filterPy.set_windowing(windowing = enums.C5GfilterWind.HAMMing)

Sets the windowing method.

Parameters:

windowing – NONE | HANNing | HAMMing