Skip to content

Python class to interpret Princeton Instruments / Acton spe files

License

Notifications You must be signed in to change notification settings

VincentVandalon/PySpek

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PySpek

Python class to interpret Princeton Instruments / Acton SPE files. It basically allows to parse the binary spectrum files into your python data processing scripts.

PySpek can handle SPE files containing spectra or images, even if multiple spectra are contained in a single SPE file. The functionality for spectral, i.e. fully binning the chip perpendicular to the disperion direciton, has been tested extensively. The funcitonality for imaging is being developed and input is very welcome.

Installation

It is available from pypi, so just run:

pip install PySpek

Usage

Typical usage will look something like this:

spec1=PySpek(filName)
x,y=spec1.readSpec(perSecond=True)
spec1.close()

About

Python class to interpret Princeton Instruments / Acton spe files

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages