Skip to main content

library to read Cadence PSF output

Project description

libpsf

=====================

An easy-to-use Python package for reading Cadence PSF data

Reads waveform, timeseries, AC-analysis, DC, and more kinds of data from proprietary binary Cadence-PSF file format used by Cadence(R) tools and primarily it's Spectre(R) simulator which produce output natively in this format.

Libpsf is easy to use:

import libpsf
myobj = libpsf.PSFDataSet( "/path/to/mypsffile.psf" )

and now, 'myobj' makes available the following methods:

myobj.close()
myobj.invertstruct
myobj.is_swept()

myobj.get_header_properties()
myobj.get_nsweeps()
myobj.get_signal()
myobj.get_signal_names()
myobj.get_signal_properties()
myobj.get_sweep_npoints()
myobj.get_sweep_param_names()
myobj.get_sweep_values()
notes:
  1. everything is returned as numpy.ndarray type
  2. in a transient simulation, time is treated as a "swept" variable:
  3. there are psf files for testing in examples/data/

I have spruced up a few things, linked against a newer Boost and adapted the python extension for use in python 2.7 and 3.4+ environments.

Original contributions by:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for libpsf, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size libpsf-0.1.3-cp27-cp27m-manylinux1_x86_64.whl (1.5 MB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size libpsf-0.1.3-cp27-cp27mu-manylinux1_x86_64.whl (1.5 MB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size libpsf-0.1.3-cp34-cp34m-manylinux1_x86_64.whl (1.5 MB) File type Wheel Python version cp34 Upload date Hashes View hashes
Filename, size libpsf-0.1.3-cp35-cp35m-manylinux1_x86_64.whl (1.5 MB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size libpsf-0.1.3-cp36-cp36m-manylinux1_x86_64.whl (1.5 MB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size libpsf-0.1.3-cp37-cp37m-manylinux1_x86_64.whl (1.5 MB) File type Wheel Python version cp37 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page