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 If you’ve changed acquisiton parameters like scan range or scan speed / scan resolution during acqusition the interpreter will fail at this time.

## 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.

Filename, size & hash SHA256 hash help File type Python version Upload date
rawprasslib-0.0.2-py3-none-any.whl (5.5 kB) Copy SHA256 hash SHA256 Wheel py3
rawprasslib-0.0.2.tar.gz (4.9 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page