CoreMS 2.0.9__tar.gz → 2.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {CoreMS-2.0.9 → CoreMS-2.2.1}/CoreMS.egg-info/PKG-INFO +3 -3
- {CoreMS-2.0.9 → CoreMS-2.2.1}/CoreMS.egg-info/SOURCES.txt +7 -8
- {CoreMS-2.0.9 → CoreMS-2.2.1}/CoreMS.egg-info/requires.txt +0 -3
- {CoreMS-2.0.9 → CoreMS-2.2.1}/PKG-INFO +3 -3
- {CoreMS-2.0.9 → CoreMS-2.2.1}/README.md +2 -2
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/__init__.py +2 -90
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/encapsulation/factory/parameters.py +89 -4
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/encapsulation/factory/processingSetting.py +19 -3
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectra/calc/SignalProcessing.py +275 -74
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectra/input/rawFileReader.py +0 -1
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectrum/calc/AutoRecalibration.py +20 -5
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectrum/calc/Calibration.py +57 -22
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectrum/calc/PeakPicking.py +293 -102
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectrum/factory/MassSpectrumClasses.py +40 -7
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectrum/input/baseClass.py +7 -6
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectrum/input/coremsHDF5.py +55 -15
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectrum/input/massList.py +74 -7
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectrum/output/export.py +2 -1
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_formula/factory/MolecularFormulaFactory.py +9 -3
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/ChemstationMSFileReader.dll +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/ChemstationMSFileReader.xml +125 -125
- {CoreMS-2.0.9/ext_lib/dotnet → CoreMS-2.2.1/ext_lib}/ThermoFisher.CommonCore.BackgroundSubtraction.xml +2307 -2307
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/ThermoFisher.CommonCore.Data.xml +28974 -28974
- {CoreMS-2.0.9/ext_lib/dotnet → CoreMS-2.2.1/ext_lib}/ThermoFisher.CommonCore.MassPrecisionEstimator.xml +241 -241
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/ThermoFisher.CommonCore.RawFileReader.xml +31174 -31174
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/dotnet/OpenMcdf.Extensions.dll +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/dotnet/OpenMcdf.dll +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/dotnet/OpenMcdf.xml +1154 -1154
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/dotnet/System.IO.FileSystem.AccessControl.dll +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/dotnet/System.IO.FileSystem.AccessControl.xml +505 -505
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/dotnet/System.Security.AccessControl.dll +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/dotnet/System.Security.AccessControl.xml +2042 -2042
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/dotnet/System.Security.Principal.Windows.dll +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/dotnet/System.Security.Principal.Windows.xml +1010 -1010
- {CoreMS-2.0.9/ext_lib → CoreMS-2.2.1/ext_lib/dotnet}/ThermoFisher.CommonCore.BackgroundSubtraction.xml +2307 -2307
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/dotnet/ThermoFisher.CommonCore.Data.xml +29148 -29148
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/dotnet/ThermoFisher.CommonCore.MassPrecisionEstimator.dll +0 -0
- CoreMS-2.2.1/ext_lib/dotnet/ThermoFisher.CommonCore.MassPrecisionEstimator.xml +241 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/dotnet/ThermoFisher.CommonCore.RawFileReader.dll +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/dotnet/ThermoFisher.CommonCore.RawFileReader.xml +31492 -31492
- CoreMS-2.2.1/ext_lib/version +18 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/requirements.txt +1 -4
- {CoreMS-2.0.9 → CoreMS-2.2.1}/setup.py +1 -1
- CoreMS-2.2.1/tests/test_calibration.py +185 -0
- CoreMS-2.2.1/tests/test_classification.py +40 -0
- CoreMS-2.2.1/tests/test_input.py +331 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/tests/test_massErrorPrediction.py +2 -3
- CoreMS-2.2.1/tests/test_mass_spectrum.py +106 -0
- CoreMS-2.2.1/tests/test_mass_spectrum_export_import.py +75 -0
- CoreMS-2.2.1/tests/test_molecular_formula.py +59 -0
- CoreMS-2.2.1/tests/test_molecular_formula_db_factory.py +32 -0
- CoreMS-2.2.1/tests/test_molecular_formula_search.py +173 -0
- CoreMS-2.2.1/tests/test_mspeak.py +45 -0
- CoreMS-2.2.1/tests/test_output.py +59 -0
- CoreMS-2.2.1/tests/test_search_mass_list.py +22 -0
- CoreMS-2.2.1/tests/test_setting_settings.py +50 -0
- CoreMS-2.0.9/corems/mass_spectra/input/win_only/BrukerCompassXtract.py +0 -180
- CoreMS-2.0.9/corems/mass_spectra/input/win_only/ThermoMSFileReader.py +0 -405
- CoreMS-2.0.9/ext_lib/dotnet/__init__.py +0 -0
- CoreMS-2.0.9/tests/test.py +0 -65
- CoreMS-2.0.9/tests/test_calibration.py +0 -221
- CoreMS-2.0.9/tests/test_classification.py +0 -55
- CoreMS-2.0.9/tests/test_input.py +0 -372
- CoreMS-2.0.9/tests/test_mass_spectrum.py +0 -92
- CoreMS-2.0.9/tests/test_molecularFormula.py +0 -71
- CoreMS-2.0.9/tests/test_molecularFormulaDBFactory.py +0 -66
- CoreMS-2.0.9/tests/test_molecularFormulaSearch.py +0 -206
- CoreMS-2.0.9/tests/test_mspeak.py +0 -61
- CoreMS-2.0.9/tests/test_output.py +0 -91
- CoreMS-2.0.9/tests/test_searchMassListRef.py +0 -47
- CoreMS-2.0.9/tests/test_setting_settings.py +0 -36
- {CoreMS-2.0.9 → CoreMS-2.2.1}/CoreMS.egg-info/dependency_links.txt +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/CoreMS.egg-info/top_level.txt +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/Dockerfile +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/LICENSE +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/MANIFEST.in +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/chroma_peak/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/chroma_peak/calc/ChromaPeakCalc.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/chroma_peak/calc/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/chroma_peak/factory/ChromaPeakClasses.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/chroma_peak/factory/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/collection/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/collection/factory/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/collection/input/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/collection/output/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/encapsulation/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/encapsulation/constant.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/encapsulation/factory/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/encapsulation/input/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/encapsulation/input/parameter_from_json.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/encapsulation/output/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/encapsulation/output/parameter_to_dict.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/encapsulation/output/parameter_to_json.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectra/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectra/calc/GC_Calc.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectra/calc/GC_Deconvolution.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectra/calc/GC_RI_Calibration.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectra/calc/LC_Calc.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectra/calc/LF_Targeted.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectra/calc/MZSearch.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectra/calc/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectra/factory/GC_Class.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectra/factory/LC_Class.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectra/factory/LC_Temp.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectra/factory/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectra/input/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectra/input/andiNetCDF.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectra/input/boosterHDF5.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectra/input/brukerSolarix.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectra/input/coremsHDF5.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectra/input/massList.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectra/input/win_only/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectra/output/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectra/output/export.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectrum/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectrum/calc/CalibrationCalc.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectrum/calc/KendrickGroup.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectrum/calc/MassErrorPrediction.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectrum/calc/MassSpectrumCalc.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectrum/calc/MeanResolvingPowerFilter.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectrum/calc/NoiseCalc.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectrum/calc/NoiseCalc_Bayes.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectrum/calc/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectrum/factory/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectrum/input/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectrum/input/boosterHDF5.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectrum/input/numpyArray.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectrum/input/win_only/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/mass_spectrum/output/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_formula/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_formula/calc/MolecularFormulaCalc.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_formula/calc/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_formula/factory/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_formula/input/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_formula/input/masslist_ref.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_id/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_id/calc/ClusterFilter.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_id/calc/KendrickGroup.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_id/calc/MolecularFilter.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_id/calc/SpectralSimilarity.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_id/calc/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_id/calc/math_distance.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_id/factory/EI_SQL.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_id/factory/MolecularLookupTable.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_id/factory/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_id/factory/classification.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_id/factory/molecularSQL.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_id/input/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_id/input/nistMSI.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_id/search/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_id/search/compoundSearch.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_id/search/findOxygenPeaks.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_id/search/molecularFormulaSearch.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/molecular_id/search/priorityAssignment.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/ms_peak/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/ms_peak/calc/MSPeakCalc.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/ms_peak/calc/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/ms_peak/factory/MSPeakClasses.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/ms_peak/factory/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/transient/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/transient/calc/TransientCalc.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/transient/calc/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/transient/factory/TransientClasses.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/transient/factory/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/transient/input/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/transient/input/brukerSolarix.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/corems/transient/input/midasDatFile.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/disclaimer.txt +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/RawFileReaderLicense.doc +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/ThermoFisher.CommonCore.BackgroundSubtraction.dll +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/ThermoFisher.CommonCore.Data.dll +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/ThermoFisher.CommonCore.MassPrecisionEstimator.dll +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/ThermoFisher.CommonCore.RawFileReader.dll +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/__init__.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/dotnet/ThermoFisher.CommonCore.BackgroundSubtraction.dll +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/ext_lib/dotnet/ThermoFisher.CommonCore.Data.dll +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/setup.cfg +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/tests/test_LossFinder.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/tests/test_assembly_identification.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/tests/test_gcms.py +0 -0
- {CoreMS-2.0.9 → CoreMS-2.2.1}/tests/test_mz_search.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: CoreMS
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.2.1
|
|
4
4
|
Summary: Mass Spectrometry Framework for Small Molecules Analysis
|
|
5
5
|
Home-page: https://github.com/EMSL-Computing/CoreMS
|
|
6
6
|
Author: Corilo, Yuri
|
|
@@ -66,7 +66,7 @@ CoreMS aims to provide
|
|
|
66
66
|
|
|
67
67
|
## Current Version
|
|
68
68
|
|
|
69
|
-
`2.
|
|
69
|
+
`2.2.1`
|
|
70
70
|
|
|
71
71
|
***
|
|
72
72
|
|
|
@@ -339,7 +339,7 @@ UML (unified modeling language) diagrams for Direct Infusion FT-MS and GC-MS cla
|
|
|
339
339
|
|
|
340
340
|
If you use CoreMS in your work, please use the following citation:
|
|
341
341
|
|
|
342
|
-
Version [2.
|
|
342
|
+
Version [2.2.1 Release on GitHub](https://github.com/EMSL-Computing/CoreMS/releases/tag/v2.2.1), archived on Zenodo:
|
|
343
343
|
|
|
344
344
|
[](https://doi.org/10.5281/zenodo.4641552)
|
|
345
345
|
|
|
@@ -50,8 +50,6 @@ corems/mass_spectra/input/brukerSolarix.py
|
|
|
50
50
|
corems/mass_spectra/input/coremsHDF5.py
|
|
51
51
|
corems/mass_spectra/input/massList.py
|
|
52
52
|
corems/mass_spectra/input/rawFileReader.py
|
|
53
|
-
corems/mass_spectra/input/win_only/BrukerCompassXtract.py
|
|
54
|
-
corems/mass_spectra/input/win_only/ThermoMSFileReader.py
|
|
55
53
|
corems/mass_spectra/input/win_only/__init__.py
|
|
56
54
|
corems/mass_spectra/output/__init__.py
|
|
57
55
|
corems/mass_spectra/output/export.py
|
|
@@ -125,9 +123,11 @@ ext_lib/ThermoFisher.CommonCore.BackgroundSubtraction.xml
|
|
|
125
123
|
ext_lib/ThermoFisher.CommonCore.Data.dll
|
|
126
124
|
ext_lib/ThermoFisher.CommonCore.Data.xml
|
|
127
125
|
ext_lib/ThermoFisher.CommonCore.MassPrecisionEstimator.dll
|
|
126
|
+
ext_lib/ThermoFisher.CommonCore.MassPrecisionEstimator.xml
|
|
128
127
|
ext_lib/ThermoFisher.CommonCore.RawFileReader.dll
|
|
129
128
|
ext_lib/ThermoFisher.CommonCore.RawFileReader.xml
|
|
130
129
|
ext_lib/__init__.py
|
|
130
|
+
ext_lib/version
|
|
131
131
|
ext_lib/dotnet/OpenMcdf.Extensions.dll
|
|
132
132
|
ext_lib/dotnet/OpenMcdf.dll
|
|
133
133
|
ext_lib/dotnet/OpenMcdf.xml
|
|
@@ -145,8 +145,6 @@ ext_lib/dotnet/ThermoFisher.CommonCore.MassPrecisionEstimator.dll
|
|
|
145
145
|
ext_lib/dotnet/ThermoFisher.CommonCore.MassPrecisionEstimator.xml
|
|
146
146
|
ext_lib/dotnet/ThermoFisher.CommonCore.RawFileReader.dll
|
|
147
147
|
ext_lib/dotnet/ThermoFisher.CommonCore.RawFileReader.xml
|
|
148
|
-
ext_lib/dotnet/__init__.py
|
|
149
|
-
tests/test.py
|
|
150
148
|
tests/test_LossFinder.py
|
|
151
149
|
tests/test_assembly_identification.py
|
|
152
150
|
tests/test_calibration.py
|
|
@@ -155,11 +153,12 @@ tests/test_gcms.py
|
|
|
155
153
|
tests/test_input.py
|
|
156
154
|
tests/test_massErrorPrediction.py
|
|
157
155
|
tests/test_mass_spectrum.py
|
|
158
|
-
tests/
|
|
159
|
-
tests/
|
|
160
|
-
tests/
|
|
156
|
+
tests/test_mass_spectrum_export_import.py
|
|
157
|
+
tests/test_molecular_formula.py
|
|
158
|
+
tests/test_molecular_formula_db_factory.py
|
|
159
|
+
tests/test_molecular_formula_search.py
|
|
161
160
|
tests/test_mspeak.py
|
|
162
161
|
tests/test_mz_search.py
|
|
163
162
|
tests/test_output.py
|
|
164
|
-
tests/
|
|
163
|
+
tests/test_search_mass_list.py
|
|
165
164
|
tests/test_setting_settings.py
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
beautifulsoup4~=4.12.0
|
|
2
2
|
chardet~=5.1.0
|
|
3
|
-
comtypes~=1.1.14
|
|
4
3
|
h5py~=3.8.0
|
|
5
4
|
IsoSpecPy~=2.2.2
|
|
6
5
|
lmfit~=1.1.0
|
|
@@ -10,8 +9,6 @@ netCDF4~=1.6.3
|
|
|
10
9
|
numpy~=1.24.2
|
|
11
10
|
openpyxl~=3.1.1
|
|
12
11
|
pandas~=1.5.3
|
|
13
|
-
psutil~=5.9.4
|
|
14
|
-
PySide2~=5.15.2.1
|
|
15
12
|
pyswarm~=0.6
|
|
16
13
|
pythonnet~=3.0.1
|
|
17
14
|
s3path~=0.4.1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: CoreMS
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.2.1
|
|
4
4
|
Summary: Mass Spectrometry Framework for Small Molecules Analysis
|
|
5
5
|
Home-page: https://github.com/EMSL-Computing/CoreMS
|
|
6
6
|
Author: Corilo, Yuri
|
|
@@ -66,7 +66,7 @@ CoreMS aims to provide
|
|
|
66
66
|
|
|
67
67
|
## Current Version
|
|
68
68
|
|
|
69
|
-
`2.
|
|
69
|
+
`2.2.1`
|
|
70
70
|
|
|
71
71
|
***
|
|
72
72
|
|
|
@@ -339,7 +339,7 @@ UML (unified modeling language) diagrams for Direct Infusion FT-MS and GC-MS cla
|
|
|
339
339
|
|
|
340
340
|
If you use CoreMS in your work, please use the following citation:
|
|
341
341
|
|
|
342
|
-
Version [2.
|
|
342
|
+
Version [2.2.1 Release on GitHub](https://github.com/EMSL-Computing/CoreMS/releases/tag/v2.2.1), archived on Zenodo:
|
|
343
343
|
|
|
344
344
|
[](https://doi.org/10.5281/zenodo.4641552)
|
|
345
345
|
|
|
@@ -50,7 +50,7 @@ CoreMS aims to provide
|
|
|
50
50
|
|
|
51
51
|
## Current Version
|
|
52
52
|
|
|
53
|
-
`2.
|
|
53
|
+
`2.2.1`
|
|
54
54
|
|
|
55
55
|
***
|
|
56
56
|
|
|
@@ -323,7 +323,7 @@ UML (unified modeling language) diagrams for Direct Infusion FT-MS and GC-MS cla
|
|
|
323
323
|
|
|
324
324
|
If you use CoreMS in your work, please use the following citation:
|
|
325
325
|
|
|
326
|
-
Version [2.
|
|
326
|
+
Version [2.2.1 Release on GitHub](https://github.com/EMSL-Computing/CoreMS/releases/tag/v2.2.1), archived on Zenodo:
|
|
327
327
|
|
|
328
328
|
[](https://doi.org/10.5281/zenodo.4641552)
|
|
329
329
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
__author__ = 'Yuri E. Corilo'
|
|
2
|
-
__version__ = '2.
|
|
2
|
+
__version__ = '2.2.1'
|
|
3
3
|
__doc__ = '''
|
|
4
4
|
<div align="left">
|
|
5
5
|
|
|
@@ -362,94 +362,6 @@ class SuppressPrints:
|
|
|
362
362
|
sys.stdout.close()
|
|
363
363
|
sys.stdout = self._original_stdout
|
|
364
364
|
|
|
365
|
-
def get_filenames(app=None):
|
|
366
|
-
|
|
367
|
-
from PySide2.QtCore import Qt, QCoreApplication
|
|
368
|
-
from PySide2.QtWidgets import QApplication, QFileDialog
|
|
369
|
-
from pathlib import Path
|
|
370
|
-
|
|
371
|
-
app = QApplication(sys.argv)
|
|
372
|
-
file_dialog = QFileDialog()
|
|
373
|
-
file_dialog.setWindowFlags(Qt.WindowStaysOnTopHint)
|
|
374
|
-
file_location, _ = file_dialog.getOpenFileNames()
|
|
375
|
-
|
|
376
|
-
if file_location:
|
|
377
|
-
QCoreApplication.processEvents()
|
|
378
|
-
return file_location
|
|
379
|
-
|
|
380
|
-
else:
|
|
381
|
-
|
|
382
|
-
return None
|
|
383
|
-
|
|
384
|
-
def get_filename(app=None):
|
|
385
|
-
|
|
386
|
-
from PySide2.QtCore import Qt, QCoreApplication
|
|
387
|
-
from PySide2.QtWidgets import QApplication, QFileDialog
|
|
388
|
-
from pathlib import Path
|
|
389
|
-
|
|
390
|
-
app = QApplication(sys.argv)
|
|
391
|
-
file_dialog = QFileDialog()
|
|
392
|
-
file_dialog.setWindowFlags(Qt.WindowStaysOnTopHint)
|
|
393
|
-
file_location, _ = file_dialog.getOpenFileName()
|
|
394
|
-
|
|
395
|
-
if file_location:
|
|
396
|
-
QCoreApplication.processEvents()
|
|
397
|
-
return Path(file_location)
|
|
398
|
-
|
|
399
|
-
else:
|
|
400
|
-
|
|
401
|
-
return None
|
|
402
|
-
|
|
403
|
-
def get_dirname(app=None):
|
|
404
|
-
|
|
405
|
-
from PySide2.QtCore import Qt, QCoreApplication
|
|
406
|
-
from PySide2.QtWidgets import QApplication, QFileDialog
|
|
407
|
-
from pathlib import Path
|
|
408
|
-
|
|
409
|
-
app = QApplication(sys.argv)
|
|
410
|
-
file_dialog = QFileDialog()
|
|
411
|
-
file_dialog.setWindowFlags(Qt.WindowStaysOnTopHint)
|
|
412
|
-
file_location = file_dialog.getExistingDirectory()
|
|
413
|
-
|
|
414
|
-
if file_location:
|
|
415
|
-
QCoreApplication.processEvents()
|
|
416
|
-
return Path(file_location)
|
|
417
|
-
|
|
418
|
-
else:
|
|
419
|
-
|
|
420
|
-
return None
|
|
421
|
-
|
|
422
|
-
def get_dirnames(app=None):
|
|
423
|
-
|
|
424
|
-
from PySide2.QtCore import Qt, QCoreApplication
|
|
425
|
-
from PySide2.QtWidgets import QApplication, QFileDialog, QTreeView, QListView, QAbstractItemView
|
|
426
|
-
from pathlib import Path
|
|
427
|
-
|
|
428
|
-
if not app:
|
|
429
|
-
app = QApplication(sys.argv)
|
|
430
|
-
# file_dialog = QFileDialog()
|
|
431
|
-
# file_dialog.setWindowFlags(Qt.WindowStaysOnTopHint)
|
|
432
|
-
# file_location = file_dialog.getOpenFileNames()
|
|
433
|
-
|
|
434
|
-
file_dialog = QFileDialog()
|
|
435
|
-
file_dialog.setFileMode(QFileDialog.DirectoryOnly)
|
|
436
|
-
file_dialog.setOption(QFileDialog.DontUseNativeDialog, True)
|
|
437
|
-
file_view = file_dialog.findChild(QListView, 'listView')
|
|
438
|
-
|
|
439
|
-
# to make it possible to select multiple directories:
|
|
440
|
-
if file_view:
|
|
441
|
-
file_view.setSelectionMode(QAbstractItemView.MultiSelection)
|
|
442
|
-
f_tree_view = file_dialog.findChild(QTreeView)
|
|
443
|
-
if f_tree_view:
|
|
444
|
-
f_tree_view.setSelectionMode(QAbstractItemView.MultiSelection)
|
|
445
|
-
|
|
446
|
-
if file_dialog.exec():
|
|
447
|
-
paths = file_dialog.selectedFiles()
|
|
448
|
-
|
|
449
|
-
QCoreApplication.processEvents()
|
|
450
|
-
for path in paths:
|
|
451
|
-
yield Path(path)
|
|
452
|
-
|
|
453
365
|
def chunks(lst, n):
|
|
454
366
|
"""Yield successive n-sized chunks from lst."""
|
|
455
367
|
for i in range(0, len(lst), n):
|
|
@@ -461,4 +373,4 @@ def corems_md5(fname):
|
|
|
461
373
|
|
|
462
374
|
md5_returned = hashlib.sha256(bytes_io).hexdigest()
|
|
463
375
|
|
|
464
|
-
return "{}:{}".format("sha256", md5_returned)
|
|
376
|
+
return "{}:{}".format("sha256", md5_returned)
|
|
@@ -1,12 +1,40 @@
|
|
|
1
|
+
import dataclasses
|
|
2
|
+
|
|
1
3
|
from corems.encapsulation.factory.processingSetting import LiquidChromatographSetting, MolecularFormulaSearchSettings, TransientSetting, MassSpecPeakSetting, MassSpectrumSetting
|
|
2
4
|
from corems.encapsulation.factory.processingSetting import CompoundSearchSettings, GasChromatographSetting
|
|
3
5
|
from corems.encapsulation.factory.processingSetting import DataInputSetting
|
|
4
6
|
|
|
7
|
+
def reset_ms_parameters():
|
|
8
|
+
"""Reset the MSParameter class to the default values"""
|
|
9
|
+
MSParameters.molecular_search = MolecularFormulaSearchSettings()
|
|
10
|
+
MSParameters.transient = TransientSetting()
|
|
11
|
+
MSParameters.mass_spectrum = MassSpectrumSetting()
|
|
12
|
+
MSParameters.ms_peak = MassSpecPeakSetting()
|
|
13
|
+
MSParameters.data_input = DataInputSetting()
|
|
14
|
+
|
|
15
|
+
def reset_gcms_parameters():
|
|
16
|
+
"""Reset the GCMSParameters class to the default values"""
|
|
17
|
+
GCMSParameters.molecular_search = CompoundSearchSettings()
|
|
18
|
+
GCMSParameters.gc_ms = GasChromatographSetting()
|
|
19
|
+
|
|
20
|
+
def reset_lcms_parameters():
|
|
21
|
+
"""Reset the LCMSParameters class to the default values"""
|
|
22
|
+
LCMSParameters.lc_ms = LiquidChromatographSetting()
|
|
23
|
+
LCMSParameters.mass_spectrum = MassSpectrumSetting()
|
|
24
|
+
LCMSParameters.ms_peak = MassSpecPeakSetting()
|
|
25
|
+
LCMSParameters.ms1_molecular_search = MolecularFormulaSearchSettings()
|
|
26
|
+
LCMSParameters.ms2_molecular_search = MolecularFormulaSearchSettings()
|
|
27
|
+
|
|
5
28
|
class MSParameters:
|
|
6
29
|
"""MSParameters class is used to store the parameters used for the processing of the mass spectrum
|
|
7
30
|
|
|
8
31
|
Each attibute is a class that contains the parameters for the processing of the mass spectrum, see the corems.encapsulation.factory.processingSetting module for more details.
|
|
9
32
|
|
|
33
|
+
Parameters
|
|
34
|
+
----------
|
|
35
|
+
use_defaults: bool, optional
|
|
36
|
+
if True, the class will be instantiated with the default values, otherwise the current values will be used. Default is False.
|
|
37
|
+
|
|
10
38
|
Attributes
|
|
11
39
|
-----------
|
|
12
40
|
molecular_search: MolecularFormulaSearchSettings
|
|
@@ -19,6 +47,11 @@ class MSParameters:
|
|
|
19
47
|
MassSpecPeakSetting object
|
|
20
48
|
data_input: DataInputSetting
|
|
21
49
|
DataInputSetting object
|
|
50
|
+
|
|
51
|
+
Notes
|
|
52
|
+
-----
|
|
53
|
+
One can use the use_defaults parameter to reset the parameters to the default values.
|
|
54
|
+
Alternatively, to use the current values - modify the class's contents before instantiating the class.
|
|
22
55
|
"""
|
|
23
56
|
|
|
24
57
|
molecular_search = MolecularFormulaSearchSettings()
|
|
@@ -27,27 +60,64 @@ class MSParameters:
|
|
|
27
60
|
ms_peak = MassSpecPeakSetting()
|
|
28
61
|
data_input = DataInputSetting()
|
|
29
62
|
|
|
63
|
+
def __init__(self, use_defaults = False) -> None:
|
|
64
|
+
if not use_defaults:
|
|
65
|
+
self.molecular_search = dataclasses.replace(MSParameters.molecular_search)
|
|
66
|
+
self.transient = dataclasses.replace(MSParameters.transient)
|
|
67
|
+
self.mass_spectrum = dataclasses.replace(MSParameters.mass_spectrum)
|
|
68
|
+
self.ms_peak = dataclasses.replace(MSParameters.ms_peak)
|
|
69
|
+
self.data_input = dataclasses.replace(MSParameters.data_input)
|
|
70
|
+
else:
|
|
71
|
+
self.molecular_search = MolecularFormulaSearchSettings()
|
|
72
|
+
self.transient = TransientSetting()
|
|
73
|
+
self.mass_spectrum = MassSpectrumSetting()
|
|
74
|
+
self.ms_peak = MassSpecPeakSetting()
|
|
75
|
+
self.data_input = DataInputSetting()
|
|
76
|
+
|
|
30
77
|
class GCMSParameters:
|
|
31
78
|
"""GCMSParameters class is used to store the parameters used for the processing of the gas chromatograph mass spectrum
|
|
32
79
|
|
|
33
80
|
Each attibute is a class that contains the parameters for the processing of the data, see the corems.encapsulation.factory.processingSetting module for more details.
|
|
34
81
|
|
|
82
|
+
Parameters
|
|
83
|
+
----------
|
|
84
|
+
use_defaults: bool, optional
|
|
85
|
+
if True, the class will be instantiated with the default values, otherwise the current values will be used. Default is False.
|
|
86
|
+
|
|
35
87
|
Attributes
|
|
36
88
|
-----------
|
|
37
89
|
molecular_search: MolecularFormulaSearchSettings
|
|
38
90
|
MolecularFormulaSearchSettings object
|
|
39
91
|
gc_ms: GasChromatographSetting
|
|
40
92
|
GasChromatographSetting object
|
|
93
|
+
|
|
94
|
+
Notes
|
|
95
|
+
-----
|
|
96
|
+
One can use the use_defaults parameter to reset the parameters to the default values.
|
|
97
|
+
Alternatively, to use the current values - modify the class's contents before instantiating the class.
|
|
41
98
|
"""
|
|
42
99
|
|
|
43
100
|
molecular_search = CompoundSearchSettings()
|
|
44
101
|
gc_ms = GasChromatographSetting()
|
|
45
102
|
|
|
103
|
+
def __init__(self, use_defaults = False) -> None:
|
|
104
|
+
if not use_defaults:
|
|
105
|
+
self.molecular_search = dataclasses.replace(GCMSParameters.molecular_search)
|
|
106
|
+
self.gc_ms = dataclasses.replace(GCMSParameters.gc_ms)
|
|
107
|
+
else:
|
|
108
|
+
self.molecular_search = CompoundSearchSettings()
|
|
109
|
+
self.gc_ms = GasChromatographSetting()
|
|
110
|
+
|
|
46
111
|
class LCMSParameters:
|
|
47
112
|
"""LCMSParameters class is used to store the parameters used for the processing of the liquid chromatograph mass spectrum
|
|
48
113
|
|
|
49
114
|
Each attibute is a class that contains the parameters for the processing of the data, see the corems.encapsulation.factory.processingSetting module for more details.
|
|
50
115
|
|
|
116
|
+
Parameters
|
|
117
|
+
----------
|
|
118
|
+
use_defaults: bool, optional
|
|
119
|
+
if True, the class will be instantiated with the default values, otherwise the current values will be used. Default is False.
|
|
120
|
+
|
|
51
121
|
Attributes
|
|
52
122
|
-----------
|
|
53
123
|
lc_ms: LiquidChromatographSetting
|
|
@@ -60,17 +130,32 @@ class LCMSParameters:
|
|
|
60
130
|
MolecularFormulaSearchSettings object
|
|
61
131
|
ms2_molecular_search: MolecularFormulaSearchSettings
|
|
62
132
|
MolecularFormulaSearchSettings object
|
|
133
|
+
|
|
134
|
+
Notes
|
|
135
|
+
-----
|
|
136
|
+
One can use the use_defaults parameter to reset the parameters to the default values.
|
|
137
|
+
Alternatively, to use the current values - modify the class's contents before instantiating the class.
|
|
63
138
|
"""
|
|
64
139
|
lc_ms = LiquidChromatographSetting()
|
|
65
|
-
|
|
66
140
|
mass_spectrum = MassSpectrumSetting()
|
|
67
|
-
|
|
68
141
|
ms_peak = MassSpecPeakSetting()
|
|
69
|
-
|
|
70
142
|
ms1_molecular_search = MolecularFormulaSearchSettings()
|
|
71
|
-
|
|
72
143
|
ms2_molecular_search = MolecularFormulaSearchSettings()
|
|
73
144
|
|
|
145
|
+
def __init__(self, use_defaults = False) -> None:
|
|
146
|
+
if not use_defaults:
|
|
147
|
+
self.lc_ms = dataclasses.replace(LCMSParameters.lc_ms)
|
|
148
|
+
self.mass_spectrum = dataclasses.replace(LCMSParameters.mass_spectrum)
|
|
149
|
+
self.ms_peak = dataclasses.replace(LCMSParameters.ms_peak)
|
|
150
|
+
self.ms1_molecular_search = dataclasses.replace(LCMSParameters.ms1_molecular_search)
|
|
151
|
+
self.ms2_molecular_search = dataclasses.replace(LCMSParameters.ms2_molecular_search)
|
|
152
|
+
else:
|
|
153
|
+
self.lc_ms = LiquidChromatographSetting()
|
|
154
|
+
self.mass_spectrum = MassSpectrumSetting()
|
|
155
|
+
self.ms_peak = MassSpecPeakSetting()
|
|
156
|
+
self.ms1_molecular_search = MolecularFormulaSearchSettings()
|
|
157
|
+
self.ms2_molecular_search = MolecularFormulaSearchSettings()
|
|
158
|
+
|
|
74
159
|
def default_parameters(file_location): # pragma: no cover
|
|
75
160
|
"""Generate parameters dictionary with the default parameters for data processing
|
|
76
161
|
To gather parameters from instrument data during the data parsing step, a parameters dictionary with the default parameters needs to be generated.
|
|
@@ -67,6 +67,7 @@ class DataInputSetting:
|
|
|
67
67
|
'Res.': Labels.rp,
|
|
68
68
|
'resolution': Labels.rp,
|
|
69
69
|
'Intensity': Labels.abundance,
|
|
70
|
+
'Peak Height': Labels.abundance,
|
|
70
71
|
'I': Labels.abundance,
|
|
71
72
|
'Abundance': Labels.abundance,
|
|
72
73
|
'abs_abu': Labels.abundance,
|
|
@@ -135,7 +136,7 @@ class LiquidChromatographSetting:
|
|
|
135
136
|
0-100 % used for extracted ion chromatogram peak detection. Default is 0.01.
|
|
136
137
|
"""
|
|
137
138
|
|
|
138
|
-
scans: list | tuple = (
|
|
139
|
+
scans: list | tuple = (-1,-1)
|
|
139
140
|
|
|
140
141
|
eic_tolerance_ppm: float = 5
|
|
141
142
|
|
|
@@ -214,6 +215,7 @@ class MassSpectrumSetting:
|
|
|
214
215
|
Maximum m/z to use for peak picking. Default is 1200.0.
|
|
215
216
|
picking_point_extrapolate : int, optional
|
|
216
217
|
How many data points (in each direction) to extrapolate the mz axis and 0 pad the abundance axis. Default is 3.
|
|
218
|
+
Recommend 3 for reduced profile data or if peak picking faults
|
|
217
219
|
calib_minimize_method : str, optional
|
|
218
220
|
Minimization method to use for calibration. Default is 'Powell'.
|
|
219
221
|
calib_pol_order : int, optional
|
|
@@ -224,6 +226,10 @@ class MassSpectrumSetting:
|
|
|
224
226
|
Minimum ppm error to use for calibration. Default is -1.0.
|
|
225
227
|
calib_sn_threshold : float, optional
|
|
226
228
|
Signal to noise threshold to use for calibration. Default is 2.0.
|
|
229
|
+
calibration_ref_match_method: string, optional
|
|
230
|
+
Method for matching reference masses with measured masses for recalibration. Default is 'legacy'.
|
|
231
|
+
calibration_ref_match_tolerance: float, optional
|
|
232
|
+
If using the new method for calibration reference mass matching, this tolerance is the initial matching tolerance. Default is 0.003
|
|
227
233
|
do_calibration : bool, optional
|
|
228
234
|
If True, perform calibration. Default is True.
|
|
229
235
|
"""
|
|
@@ -252,13 +258,17 @@ class MassSpectrumSetting:
|
|
|
252
258
|
# How many data points (in each direction) to extrapolate the mz axis and 0 pad the abundance axis
|
|
253
259
|
# This will fix peak picking at spectrum limit issues
|
|
254
260
|
# 0 to keep normal behaviour, typical value 3 to fix
|
|
255
|
-
picking_point_extrapolate: int =
|
|
261
|
+
picking_point_extrapolate: int = 3
|
|
256
262
|
|
|
257
263
|
calib_minimize_method: str = 'Powell'
|
|
258
264
|
calib_pol_order: int = 2
|
|
259
265
|
max_calib_ppm_error: float = 1.0
|
|
260
266
|
min_calib_ppm_error: float = -1.0
|
|
261
267
|
calib_sn_threshold: float = 2.0
|
|
268
|
+
calibration_ref_match_method: str = 'legacy'
|
|
269
|
+
calibration_ref_match_method_implemented: tuple = ('legacy', 'merged')
|
|
270
|
+
calibration_ref_match_tolerance: float = 0.003
|
|
271
|
+
calibration_ref_match_std_raw_error_limit: float = 1.5
|
|
262
272
|
#calib_ref_mzs: list = [0]
|
|
263
273
|
|
|
264
274
|
do_calibration: bool = True
|
|
@@ -305,6 +315,9 @@ class MassSpecPeakSetting:
|
|
|
305
315
|
legacy_resolving_power : bool, optional
|
|
306
316
|
Flag indicating whether to use the legacy (CoreMS v1) resolving power calculation.
|
|
307
317
|
Defaults to True.
|
|
318
|
+
centroid_legacy_polyfit : bool, optional
|
|
319
|
+
Use legacy (numpy polyfit) to fit centroid
|
|
320
|
+
Default false.
|
|
308
321
|
"""
|
|
309
322
|
|
|
310
323
|
kendrick_base: Dict = dataclasses.field(default_factory=dict)
|
|
@@ -324,7 +337,10 @@ class MassSpecPeakSetting:
|
|
|
324
337
|
peak_height_max_percent: float = 10 # 1-100 % used for baseline detection
|
|
325
338
|
|
|
326
339
|
legacy_resolving_power: bool = True # Use the legacy (CoreMS v1) resolving power calculation (True)
|
|
327
|
-
|
|
340
|
+
# TODO revisit this default
|
|
341
|
+
|
|
342
|
+
centroid_legacy_polyfit: bool = False
|
|
343
|
+
|
|
328
344
|
def __post_init__(self):
|
|
329
345
|
|
|
330
346
|
# default to CH2
|