unidec.UniDecImporter.Waters package

Submodules

unidec.UniDecImporter.Waters.MassLynxLockMassProcessor module

unidec.UniDecImporter.Waters.MassLynxRawChromatogramReader module

Waters MassLynx Python Chromatogram reader SDK

class unidec.UniDecImporter.Waters.MassLynxRawChromatogramReader.MassLynxRawChromatogramReader(source)

Bases: MassLynxRawReader

Read masslynx chromatogram data

ReadBPI(whichFunction)
ReadMassChromatogram(whichFunction, whichMass, massTollerance, daughters)
ReadMassChromatograms(whichFunction, whichMasses, massTollerance, daughters)
ReadTIC(whichFunction)

unidec.UniDecImporter.Waters.MassLynxRawInfoReader module

Waters

MassLynx Python SDK

class unidec.UniDecImporter.Waters.MassLynxRawInfoReader.MassLynxRawInfoReader(source)

Bases: MassLynxRawReader

CanLockMassCorrect()
GetAcquisitionMassRange(whichFunction)
GetAcquisitionTimeRange(whichFunction)
GetDriftTime(whichFunction, nWhichDrift)
GetFunctionType(whichFunction)
GetFunctionTypeString(functionType)
GetHeaderItem(whichItem)
GetHeaderItems(whichItems)
GetIonMode(whichFunction)
GetIonModeString(ionMode)
GetItemsInFunction(whichFunction, nWhichScan)
GetNumberofFunctions()
GetRetentionTime(whichFunction, nWhichScan)
GetScanItem(whichFunction, whichScan, whichItem)
GetScanItemString(whichItems)
GetScanItems(whichFunction, whichScan, whichItems)
GetScansInFunction(whichFunction)
IsContinuum(whichFunction)
IsLockMassCorrected()

unidec.UniDecImporter.Waters.MassLynxRawReader module

Waters MassLynx Python SDK

class unidec.UniDecImporter.Waters.MassLynxRawReader.MassLynxBaseType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: IntEnum

ANALOG = 4
CENTRIOD = 6
CHROM = 3
DDA = 7
INFO = 2
LOCKMASS = 5
MSE = 8
SCAN = 1
UNINITALISED = 1000
class unidec.UniDecImporter.Waters.MassLynxRawReader.MassLynxCodeHandler

Bases: object

CheckReturnCode(code, throw=True)
GetLastCode()
GetLastMessage()
exception unidec.UniDecImporter.Waters.MassLynxRawReader.MassLynxException(code, message)

Bases: Exception

