Skip to main content

.

Project description

Andor SIF

This package has been merged with fujiisoup/sif_parser and will no longer be mainted.


Parse .sif files from an Andor spectrometer.

Install with python -m pip install andor-sif

Parser

The andor_sif.parse(<file>) method is used to parse a .sif file. This is the main function of this package.

CLI

Installs a command line interface (CLI) named andor_sif that can be used to convert .sif files to .csv.

Example

Library

import pandas as pd
import andor_sif as sif


# parse the 'my_pl.sif' file
(data, info) = sif.parse('my_pl.sif')

# place data into a pandas Series
df = pd.Series(data[:, 1], index = data[:, 0])

CLI

Convert all .sif files in the current directory to .csv.

andor_sif

Convert all .sif files ending in pl in the current directly into a single .csv.

andor_sif --join *pl.sif

Parsing .sif files

This package uses @fujiisoup/sif_reader to parse .sif files.

Project details


Download files

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

Source Distribution

andor_sif-0.0.1.post1.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

andor_sif-0.0.1.post1-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page