Skip to main content

Thermo/Finnigan .raw file format reader

Project description

## RawPrassLib

RawPrassLib provides Finnigan .raw file format decoder intended for loading Thermo/Finnigan spectra into python code.

The project is in experimental state so please verify that it gives meaningful outputs in your case before reyling on it. The number of supported machines is very low at this time. If you would like to get your machine supported, please send me some sample spectrum/spectra. I do not guarantee that I will have free time to look at it, but it is worth trying.

## Usage RawPrassLib is designed to enable fast advanced data processing by python, which is not easily acessible with original software.

>!#/usr/bin/env python3

>from rawparse import load_raw

>import numpy as np

>import logging

>…

>…

>chromatogram, masses, ion_scans = load_raw(filename)

The chromatogram is np.array of times of acquisition and total ion current during these acquisitions. (np.array ([times[],intensities[]]))

masses is np.array of the scanned masses from the lowest to the highest. As it should stay the same during whole acquisition only one masses array is provided. (np.array [mass])

matrix is np.array of acquired intensities during each acquisition. It is two-dimensional np.array where the first dimension count should correlate with number of acquisition and the second dimension with the number of masses which were scanned during each acquisition.

## Tested instruments We’ve tested and optimized the code against TSQ-7000, LCQ Deca, LCQ Max and LTQ machines .raw output files.

## Known drawbacks Projet is still very experimental so not all formats and acquisition supported

## Known benefits The only file which has some real code has just 300 lines of codes.

## Installation >pip install rawprasslib

Project details


Download files

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

Files for rawprasslib, version 0.0.7
Filename, size File type Python version Upload date Hashes
Filename, size rawprasslib-0.0.7-py3-none-any.whl (6.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size rawprasslib-0.0.7.tar.gz (5.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page