pygecko.gc_tools package
Subpackages
- pygecko.gc_tools.analysis package
- Submodules
- pygecko.gc_tools.analysis.analysis_settings module
Analysis_SettingsAnalysis_Settings.snAnalysis_Settings.time_rangeAnalysis_Settings.indices_rangeAnalysis_Settings.widthAnalysis_Settings.prominence_msAnalysis_Settings.prominence_fidAnalysis_Settings.trace_prominenceAnalysis_Settings.heightAnalysis_Settings.savgol_windowAnalysis_Settings.max_half_windowAnalysis_Settings.boarder_thresholdAnalysis_Settings.boarder_windowAnalysis_Settings.max_isotopic_diffAnalysis_Settings.min_rel_intensityAnalysis_Settings.scan_rateAnalysis_Settings.boarder_thresholdAnalysis_Settings.boarder_windowAnalysis_Settings.heightAnalysis_Settings.indices_rangeAnalysis_Settings.max_half_windowAnalysis_Settings.max_isotopic_diffAnalysis_Settings.min_rel_intensityAnalysis_Settings.pop()Analysis_Settings.prominence_fidAnalysis_Settings.prominence_msAnalysis_Settings.savgol_windowAnalysis_Settings.scan_rateAnalysis_Settings.snAnalysis_Settings.time_rangeAnalysis_Settings.trace_prominenceAnalysis_Settings.update()Analysis_Settings.width
- pygecko.gc_tools.analysis.quantification module
- pygecko.gc_tools.analysis.retention_indices module
- pygecko.gc_tools.analysis.spectral_matching module
- Module contents
- pygecko.gc_tools.injection package
- Submodules
- pygecko.gc_tools.injection.fid_injection module
FID_InjectionFID_Injection.injector_posFID_Injection.sample_numberFID_Injection.acq_timeFID_Injection.data_methodFID_Injection.solvent_delayFID_Injection.chromatogramFID_Injection.processed_chromatogramFID_Injection.peaksFID_Injection.detectorFID_Injection.acq_timeFID_Injection.analysis_settingsFID_Injection.baseline_correction()FID_Injection.chromatogramFID_Injection.detectorFID_Injection.injector_posFID_Injection.integrate()FID_Injection.peaksFID_Injection.pick_peaks()FID_Injection.processed_chromatogramFID_Injection.quantify()FID_Injection.report()FID_Injection.sample_numberFID_Injection.solvent_delay
- pygecko.gc_tools.injection.injection module
InjectionInjection.acq_methodInjection.instrument_nameInjection.sample_descriptionInjection.sample_nameInjection.sample_typeInjection.vial_posInjection.internal_standardInjection.peaksInjection.acq_methodInjection.analysis_settingsInjection.chromatogramInjection.detectorInjection.flag_peak()Injection.get_plate_position()Injection.instrument_nameInjection.internal_standardInjection.match_ri()Injection.peaksInjection.plate_posInjection.sample_descriptionInjection.sample_nameInjection.sample_typeInjection.save()Injection.set_internal_standard()Injection.set_plate_position()Injection.vial_posInjection.view_chromatogram()
load_injection()
- pygecko.gc_tools.injection.ms_injection module
MS_InjectionMS_Injection.chromatogramMS_Injection.peaksMS_Injection.scansMS_Injection.detectorMS_Injection.analysis_settingsMS_Injection.solvent_delayMS_Injection.analysis_settingsMS_Injection.chromatogramMS_Injection.detectorMS_Injection.match_mol()MS_Injection.match_mz()MS_Injection.peaksMS_Injection.pick_peaks()MS_Injection.save_peaks_mass_spectrum()MS_Injection.scansMS_Injection.solvent_delay
- Module contents
- pygecko.gc_tools.peak package
- pygecko.gc_tools.sequence package
- Submodules
- pygecko.gc_tools.sequence.fid_sequence module
- pygecko.gc_tools.sequence.gc_sequence module
GC_SequenceGC_Sequence.sequence_nameGC_Sequence.instrument_nameGC_Sequence.injectionsGC_Sequence.internal_standardGC_Sequence.detectorGC_Sequence.get_injection_by_pos()GC_Sequence.injectionsGC_Sequence.instrument_nameGC_Sequence.internal_standardGC_Sequence.pick_peaks()GC_Sequence.save()GC_Sequence.sequence_nameGC_Sequence.set_internal_standard()
load_sequence()save_sequence()
- pygecko.gc_tools.sequence.ms_sequence module
- Module contents
Submodules
pygecko.gc_tools.analyte module
- class pygecko.gc_tools.analyte.Analyte(rt: float | int, name: str | None = None, smiles: str | None = None)
Bases:
objectAnalyte class for storing information about analytes.
- rt
Retention time of analyte.
- Type:
float
- name
Name of analyte.
- Type:
str
- smiles
SMILES string of analyte.
- Type:
str
- mol
RDKit molecule object of analyte.
- Type:
Mol
- mol
- mz: None | int
- name: str
- rt: float | int
- smiles: str
pygecko.gc_tools.utilities module
- class pygecko.gc_tools.utilities.Utilities
Bases:
object- static check_interval(value: float, midpoint: float, tolerance: float) bool
Takes in a value, midpoint, and tolerance and returns True if the value is within the interval defined by the midpoint and tolerance.
- static convert_time_to_scan(time_value: float | Sequence[float], scan_rate: float) list[int]
Takes in single time or sequence of two times in minutes, returns the closest scan index or a sequence of two indices.
- static find_empty_ranges(chromatogram: ndarray, *, threshold: float = 0.0, min_duration: float = 0.0) list[tuple[float, float]]
Find contiguous time ranges where the signal is “empty” (<= threshold or NaN).
- Parameters:
time_axis (np.ndarray) – 1D array of times (same length as signal), monotonically increasing.
signal (np.ndarray) – 1D array of signal values.
threshold (float) – Values <= threshold are considered empty. Default 0.0.
min_duration (float) – Minimum duration (in time units of time_axis) to report a gap. Default 0.0.
- Returns:
List of (start_time, end_time) for empty ranges.
- Return type:
list[tuple[float, float]]