Skip to main content

SPC-Export: SPC Data Conversion for Human and Python Readability

SPC-Export is a Python-based tool designed to facilitate the conversion of SPC files from Raman measurements into a format that is both human- and Python-readable. This streamlined conversion ensures easy access, readability, and visualization of measurement data for further analysis and interpretation.

SPC-Export was developed to streamline the analysis and sharing of SPC measurement data, making it accessible for scientists and engineers.

Feel free to contribute improvements or report issues to enhance this tool for the Raman community!


ZIP File Contents:

  1. Metadata File:

    • metadata.xml: A detailed XML file containing all header data.
    • The data is condensed and presented in an easily readable, descriptive format.
  2. Measurement Data:

    • Each measurement is saved as a tab-separated CSV file with a header line.
    • CSV filenames are derived from the measurement descriptions.

Benefits

  • Human-Readable:
    The condensed XML metadata and descriptive filenames ensure clarity for manual review.

  • Machine-Friendly:
    The CSV format enables seamless integration with Python and other data processing workflows.

  • Organized Output:
    The ZIP file structure ensures all related data is packaged together for easy sharing and storage.


Applications

  • Post-experiment analysis of SPC measurements.
  • Integration into automated workflows for advanced data analysis.

Installation and Usage

  1. Instalation:

    • Python >= 3.1
    • pip >= 22.0.2
    • pip install spc-export
  2. Run the Script:

    spc-export --help
    
     usage: xps-export.py [-h] [--create-plots] [--create-csv]
                          input_file output_file
     
     Utility for parsing files to XML.
     
     positional arguments:
       input_file      Path to the XPS file.
     
     options:
       -h, --help      show this help message and exit
       
    spc-export test/SGL_reduced.spc
    
  3. Output:
    The ZIP file containing metadata, CSVs will be saved as {output_file}.zip .

Developers and Designers

Richard W. van Nieuwenhoven nieuwenhoven@iap.tuwien.ac.at Markus Valtiner markus.valtiner@tuwien.ac.at

Metadata

Release files for spc-export 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for spc-export 1.0.1
File Interpreter ABI Platform Actions
spc_export-1.0.1-py3-none-any.whl Python 3 none any Details for spc_export-1.0.1-py3-none-any.whl

Release files / spc_export-1.0.1-py3-none-any.whl

Download URL spc_export-1.0.1-py3-none-any.whl
Size 14.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
923e41a846ad3d0870d7fd8df7fbd4d0e4006c78d38ce3f6f2b339d0494de88e
BLAKE2b-256 checksum
How to use checksums
efb4965e01afbe2baf23d507f9f07c0363b9dd7e9e8ba95d7b2514d613cf3fee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Security for spc-export 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page