skrf.io.csv.read_pna_csv

skrf.io.csv.read_pna_csv(filename, *args, **kwargs)

Reads data from a csv file written by an Agilient PNA

Parameters :

filename : str

the file

*args, **kwargs : :

Returns :

header : str

The header string, which is the line following the ‘BEGIN’

comments : str

All lines that begin with a ‘!’

data : numpy.ndarray

An array containing the data. The meaning of which depends on the header.

See also

pna_csv_2_ntwks
Reads a csv file which contains s-parameter data

Examples

>>> header, comments, data = rf.read_pna_csv('myfile.csv')

Previous topic

skrf.io.touchstone.hfss_touchstone_2_media

Next topic

skrf.io.csv.pna_csv_2_ntwks

This Page