alphatims
alphatims copied to clipboard
Calibration
Calibration of mobility and mz over the gradient is not performed yet. This can be done with e.g. lockmasses such as 622.028960. Moreover, initial mapping of indices to mz and mobility values sometimes has a huge error
The TimsTOF constructor now has the default options:
mz_estimation_from_frame=0
mobility_estimation_from_frame=0
Setting these values to any number higher than 0 takes Bruker's mz values instead of calculating them manually. This also confirms that Bruker's original values for MzAcqRangeLower and MzAcqRangeUpper can be way off!
Default calibration masses
Does this mean that exported tof .d data to mgf are still uncalibrated? Will this feature be added at some point? Do we also have the ion mobility information in the mgf format?
Also apparently numpy now requires that you specify np.int as np.int32 or np.int64. Thus an error in bruker.py at line 1985 from the alphatims package arose which could be solved when specified as np.int64.
Dear @tomthun, this calibration unfortunately is not being actively developed. Their is nowadays an option use_calibrated_mz_values_as_default that tries to tackle this issue somewhat, but it remains highly experimental and I advise to use this with care!
With respect to the numpy issue, this is solved in the latest release