Handler()
code = 0
class unidec.UniDecImporter.Waters.MassLynxRawReader.MassLynxHeaderItem(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: IntEnum

ACQUIRED_DATE = 2
ACQUIRED_NAME = 1
ACQUIRED_TIME = 3
ANALOG_CH1_OFFSET = 15
ANALOG_CH2_OFFSET = 16
ANALOG_CH3_OFFSET = 17
ANALOG_CH4_OFFSET = 18
BOTTLE_NUMBER = 14
CAL_DATE = 28
CAL_MS1_DYNAMIC_PARAMS = 22
CAL_MS1_FAST_PARAMS = 25
CAL_MS1_STATIC = 19
CAL_MS1_STATIC_PARAMS = 21
CAL_MS2_DYNAMIC_PARAMS = 24
CAL_MS2_FAST_PARAMS = 26
CAL_MS2_STATIC = 20
CAL_MS2_STATIC_PARAMS = 23
CAL_TEMPERATURE = 29
CAL_TIME = 27
CONDITIONS = 8
INLET_METHOD = 30
INSTRUMENT = 7
JOB_CODE = 4
LAB_NAME = 9
ML_VERSION = 0
SAMPLE_DESCRIPTION = 10
SAMPLE_ID = 13
SOLVENT_DELAY = 11
SPARE1 = 31
SPARE2 = 32
SPARE3 = 33
SPARE4 = 34
SPARE5 = 35
SUBMITTER = 12
TASK_CODE = 5
UNINITIALISED = 1000
USER_NAME = 6
class unidec.UniDecImporter.Waters.MassLynxRawReader.MassLynxProcessCodeHandler

Bases: object

CheckReturnCode(code, throw=True)
GetLastCode()
GetLastMessage()
class unidec.UniDecImporter.Waters.MassLynxRawReader.MassLynxRawProcessor(rr)

Bases: object

basic functionality to Process raw files

CheckReturnCode(code, throw=True)
static ReleaseMemory(address)
ToString(pString, release=False)
massLynxDll = <WinDLL 'C:\Python\UniDec3\unidec\UniDecImporter\Waters\MassLynxRaw.dll', handle 7ffe0f9b0000>
path = 'C:\\Python\\UniDec3\\unidec\\UniDecImporter\\Waters\\MassLynxRaw.dll'
pathtofile = 'C:\\Python\\UniDec3\\unidec\\UniDecImporter\\Waters'
version = '1.0'
class unidec.UniDecImporter.Waters.MassLynxRawReader.MassLynxRawReader(source, mlType)

Bases: object

basic functionality to read raw files

CheckReturnCode(code, throw=True)
static ReleaseMemory(address)
ToString(pString, release=False)
massLynxDll = <WinDLL 'C:\Python\UniDec3\unidec\UniDecImporter\Waters\MassLynxRaw.dll', handle 7ffe0f9b0000>
path = 'C:\\Python\\UniDec3\\unidec\\UniDecImporter\\Waters\\MassLynxRaw.dll'
pathtofile = 'C:\\Python\\UniDec3\\unidec\\UniDecImporter\\Waters'
version = '1.0'
class unidec.UniDecImporter.Waters.MassLynxRawReader.MassLynxScanItem(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: IntEnum

ACCURATE_MASS = 112
ACCURATE_MASS_FLAGS = 113
ACC_VOLTAGE = 68
BASE_PEAK_INTENSITY = 254
BASE_PEAK_MASS = 253
COLLISION_ENERGY = 62
COLLISION_ENERGY2 = 78
COLLISION_RF = 75
COUNTER_ELECTRODE_VOLTAGE = 51
COURSE_LASER_CONTROL = 7
DRE_TRANSMISSION = 115
ENTRANCE = 71
FAIMS_COMPENSATION_VOLTAGE = 106
FINE_LASER_CONTROL = 8
FOCUS = 70
GUARD = 72
HM_RESOLUTION = 61
ION_ENERGY = 63
LASERAIM_XPOS = 9
LASERAIM_YPOS = 10
LASER_REPETITION_RATE = 6
LCMP_TFM_WELL = 14
LINEAR_DETECTOR_VOLTAGE = 1
LINEAR_SENSITIVITY = 2
LM_RESOLUTION = 60
LOCKMASS_CORRECTION = 102
MAX_DRIFT_TIME_CHANNEL = 123
MIN_DRIFT_TIME_CHANNEL = 122
MULTIPLIER1 = 64
MULTIPLIER2 = 65
NEEDLE = 50
NUM_SHOTS_PERFORMED = 12
NUM_SHOTS_SUMMED = 11
PEAKS_IN_SCAN = 255
PROBE_TEMPERATURE = 55
PSD_FACTOR_1 = 26
PSD_STEP_MAJOR = 24
PSD_STEP_MINOR = 25
QUAD_PEAK_WIDTH = 84
QUAD_START_MASS = 82
QUAD_STOP_MASS = 83
RAW_EE_CE = 111
RAW_EE_CV = 110
RAW_STAT_SWAVE_NORMALISATION_FACTOR = 117
REFERENCE_SCAN = 100
REFLECTRON = 74
REFLECTRON_DETECTOR_VOLTAGE = 4
REFLECTRON_FIELD_LENGTH = 18
REFLECTRON_FIELD_LENGTH_ALT = 22
REFLECTRON_LENGTH = 19
REFLECTRON_LENGTH_ALT = 23
REFLECTRON_LENS_VOLTAGE = 3
REFLECTRON_SENSITIVITY = 5
REFLECTRON_VOLT = 20
RF_VOLTAGE = 57
SAMPLE_PLATE_VOLT = 21
SAMPLING_CONE_VOLTAGE = 52
SCAN_ERROR_FLAG = 114
SCAN_PUSH_COUNT = 116
SEGMENT_NUMBER = 13
SEGMENT_TYPE = 15
SET_MASS = 77
SKIMMER = 54
SKIMMER_LENS = 53
SONAR_ENABLED = 81
SOURCE_APERTURE = 58
SOURCE_CODE = 59
SOURCE_REGION1 = 16
SOURCE_REGION2 = 17
SOURCE_TEMPERATURE = 56
STEERING = 69
TEMP_COEFFICIENT = 105
TEMP_CORRECTION = 104
TIC_TRACE_A = 107
TIC_TRACE_B = 108
TOF = 73
TOF_APERTURE = 67
TOTAL_ION_CURRENT = 252
TRANSPORTDC = 66
TRANSPORT_RF = 76
UNINITIALISED = 1000
USETEMP_CORRECTION = 103
USE_LOCKMASS_CORRECTION = 101
class unidec.UniDecImporter.Waters.MassLynxRawReader.MassLynxStringHandler

Bases: object

ToString(chString, release)

unidec.UniDecImporter.Waters.MassLynxRawScanReader module

Waters MassLynx Python SDK

class unidec.UniDecImporter.Waters.MassLynxRawScanReader.MassLynxRawScanReader(source)

Bases: MassLynxRawReader

Read masslynx scan data

ReadDriftScan(whichFunction, whichScan, whichDrift)
ReadScan(whichFunction, whichScan)
ReadScanFlags(whichFunction, whichScan)
combineScan(whichFunction, scans)

unidec.UniDecImporter.Waters.Waters module

class unidec.UniDecImporter.Waters.Waters.WatersDataImporter(path, function=0, *args, **kwargs)

Bases: Importer

Imports Waters data files.

Note: Waters scans are 0 indexed, so the first scan is scan 0, not scan 1.

close()
get_all_imms_scans()
get_all_scans()
get_avg_scan(scan_range=None, time_range=None, mzbins=None)
get_bpi()
get_eic(mass=811, tolerance=0.1)
get_imms_scan(s)
get_ms_order(scan=None)
get_polarity(scan=None)
get_single_scan(scan)
get_stat_code(stat_code)
get_stat_name(stat_name)
get_stats()
get_tic()
init_scans()

Module contents