.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file andor_sif-0.0.1.post1.tar.gz
.
File metadata
- Download URL: andor_sif-0.0.1.post1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a95b0943bbde8e7005959a6740d51a4742da97dfdfef37f3094e7e5366d92120 |
|
MD5 | f30d1df7dba6d791e6d2dc50def387a4 |
|
BLAKE2b-256 | 1d7c666b4b1582440a377f8a4fdd1b9eca743f5de3f1e044122357cb0c2d2061 |
File details
Details for the file andor_sif-0.0.1.post1-py3-none-any.whl
.
File metadata
- Download URL: andor_sif-0.0.1.post1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d3ae6168568656b39b7020fbb7895f4895e08f15ac4cadcb9a848b575b482d6 |
|
MD5 | 1d6689e631b5f5883b902d70e925bb53 |
|
BLAKE2b-256 | a890b254b9c9e7394013a419cffe7d67a3d311cd0e46cc053080c4d26b22b364 |