Skip to content

Convert .SPE files generated by PI(Princeton Instruments) WinViewer to FITS

License

Notifications You must be signed in to change notification settings

jerryjiahaha/spe2fits

Repository files navigation

spe2fits

Convert .SPE files generated by PI(Princeton Instruments) WinViewer to FITS

Dependency

Usage

  • python3 ./spe2fits.py <filename>.SPE. Then <filename>_x00c.FITS will be generated, 'c' in FITS name is corresponding to the number of SPE's frames.
  • python3 ./spe2fitsGUI.py. Then a GUI based on Tk will be started.

Tkinter GUI

It has three modes:

  • Select multiple files to convert
  • Select one directory, all .SPE files under this dir will be converted
  • Monitor one directory, and auto convert newly created .SPE

Package for Windows

Use cx_Freeze with setup.py under the directory. You need to put favicon.ico under the directory.

Related repo

About

Convert .SPE files generated by PI(Princeton Instruments) WinViewer to FITS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages