alphatims icon indicating copy to clipboard operation
alphatims copied to clipboard

Calibration

Open swillems opened this issue 5 years ago • 2 comments
trafficstars

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

swillems avatar Nov 24 '20 11:11 swillems

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!

swillems avatar Nov 24 '20 14:11 swillems

bruker_calibration Default calibration masses

swillems avatar Nov 24 '20 14:11 swillems

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?

tomthun avatar Jun 09 '23 12:06 tomthun

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.

tomthun avatar Jun 09 '23 12:06 tomthun

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

sander-willems-bruker avatar Jul 18 '23 09:07 sander-willems-bruker