diff --git a/main/imspy/.buildinfo b/main/imspy/.buildinfo
new file mode 100644
index 00000000..b7e87682
--- /dev/null
+++ b/main/imspy/.buildinfo
@@ -0,0 +1,4 @@
+# Sphinx build info version 1
+# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
+config: 6a2a48b2f86eb88b01a898cf9d4af968
+tags: 645f666f9bcd5a90fca523b33c5a78b7
diff --git a/main/imspy/.doctrees/environment.pickle b/main/imspy/.doctrees/environment.pickle
new file mode 100644
index 00000000..8b1f720b
Binary files /dev/null and b/main/imspy/.doctrees/environment.pickle differ
diff --git a/main/imspy/.doctrees/imspy.algorithm.ccs.doctree b/main/imspy/.doctrees/imspy.algorithm.ccs.doctree
new file mode 100644
index 00000000..b72dabcc
Binary files /dev/null and b/main/imspy/.doctrees/imspy.algorithm.ccs.doctree differ
diff --git a/main/imspy/.doctrees/imspy.algorithm.doctree b/main/imspy/.doctrees/imspy.algorithm.doctree
new file mode 100644
index 00000000..30f28249
Binary files /dev/null and b/main/imspy/.doctrees/imspy.algorithm.doctree differ
diff --git a/main/imspy/.doctrees/imspy.algorithm.intensity.doctree b/main/imspy/.doctrees/imspy.algorithm.intensity.doctree
new file mode 100644
index 00000000..777a0176
Binary files /dev/null and b/main/imspy/.doctrees/imspy.algorithm.intensity.doctree differ
diff --git a/main/imspy/.doctrees/imspy.algorithm.ionization.doctree b/main/imspy/.doctrees/imspy.algorithm.ionization.doctree
new file mode 100644
index 00000000..36583d01
Binary files /dev/null and b/main/imspy/.doctrees/imspy.algorithm.ionization.doctree differ
diff --git a/main/imspy/.doctrees/imspy.algorithm.pretrained.doctree b/main/imspy/.doctrees/imspy.algorithm.pretrained.doctree
new file mode 100644
index 00000000..a6d5b9e3
Binary files /dev/null and b/main/imspy/.doctrees/imspy.algorithm.pretrained.doctree differ
diff --git a/main/imspy/.doctrees/imspy.algorithm.rt.doctree b/main/imspy/.doctrees/imspy.algorithm.rt.doctree
new file mode 100644
index 00000000..d361e4c8
Binary files /dev/null and b/main/imspy/.doctrees/imspy.algorithm.rt.doctree differ
diff --git a/main/imspy/.doctrees/imspy.chemistry.doctree b/main/imspy/.doctrees/imspy.chemistry.doctree
new file mode 100644
index 00000000..27c322cd
Binary files /dev/null and b/main/imspy/.doctrees/imspy.chemistry.doctree differ
diff --git a/main/imspy/.doctrees/imspy.data.doctree b/main/imspy/.doctrees/imspy.data.doctree
new file mode 100644
index 00000000..16e10209
Binary files /dev/null and b/main/imspy/.doctrees/imspy.data.doctree differ
diff --git a/main/imspy/.doctrees/imspy.doctree b/main/imspy/.doctrees/imspy.doctree
new file mode 100644
index 00000000..bb53d7ae
Binary files /dev/null and b/main/imspy/.doctrees/imspy.doctree differ
diff --git a/main/imspy/.doctrees/imspy.simulation.doctree b/main/imspy/.doctrees/imspy.simulation.doctree
new file mode 100644
index 00000000..9ae32a6d
Binary files /dev/null and b/main/imspy/.doctrees/imspy.simulation.doctree differ
diff --git a/main/imspy/.doctrees/imspy.simulation.timsim.doctree b/main/imspy/.doctrees/imspy.simulation.timsim.doctree
new file mode 100644
index 00000000..079bf372
Binary files /dev/null and b/main/imspy/.doctrees/imspy.simulation.timsim.doctree differ
diff --git a/main/imspy/.doctrees/imspy.simulation.timsim.jobs.doctree b/main/imspy/.doctrees/imspy.simulation.timsim.jobs.doctree
new file mode 100644
index 00000000..22511f74
Binary files /dev/null and b/main/imspy/.doctrees/imspy.simulation.timsim.jobs.doctree differ
diff --git a/main/imspy/.doctrees/imspy.timstof.dbsearch.doctree b/main/imspy/.doctrees/imspy.timstof.dbsearch.doctree
new file mode 100644
index 00000000..353f0903
Binary files /dev/null and b/main/imspy/.doctrees/imspy.timstof.dbsearch.doctree differ
diff --git a/main/imspy/.doctrees/imspy.timstof.doctree b/main/imspy/.doctrees/imspy.timstof.doctree
new file mode 100644
index 00000000..fbb8f46d
Binary files /dev/null and b/main/imspy/.doctrees/imspy.timstof.doctree differ
diff --git a/main/imspy/.doctrees/imspy.utility.doctree b/main/imspy/.doctrees/imspy.utility.doctree
new file mode 100644
index 00000000..f5bbfa40
Binary files /dev/null and b/main/imspy/.doctrees/imspy.utility.doctree differ
diff --git a/main/imspy/.doctrees/imspy.vis.doctree b/main/imspy/.doctrees/imspy.vis.doctree
new file mode 100644
index 00000000..9f906800
Binary files /dev/null and b/main/imspy/.doctrees/imspy.vis.doctree differ
diff --git a/main/imspy/.doctrees/index.doctree b/main/imspy/.doctrees/index.doctree
new file mode 100644
index 00000000..ab2f3705
Binary files /dev/null and b/main/imspy/.doctrees/index.doctree differ
diff --git a/main/imspy/.doctrees/modules.doctree b/main/imspy/.doctrees/modules.doctree
new file mode 100644
index 00000000..0a2d2cd6
Binary files /dev/null and b/main/imspy/.doctrees/modules.doctree differ
diff --git a/main/imspy/_sources/imspy.algorithm.ccs.rst.txt b/main/imspy/_sources/imspy.algorithm.ccs.rst.txt
new file mode 100644
index 00000000..cd2efe2f
--- /dev/null
+++ b/main/imspy/_sources/imspy.algorithm.ccs.rst.txt
@@ -0,0 +1,21 @@
+imspy.algorithm.ccs package
+===========================
+
+Submodules
+----------
+
+imspy.algorithm.ccs.predictors module
+-------------------------------------
+
+.. automodule:: imspy.algorithm.ccs.predictors
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+Module contents
+---------------
+
+.. automodule:: imspy.algorithm.ccs
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/main/imspy/_sources/imspy.algorithm.intensity.rst.txt b/main/imspy/_sources/imspy.algorithm.intensity.rst.txt
new file mode 100644
index 00000000..034c011b
--- /dev/null
+++ b/main/imspy/_sources/imspy.algorithm.intensity.rst.txt
@@ -0,0 +1,29 @@
+imspy.algorithm.intensity package
+=================================
+
+Submodules
+----------
+
+imspy.algorithm.intensity.predictors module
+-------------------------------------------
+
+.. automodule:: imspy.algorithm.intensity.predictors
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.algorithm.intensity.utility module
+----------------------------------------
+
+.. automodule:: imspy.algorithm.intensity.utility
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+Module contents
+---------------
+
+.. automodule:: imspy.algorithm.intensity
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/main/imspy/_sources/imspy.algorithm.ionization.rst.txt b/main/imspy/_sources/imspy.algorithm.ionization.rst.txt
new file mode 100644
index 00000000..74badae2
--- /dev/null
+++ b/main/imspy/_sources/imspy.algorithm.ionization.rst.txt
@@ -0,0 +1,21 @@
+imspy.algorithm.ionization package
+==================================
+
+Submodules
+----------
+
+imspy.algorithm.ionization.predictors module
+--------------------------------------------
+
+.. automodule:: imspy.algorithm.ionization.predictors
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+Module contents
+---------------
+
+.. automodule:: imspy.algorithm.ionization
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/main/imspy/_sources/imspy.algorithm.pretrained.rst.txt b/main/imspy/_sources/imspy.algorithm.pretrained.rst.txt
new file mode 100644
index 00000000..a4deda59
--- /dev/null
+++ b/main/imspy/_sources/imspy.algorithm.pretrained.rst.txt
@@ -0,0 +1,10 @@
+imspy.algorithm.pretrained package
+==================================
+
+Module contents
+---------------
+
+.. automodule:: imspy.algorithm.pretrained
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/main/imspy/_sources/imspy.algorithm.rst.txt b/main/imspy/_sources/imspy.algorithm.rst.txt
new file mode 100644
index 00000000..87cf6237
--- /dev/null
+++ b/main/imspy/_sources/imspy.algorithm.rst.txt
@@ -0,0 +1,49 @@
+imspy.algorithm package
+=======================
+
+Subpackages
+-----------
+
+.. toctree::
+ :maxdepth: 4
+
+ imspy.algorithm.ccs
+ imspy.algorithm.intensity
+ imspy.algorithm.ionization
+ imspy.algorithm.pretrained
+ imspy.algorithm.rt
+
+Submodules
+----------
+
+imspy.algorithm.hashing module
+------------------------------
+
+.. automodule:: imspy.algorithm.hashing
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.algorithm.mixture module
+------------------------------
+
+.. automodule:: imspy.algorithm.mixture
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.algorithm.utility module
+------------------------------
+
+.. automodule:: imspy.algorithm.utility
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+Module contents
+---------------
+
+.. automodule:: imspy.algorithm
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/main/imspy/_sources/imspy.algorithm.rt.rst.txt b/main/imspy/_sources/imspy.algorithm.rt.rst.txt
new file mode 100644
index 00000000..4f4b2d24
--- /dev/null
+++ b/main/imspy/_sources/imspy.algorithm.rt.rst.txt
@@ -0,0 +1,21 @@
+imspy.algorithm.rt package
+==========================
+
+Submodules
+----------
+
+imspy.algorithm.rt.predictors module
+------------------------------------
+
+.. automodule:: imspy.algorithm.rt.predictors
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+Module contents
+---------------
+
+.. automodule:: imspy.algorithm.rt
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/main/imspy/_sources/imspy.chemistry.rst.txt b/main/imspy/_sources/imspy.chemistry.rst.txt
new file mode 100644
index 00000000..6d2839f5
--- /dev/null
+++ b/main/imspy/_sources/imspy.chemistry.rst.txt
@@ -0,0 +1,69 @@
+imspy.chemistry package
+=======================
+
+Submodules
+----------
+
+imspy.chemistry.amino\_acids module
+-----------------------------------
+
+.. automodule:: imspy.chemistry.amino_acids
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.chemistry.constants module
+--------------------------------
+
+.. automodule:: imspy.chemistry.constants
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.chemistry.elements module
+-------------------------------
+
+.. automodule:: imspy.chemistry.elements
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.chemistry.mobility module
+-------------------------------
+
+.. automodule:: imspy.chemistry.mobility
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.chemistry.sum\_formula module
+-----------------------------------
+
+.. automodule:: imspy.chemistry.sum_formula
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.chemistry.unimod module
+-----------------------------
+
+.. automodule:: imspy.chemistry.unimod
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.chemistry.utility module
+------------------------------
+
+.. automodule:: imspy.chemistry.utility
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+Module contents
+---------------
+
+.. automodule:: imspy.chemistry
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/main/imspy/_sources/imspy.data.rst.txt b/main/imspy/_sources/imspy.data.rst.txt
new file mode 100644
index 00000000..3fde6861
--- /dev/null
+++ b/main/imspy/_sources/imspy.data.rst.txt
@@ -0,0 +1,29 @@
+imspy.data package
+==================
+
+Submodules
+----------
+
+imspy.data.peptide module
+-------------------------
+
+.. automodule:: imspy.data.peptide
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.data.spectrum module
+--------------------------
+
+.. automodule:: imspy.data.spectrum
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+Module contents
+---------------
+
+.. automodule:: imspy.data
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/main/imspy/_sources/imspy.rst.txt b/main/imspy/_sources/imspy.rst.txt
new file mode 100644
index 00000000..d9fd3c78
--- /dev/null
+++ b/main/imspy/_sources/imspy.rst.txt
@@ -0,0 +1,12 @@
+imspy Package
+=============
+
+The `imspy` package provides tools for X, Y, and Z. This page introduces the main module and gives an overview of its submodules.
+
+API Documentation
+-----------------
+
+.. automodule:: imspy
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/main/imspy/_sources/imspy.simulation.rst.txt b/main/imspy/_sources/imspy.simulation.rst.txt
new file mode 100644
index 00000000..10d90cfb
--- /dev/null
+++ b/main/imspy/_sources/imspy.simulation.rst.txt
@@ -0,0 +1,101 @@
+imspy.simulation package
+========================
+
+Subpackages
+-----------
+
+.. toctree::
+ :maxdepth: 4
+
+ imspy.simulation.timsim
+
+Submodules
+----------
+
+imspy.simulation.acquisition module
+-----------------------------------
+
+.. automodule:: imspy.simulation.acquisition
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.simulation.annotation module
+----------------------------------
+
+.. automodule:: imspy.simulation.annotation
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.simulation.experiment module
+----------------------------------
+
+.. automodule:: imspy.simulation.experiment
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.simulation.feature module
+-------------------------------
+
+.. automodule:: imspy.simulation.feature
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.simulation.handle module
+------------------------------
+
+.. automodule:: imspy.simulation.handle
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.simulation.isotopes module
+--------------------------------
+
+.. automodule:: imspy.simulation.isotopes
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.simulation.noise module
+-----------------------------
+
+.. automodule:: imspy.simulation.noise
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.simulation.proteome module
+--------------------------------
+
+.. automodule:: imspy.simulation.proteome
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.simulation.tdf module
+---------------------------
+
+.. automodule:: imspy.simulation.tdf
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.simulation.utility module
+-------------------------------
+
+.. automodule:: imspy.simulation.utility
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+Module contents
+---------------
+
+.. automodule:: imspy.simulation
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/main/imspy/_sources/imspy.simulation.timsim.jobs.rst.txt b/main/imspy/_sources/imspy.simulation.timsim.jobs.rst.txt
new file mode 100644
index 00000000..edbbfe66
--- /dev/null
+++ b/main/imspy/_sources/imspy.simulation.timsim.jobs.rst.txt
@@ -0,0 +1,125 @@
+imspy.simulation.timsim.jobs package
+====================================
+
+Submodules
+----------
+
+imspy.simulation.timsim.jobs.add\_noise\_from\_real\_data module
+----------------------------------------------------------------
+
+.. automodule:: imspy.simulation.timsim.jobs.add_noise_from_real_data
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.simulation.timsim.jobs.assemble\_frames module
+----------------------------------------------------
+
+.. automodule:: imspy.simulation.timsim.jobs.assemble_frames
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.simulation.timsim.jobs.build\_acquisition module
+------------------------------------------------------
+
+.. automodule:: imspy.simulation.timsim.jobs.build_acquisition
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.simulation.timsim.jobs.digest\_fasta module
+-------------------------------------------------
+
+.. automodule:: imspy.simulation.timsim.jobs.digest_fasta
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.simulation.timsim.jobs.simulate\_charge\_states module
+------------------------------------------------------------
+
+.. automodule:: imspy.simulation.timsim.jobs.simulate_charge_states
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.simulation.timsim.jobs.simulate\_fragment\_intensities module
+-------------------------------------------------------------------
+
+.. automodule:: imspy.simulation.timsim.jobs.simulate_fragment_intensities
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.simulation.timsim.jobs.simulate\_frame\_distributions module
+------------------------------------------------------------------
+
+.. automodule:: imspy.simulation.timsim.jobs.simulate_frame_distributions
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.simulation.timsim.jobs.simulate\_frame\_distributions\_emg module
+-----------------------------------------------------------------------
+
+.. automodule:: imspy.simulation.timsim.jobs.simulate_frame_distributions_emg
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.simulation.timsim.jobs.simulate\_ion\_mobilities module
+-------------------------------------------------------------
+
+.. automodule:: imspy.simulation.timsim.jobs.simulate_ion_mobilities
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.simulation.timsim.jobs.simulate\_occurrences module
+---------------------------------------------------------
+
+.. automodule:: imspy.simulation.timsim.jobs.simulate_occurrences
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.simulation.timsim.jobs.simulate\_precursor\_spectra module
+----------------------------------------------------------------
+
+.. automodule:: imspy.simulation.timsim.jobs.simulate_precursor_spectra
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.simulation.timsim.jobs.simulate\_retention\_time module
+-------------------------------------------------------------
+
+.. automodule:: imspy.simulation.timsim.jobs.simulate_retention_time
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.simulation.timsim.jobs.simulate\_scan\_distributions module
+-----------------------------------------------------------------
+
+.. automodule:: imspy.simulation.timsim.jobs.simulate_scan_distributions
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.simulation.timsim.jobs.utility module
+-------------------------------------------
+
+.. automodule:: imspy.simulation.timsim.jobs.utility
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+Module contents
+---------------
+
+.. automodule:: imspy.simulation.timsim.jobs
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/main/imspy/_sources/imspy.simulation.timsim.rst.txt b/main/imspy/_sources/imspy.simulation.timsim.rst.txt
new file mode 100644
index 00000000..b7f1cc39
--- /dev/null
+++ b/main/imspy/_sources/imspy.simulation.timsim.rst.txt
@@ -0,0 +1,29 @@
+imspy.simulation.timsim package
+===============================
+
+Subpackages
+-----------
+
+.. toctree::
+ :maxdepth: 4
+
+ imspy.simulation.timsim.jobs
+
+Submodules
+----------
+
+imspy.simulation.timsim.simulator module
+----------------------------------------
+
+.. automodule:: imspy.simulation.timsim.simulator
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+Module contents
+---------------
+
+.. automodule:: imspy.simulation.timsim
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/main/imspy/_sources/imspy.timstof.dbsearch.rst.txt b/main/imspy/_sources/imspy.timstof.dbsearch.rst.txt
new file mode 100644
index 00000000..dbceeb0d
--- /dev/null
+++ b/main/imspy/_sources/imspy.timstof.dbsearch.rst.txt
@@ -0,0 +1,45 @@
+imspy.timstof.dbsearch package
+==============================
+
+Submodules
+----------
+
+imspy.timstof.dbsearch.imspy\_dda module
+----------------------------------------
+
+.. automodule:: imspy.timstof.dbsearch.imspy_dda
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.timstof.dbsearch.imspy\_rescore\_sage module
+--------------------------------------------------
+
+.. automodule:: imspy.timstof.dbsearch.imspy_rescore_sage
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.timstof.dbsearch.sage\_output\_utility module
+---------------------------------------------------
+
+.. automodule:: imspy.timstof.dbsearch.sage_output_utility
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.timstof.dbsearch.utility module
+-------------------------------------
+
+.. automodule:: imspy.timstof.dbsearch.utility
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+Module contents
+---------------
+
+.. automodule:: imspy.timstof.dbsearch
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/main/imspy/_sources/imspy.timstof.rst.txt b/main/imspy/_sources/imspy.timstof.rst.txt
new file mode 100644
index 00000000..da7a3f97
--- /dev/null
+++ b/main/imspy/_sources/imspy.timstof.rst.txt
@@ -0,0 +1,77 @@
+imspy.timstof package
+=====================
+
+Subpackages
+-----------
+
+.. toctree::
+ :maxdepth: 4
+
+ imspy.timstof.dbsearch
+
+Submodules
+----------
+
+imspy.timstof.collision module
+------------------------------
+
+.. automodule:: imspy.timstof.collision
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.timstof.data module
+-------------------------
+
+.. automodule:: imspy.timstof.data
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.timstof.dda module
+------------------------
+
+.. automodule:: imspy.timstof.dda
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.timstof.dia module
+------------------------
+
+.. automodule:: imspy.timstof.dia
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.timstof.frame module
+--------------------------
+
+.. automodule:: imspy.timstof.frame
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.timstof.quadrupole module
+-------------------------------
+
+.. automodule:: imspy.timstof.quadrupole
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.timstof.slice module
+--------------------------
+
+.. automodule:: imspy.timstof.slice
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+Module contents
+---------------
+
+.. automodule:: imspy.timstof
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/main/imspy/_sources/imspy.utility.rst.txt b/main/imspy/_sources/imspy.utility.rst.txt
new file mode 100644
index 00000000..7890330a
--- /dev/null
+++ b/main/imspy/_sources/imspy.utility.rst.txt
@@ -0,0 +1,29 @@
+imspy.utility package
+=====================
+
+Submodules
+----------
+
+imspy.utility.sequence module
+-----------------------------
+
+.. automodule:: imspy.utility.sequence
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+imspy.utility.utilities module
+------------------------------
+
+.. automodule:: imspy.utility.utilities
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+Module contents
+---------------
+
+.. automodule:: imspy.utility
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/main/imspy/_sources/imspy.vis.rst.txt b/main/imspy/_sources/imspy.vis.rst.txt
new file mode 100644
index 00000000..d9470220
--- /dev/null
+++ b/main/imspy/_sources/imspy.vis.rst.txt
@@ -0,0 +1,21 @@
+imspy.vis package
+=================
+
+Submodules
+----------
+
+imspy.vis.pointcloud module
+---------------------------
+
+.. automodule:: imspy.vis.pointcloud
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+Module contents
+---------------
+
+.. automodule:: imspy.vis
+ :members:
+ :undoc-members:
+ :show-inheritance:
diff --git a/main/imspy/_sources/index.rst.txt b/main/imspy/_sources/index.rst.txt
new file mode 100644
index 00000000..3fb94e6c
--- /dev/null
+++ b/main/imspy/_sources/index.rst.txt
@@ -0,0 +1,21 @@
+.. imspy documentation master file
+
+Welcome to imspy's documentation!
+==================================
+
+This is the main page of the `imspy` documentation.
+
+Contents:
+
+.. toctree::
+ :maxdepth: 2
+ :caption: Main Modules
+
+ modules
+
+Indices and tables
+==================
+
+* :ref:`genindex`
+* :ref:`modindex`
+* :ref:`search`
diff --git a/main/imspy/_sources/modules.rst.txt b/main/imspy/_sources/modules.rst.txt
new file mode 100644
index 00000000..acf9d62f
--- /dev/null
+++ b/main/imspy/_sources/modules.rst.txt
@@ -0,0 +1,16 @@
+imspy Modules
+=============
+
+The `imspy` package contains the following submodules:
+
+.. toctree::
+ :maxdepth: 2
+
+ imspy
+ imspy.algorithm
+ imspy.chemistry
+ imspy.data
+ imspy.simulation
+ imspy.timstof
+ imspy.utility
+ imspy.vis
diff --git a/main/imspy/_static/alabaster.css b/main/imspy/_static/alabaster.css
new file mode 100644
index 00000000..7e75bf8f
--- /dev/null
+++ b/main/imspy/_static/alabaster.css
@@ -0,0 +1,663 @@
+/* -- page layout ----------------------------------------------------------- */
+
+body {
+ font-family: Georgia, serif;
+ font-size: 17px;
+ background-color: #fff;
+ color: #000;
+ margin: 0;
+ padding: 0;
+}
+
+
+div.document {
+ width: 940px;
+ margin: 30px auto 0 auto;
+}
+
+div.documentwrapper {
+ float: left;
+ width: 100%;
+}
+
+div.bodywrapper {
+ margin: 0 0 0 220px;
+}
+
+div.sphinxsidebar {
+ width: 220px;
+ font-size: 14px;
+ line-height: 1.5;
+}
+
+hr {
+ border: 1px solid #B1B4B6;
+}
+
+div.body {
+ background-color: #fff;
+ color: #3E4349;
+ padding: 0 30px 0 30px;
+}
+
+div.body > .section {
+ text-align: left;
+}
+
+div.footer {
+ width: 940px;
+ margin: 20px auto 30px auto;
+ font-size: 14px;
+ color: #888;
+ text-align: right;
+}
+
+div.footer a {
+ color: #888;
+}
+
+p.caption {
+ font-family: inherit;
+ font-size: inherit;
+}
+
+
+div.relations {
+ display: none;
+}
+
+
+div.sphinxsidebar {
+ max-height: 100%;
+ overflow-y: auto;
+}
+
+div.sphinxsidebar a {
+ color: #444;
+ text-decoration: none;
+ border-bottom: 1px dotted #999;
+}
+
+div.sphinxsidebar a:hover {
+ border-bottom: 1px solid #999;
+}
+
+div.sphinxsidebarwrapper {
+ padding: 18px 10px;
+}
+
+div.sphinxsidebarwrapper p.logo {
+ padding: 0;
+ margin: -10px 0 0 0px;
+ text-align: center;
+}
+
+div.sphinxsidebarwrapper h1.logo {
+ margin-top: -10px;
+ text-align: center;
+ margin-bottom: 5px;
+ text-align: left;
+}
+
+div.sphinxsidebarwrapper h1.logo-name {
+ margin-top: 0px;
+}
+
+div.sphinxsidebarwrapper p.blurb {
+ margin-top: 0;
+ font-style: normal;
+}
+
+div.sphinxsidebar h3,
+div.sphinxsidebar h4 {
+ font-family: Georgia, serif;
+ color: #444;
+ font-size: 24px;
+ font-weight: normal;
+ margin: 0 0 5px 0;
+ padding: 0;
+}
+
+div.sphinxsidebar h4 {
+ font-size: 20px;
+}
+
+div.sphinxsidebar h3 a {
+ color: #444;
+}
+
+div.sphinxsidebar p.logo a,
+div.sphinxsidebar h3 a,
+div.sphinxsidebar p.logo a:hover,
+div.sphinxsidebar h3 a:hover {
+ border: none;
+}
+
+div.sphinxsidebar p {
+ color: #555;
+ margin: 10px 0;
+}
+
+div.sphinxsidebar ul {
+ margin: 10px 0;
+ padding: 0;
+ color: #000;
+}
+
+div.sphinxsidebar ul li.toctree-l1 > a {
+ font-size: 120%;
+}
+
+div.sphinxsidebar ul li.toctree-l2 > a {
+ font-size: 110%;
+}
+
+div.sphinxsidebar input {
+ border: 1px solid #CCC;
+ font-family: Georgia, serif;
+ font-size: 1em;
+}
+
+div.sphinxsidebar #searchbox {
+ margin: 1em 0;
+}
+
+div.sphinxsidebar .search > div {
+ display: table-cell;
+}
+
+div.sphinxsidebar hr {
+ border: none;
+ height: 1px;
+ color: #AAA;
+ background: #AAA;
+
+ text-align: left;
+ margin-left: 0;
+ width: 50%;
+}
+
+div.sphinxsidebar .badge {
+ border-bottom: none;
+}
+
+div.sphinxsidebar .badge:hover {
+ border-bottom: none;
+}
+
+/* To address an issue with donation coming after search */
+div.sphinxsidebar h3.donation {
+ margin-top: 10px;
+}
+
+/* -- body styles ----------------------------------------------------------- */
+
+a {
+ color: #004B6B;
+ text-decoration: underline;
+}
+
+a:hover {
+ color: #6D4100;
+ text-decoration: underline;
+}
+
+div.body h1,
+div.body h2,
+div.body h3,
+div.body h4,
+div.body h5,
+div.body h6 {
+ font-family: Georgia, serif;
+ font-weight: normal;
+ margin: 30px 0px 10px 0px;
+ padding: 0;
+}
+
+div.body h1 { margin-top: 0; padding-top: 0; font-size: 240%; }
+div.body h2 { font-size: 180%; }
+div.body h3 { font-size: 150%; }
+div.body h4 { font-size: 130%; }
+div.body h5 { font-size: 100%; }
+div.body h6 { font-size: 100%; }
+
+a.headerlink {
+ color: #DDD;
+ padding: 0 4px;
+ text-decoration: none;
+}
+
+a.headerlink:hover {
+ color: #444;
+ background: #EAEAEA;
+}
+
+div.body p, div.body dd, div.body li {
+ line-height: 1.4em;
+}
+
+div.admonition {
+ margin: 20px 0px;
+ padding: 10px 30px;
+ background-color: #EEE;
+ border: 1px solid #CCC;
+}
+
+div.admonition tt.xref, div.admonition code.xref, div.admonition a tt {
+ background-color: #FBFBFB;
+ border-bottom: 1px solid #fafafa;
+}
+
+div.admonition p.admonition-title {
+ font-family: Georgia, serif;
+ font-weight: normal;
+ font-size: 24px;
+ margin: 0 0 10px 0;
+ padding: 0;
+ line-height: 1;
+}
+
+div.admonition p.last {
+ margin-bottom: 0;
+}
+
+dt:target, .highlight {
+ background: #FAF3E8;
+}
+
+div.warning {
+ background-color: #FCC;
+ border: 1px solid #FAA;
+}
+
+div.danger {
+ background-color: #FCC;
+ border: 1px solid #FAA;
+ -moz-box-shadow: 2px 2px 4px #D52C2C;
+ -webkit-box-shadow: 2px 2px 4px #D52C2C;
+ box-shadow: 2px 2px 4px #D52C2C;
+}
+
+div.error {
+ background-color: #FCC;
+ border: 1px solid #FAA;
+ -moz-box-shadow: 2px 2px 4px #D52C2C;
+ -webkit-box-shadow: 2px 2px 4px #D52C2C;
+ box-shadow: 2px 2px 4px #D52C2C;
+}
+
+div.caution {
+ background-color: #FCC;
+ border: 1px solid #FAA;
+}
+
+div.attention {
+ background-color: #FCC;
+ border: 1px solid #FAA;
+}
+
+div.important {
+ background-color: #EEE;
+ border: 1px solid #CCC;
+}
+
+div.note {
+ background-color: #EEE;
+ border: 1px solid #CCC;
+}
+
+div.tip {
+ background-color: #EEE;
+ border: 1px solid #CCC;
+}
+
+div.hint {
+ background-color: #EEE;
+ border: 1px solid #CCC;
+}
+
+div.seealso {
+ background-color: #EEE;
+ border: 1px solid #CCC;
+}
+
+div.topic {
+ background-color: #EEE;
+}
+
+p.admonition-title {
+ display: inline;
+}
+
+p.admonition-title:after {
+ content: ":";
+}
+
+pre, tt, code {
+ font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
+ font-size: 0.9em;
+}
+
+.hll {
+ background-color: #FFC;
+ margin: 0 -12px;
+ padding: 0 12px;
+ display: block;
+}
+
+img.screenshot {
+}
+
+tt.descname, tt.descclassname, code.descname, code.descclassname {
+ font-size: 0.95em;
+}
+
+tt.descname, code.descname {
+ padding-right: 0.08em;
+}
+
+img.screenshot {
+ -moz-box-shadow: 2px 2px 4px #EEE;
+ -webkit-box-shadow: 2px 2px 4px #EEE;
+ box-shadow: 2px 2px 4px #EEE;
+}
+
+table.docutils {
+ border: 1px solid #888;
+ -moz-box-shadow: 2px 2px 4px #EEE;
+ -webkit-box-shadow: 2px 2px 4px #EEE;
+ box-shadow: 2px 2px 4px #EEE;
+}
+
+table.docutils td, table.docutils th {
+ border: 1px solid #888;
+ padding: 0.25em 0.7em;
+}
+
+table.field-list, table.footnote {
+ border: none;
+ -moz-box-shadow: none;
+ -webkit-box-shadow: none;
+ box-shadow: none;
+}
+
+table.footnote {
+ margin: 15px 0;
+ width: 100%;
+ border: 1px solid #EEE;
+ background: #FDFDFD;
+ font-size: 0.9em;
+}
+
+table.footnote + table.footnote {
+ margin-top: -15px;
+ border-top: none;
+}
+
+table.field-list th {
+ padding: 0 0.8em 0 0;
+}
+
+table.field-list td {
+ padding: 0;
+}
+
+table.field-list p {
+ margin-bottom: 0.8em;
+}
+
+/* Cloned from
+ * https://github.com/sphinx-doc/sphinx/commit/ef60dbfce09286b20b7385333d63a60321784e68
+ */
+.field-name {
+ -moz-hyphens: manual;
+ -ms-hyphens: manual;
+ -webkit-hyphens: manual;
+ hyphens: manual;
+}
+
+table.footnote td.label {
+ width: .1px;
+ padding: 0.3em 0 0.3em 0.5em;
+}
+
+table.footnote td {
+ padding: 0.3em 0.5em;
+}
+
+dl {
+ margin-left: 0;
+ margin-right: 0;
+ margin-top: 0;
+ padding: 0;
+}
+
+dl dd {
+ margin-left: 30px;
+}
+
+blockquote {
+ margin: 0 0 0 30px;
+ padding: 0;
+}
+
+ul, ol {
+ /* Matches the 30px from the narrow-screen "li > ul" selector below */
+ margin: 10px 0 10px 30px;
+ padding: 0;
+}
+
+pre {
+ background: unset;
+ padding: 7px 30px;
+ margin: 15px 0px;
+ line-height: 1.3em;
+}
+
+div.viewcode-block:target {
+ background: #ffd;
+}
+
+dl pre, blockquote pre, li pre {
+ margin-left: 0;
+ padding-left: 30px;
+}
+
+tt, code {
+ background-color: #ecf0f3;
+ color: #222;
+ /* padding: 1px 2px; */
+}
+
+tt.xref, code.xref, a tt {
+ background-color: #FBFBFB;
+ border-bottom: 1px solid #fff;
+}
+
+a.reference {
+ text-decoration: none;
+ border-bottom: 1px dotted #004B6B;
+}
+
+a.reference:hover {
+ border-bottom: 1px solid #6D4100;
+}
+
+/* Don't put an underline on images */
+a.image-reference, a.image-reference:hover {
+ border-bottom: none;
+}
+
+a.footnote-reference {
+ text-decoration: none;
+ font-size: 0.7em;
+ vertical-align: top;
+ border-bottom: 1px dotted #004B6B;
+}
+
+a.footnote-reference:hover {
+ border-bottom: 1px solid #6D4100;
+}
+
+a:hover tt, a:hover code {
+ background: #EEE;
+}
+
+@media screen and (max-width: 940px) {
+
+ body {
+ margin: 0;
+ padding: 20px 30px;
+ }
+
+ div.documentwrapper {
+ float: none;
+ background: #fff;
+ margin-left: 0;
+ margin-top: 0;
+ margin-right: 0;
+ margin-bottom: 0;
+ }
+
+ div.sphinxsidebar {
+ display: block;
+ float: none;
+ width: unset;
+ margin: 50px -30px -20px -30px;
+ padding: 10px 20px;
+ background: #333;
+ color: #FFF;
+ }
+
+ div.sphinxsidebar h3, div.sphinxsidebar h4, div.sphinxsidebar p,
+ div.sphinxsidebar h3 a {
+ color: #fff;
+ }
+
+ div.sphinxsidebar a {
+ color: #AAA;
+ }
+
+ div.sphinxsidebar p.logo {
+ display: none;
+ }
+
+ div.document {
+ width: 100%;
+ margin: 0;
+ }
+
+ div.footer {
+ display: none;
+ }
+
+ div.bodywrapper {
+ margin: 0;
+ }
+
+ div.body {
+ min-height: 0;
+ min-width: auto; /* fixes width on small screens, breaks .hll */
+ padding: 0;
+ }
+
+ .hll {
+ /* "fixes" the breakage */
+ width: max-content;
+ }
+
+ .rtd_doc_footer {
+ display: none;
+ }
+
+ .document {
+ width: auto;
+ }
+
+ .footer {
+ width: auto;
+ }
+
+ .github {
+ display: none;
+ }
+
+ ul {
+ margin-left: 0;
+ }
+
+ li > ul {
+ /* Matches the 30px from the "ul, ol" selector above */
+ margin-left: 30px;
+ }
+}
+
+
+/* misc. */
+
+.revsys-inline {
+ display: none!important;
+}
+
+/* Hide ugly table cell borders in ..bibliography:: directive output */
+table.docutils.citation, table.docutils.citation td, table.docutils.citation th {
+ border: none;
+ /* Below needed in some edge cases; if not applied, bottom shadows appear */
+ -moz-box-shadow: none;
+ -webkit-box-shadow: none;
+ box-shadow: none;
+}
+
+
+/* relbar */
+
+.related {
+ line-height: 30px;
+ width: 100%;
+ font-size: 0.9rem;
+}
+
+.related.top {
+ border-bottom: 1px solid #EEE;
+ margin-bottom: 20px;
+}
+
+.related.bottom {
+ border-top: 1px solid #EEE;
+}
+
+.related ul {
+ padding: 0;
+ margin: 0;
+ list-style: none;
+}
+
+.related li {
+ display: inline;
+}
+
+nav#rellinks {
+ float: right;
+}
+
+nav#rellinks li+li:before {
+ content: "|";
+}
+
+nav#breadcrumbs li+li:before {
+ content: "\00BB";
+}
+
+/* Hide certain items when printing */
+@media print {
+ div.related {
+ display: none;
+ }
+}
+
+img.github {
+ position: absolute;
+ top: 0;
+ border: 0;
+ right: 0;
+}
\ No newline at end of file
diff --git a/main/imspy/_static/basic.css b/main/imspy/_static/basic.css
new file mode 100644
index 00000000..d9846dac
--- /dev/null
+++ b/main/imspy/_static/basic.css
@@ -0,0 +1,914 @@
+/*
+ * Sphinx stylesheet -- basic theme.
+ */
+
+/* -- main layout ----------------------------------------------------------- */
+
+div.clearer {
+ clear: both;
+}
+
+div.section::after {
+ display: block;
+ content: '';
+ clear: left;
+}
+
+/* -- relbar ---------------------------------------------------------------- */
+
+div.related {
+ width: 100%;
+ font-size: 90%;
+}
+
+div.related h3 {
+ display: none;
+}
+
+div.related ul {
+ margin: 0;
+ padding: 0 0 0 10px;
+ list-style: none;
+}
+
+div.related li {
+ display: inline;
+}
+
+div.related li.right {
+ float: right;
+ margin-right: 5px;
+}
+
+/* -- sidebar --------------------------------------------------------------- */
+
+div.sphinxsidebarwrapper {
+ padding: 10px 5px 0 10px;
+}
+
+div.sphinxsidebar {
+ float: left;
+ width: 230px;
+ margin-left: -100%;
+ font-size: 90%;
+ word-wrap: break-word;
+ overflow-wrap : break-word;
+}
+
+div.sphinxsidebar ul {
+ list-style: none;
+}
+
+div.sphinxsidebar ul ul,
+div.sphinxsidebar ul.want-points {
+ margin-left: 20px;
+ list-style: square;
+}
+
+div.sphinxsidebar ul ul {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+
+div.sphinxsidebar form {
+ margin-top: 10px;
+}
+
+div.sphinxsidebar input {
+ border: 1px solid #98dbcc;
+ font-family: sans-serif;
+ font-size: 1em;
+}
+
+div.sphinxsidebar #searchbox form.search {
+ overflow: hidden;
+}
+
+div.sphinxsidebar #searchbox input[type="text"] {
+ float: left;
+ width: 80%;
+ padding: 0.25em;
+ box-sizing: border-box;
+}
+
+div.sphinxsidebar #searchbox input[type="submit"] {
+ float: left;
+ width: 20%;
+ border-left: none;
+ padding: 0.25em;
+ box-sizing: border-box;
+}
+
+
+img {
+ border: 0;
+ max-width: 100%;
+}
+
+/* -- search page ----------------------------------------------------------- */
+
+ul.search {
+ margin-top: 10px;
+}
+
+ul.search li {
+ padding: 5px 0;
+}
+
+ul.search li a {
+ font-weight: bold;
+}
+
+ul.search li p.context {
+ color: #888;
+ margin: 2px 0 0 30px;
+ text-align: left;
+}
+
+ul.keywordmatches li.goodmatch a {
+ font-weight: bold;
+}
+
+/* -- index page ------------------------------------------------------------ */
+
+table.contentstable {
+ width: 90%;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+table.contentstable p.biglink {
+ line-height: 150%;
+}
+
+a.biglink {
+ font-size: 1.3em;
+}
+
+span.linkdescr {
+ font-style: italic;
+ padding-top: 5px;
+ font-size: 90%;
+}
+
+/* -- general index --------------------------------------------------------- */
+
+table.indextable {
+ width: 100%;
+}
+
+table.indextable td {
+ text-align: left;
+ vertical-align: top;
+}
+
+table.indextable ul {
+ margin-top: 0;
+ margin-bottom: 0;
+ list-style-type: none;
+}
+
+table.indextable > tbody > tr > td > ul {
+ padding-left: 0em;
+}
+
+table.indextable tr.pcap {
+ height: 10px;
+}
+
+table.indextable tr.cap {
+ margin-top: 10px;
+ background-color: #f2f2f2;
+}
+
+img.toggler {
+ margin-right: 3px;
+ margin-top: 3px;
+ cursor: pointer;
+}
+
+div.modindex-jumpbox {
+ border-top: 1px solid #ddd;
+ border-bottom: 1px solid #ddd;
+ margin: 1em 0 1em 0;
+ padding: 0.4em;
+}
+
+div.genindex-jumpbox {
+ border-top: 1px solid #ddd;
+ border-bottom: 1px solid #ddd;
+ margin: 1em 0 1em 0;
+ padding: 0.4em;
+}
+
+/* -- domain module index --------------------------------------------------- */
+
+table.modindextable td {
+ padding: 2px;
+ border-collapse: collapse;
+}
+
+/* -- general body styles --------------------------------------------------- */
+
+div.body {
+ min-width: inherit;
+ max-width: 800px;
+}
+
+div.body p, div.body dd, div.body li, div.body blockquote {
+ -moz-hyphens: auto;
+ -ms-hyphens: auto;
+ -webkit-hyphens: auto;
+ hyphens: auto;
+}
+
+a.headerlink {
+ visibility: hidden;
+}
+
+a:visited {
+ color: #551A8B;
+}
+
+h1:hover > a.headerlink,
+h2:hover > a.headerlink,
+h3:hover > a.headerlink,
+h4:hover > a.headerlink,
+h5:hover > a.headerlink,
+h6:hover > a.headerlink,
+dt:hover > a.headerlink,
+caption:hover > a.headerlink,
+p.caption:hover > a.headerlink,
+div.code-block-caption:hover > a.headerlink {
+ visibility: visible;
+}
+
+div.body p.caption {
+ text-align: inherit;
+}
+
+div.body td {
+ text-align: left;
+}
+
+.first {
+ margin-top: 0 !important;
+}
+
+p.rubric {
+ margin-top: 30px;
+ font-weight: bold;
+}
+
+img.align-left, figure.align-left, .figure.align-left, object.align-left {
+ clear: left;
+ float: left;
+ margin-right: 1em;
+}
+
+img.align-right, figure.align-right, .figure.align-right, object.align-right {
+ clear: right;
+ float: right;
+ margin-left: 1em;
+}
+
+img.align-center, figure.align-center, .figure.align-center, object.align-center {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+img.align-default, figure.align-default, .figure.align-default {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+.align-left {
+ text-align: left;
+}
+
+.align-center {
+ text-align: center;
+}
+
+.align-default {
+ text-align: center;
+}
+
+.align-right {
+ text-align: right;
+}
+
+/* -- sidebars -------------------------------------------------------------- */
+
+div.sidebar,
+aside.sidebar {
+ margin: 0 0 0.5em 1em;
+ border: 1px solid #ddb;
+ padding: 7px;
+ background-color: #ffe;
+ width: 40%;
+ float: right;
+ clear: right;
+ overflow-x: auto;
+}
+
+p.sidebar-title {
+ font-weight: bold;
+}
+
+nav.contents,
+aside.topic,
+div.admonition, div.topic, blockquote {
+ clear: left;
+}
+
+/* -- topics ---------------------------------------------------------------- */
+
+nav.contents,
+aside.topic,
+div.topic {
+ border: 1px solid #ccc;
+ padding: 7px;
+ margin: 10px 0 10px 0;
+}
+
+p.topic-title {
+ font-size: 1.1em;
+ font-weight: bold;
+ margin-top: 10px;
+}
+
+/* -- admonitions ----------------------------------------------------------- */
+
+div.admonition {
+ margin-top: 10px;
+ margin-bottom: 10px;
+ padding: 7px;
+}
+
+div.admonition dt {
+ font-weight: bold;
+}
+
+p.admonition-title {
+ margin: 0px 10px 5px 0px;
+ font-weight: bold;
+}
+
+div.body p.centered {
+ text-align: center;
+ margin-top: 25px;
+}
+
+/* -- content of sidebars/topics/admonitions -------------------------------- */
+
+div.sidebar > :last-child,
+aside.sidebar > :last-child,
+nav.contents > :last-child,
+aside.topic > :last-child,
+div.topic > :last-child,
+div.admonition > :last-child {
+ margin-bottom: 0;
+}
+
+div.sidebar::after,
+aside.sidebar::after,
+nav.contents::after,
+aside.topic::after,
+div.topic::after,
+div.admonition::after,
+blockquote::after {
+ display: block;
+ content: '';
+ clear: both;
+}
+
+/* -- tables ---------------------------------------------------------------- */
+
+table.docutils {
+ margin-top: 10px;
+ margin-bottom: 10px;
+ border: 0;
+ border-collapse: collapse;
+}
+
+table.align-center {
+ margin-left: auto;
+ margin-right: auto;
+}
+
+table.align-default {
+ margin-left: auto;
+ margin-right: auto;
+}
+
+table caption span.caption-number {
+ font-style: italic;
+}
+
+table caption span.caption-text {
+}
+
+table.docutils td, table.docutils th {
+ padding: 1px 8px 1px 5px;
+ border-top: 0;
+ border-left: 0;
+ border-right: 0;
+ border-bottom: 1px solid #aaa;
+}
+
+th {
+ text-align: left;
+ padding-right: 5px;
+}
+
+table.citation {
+ border-left: solid 1px gray;
+ margin-left: 1px;
+}
+
+table.citation td {
+ border-bottom: none;
+}
+
+th > :first-child,
+td > :first-child {
+ margin-top: 0px;
+}
+
+th > :last-child,
+td > :last-child {
+ margin-bottom: 0px;
+}
+
+/* -- figures --------------------------------------------------------------- */
+
+div.figure, figure {
+ margin: 0.5em;
+ padding: 0.5em;
+}
+
+div.figure p.caption, figcaption {
+ padding: 0.3em;
+}
+
+div.figure p.caption span.caption-number,
+figcaption span.caption-number {
+ font-style: italic;
+}
+
+div.figure p.caption span.caption-text,
+figcaption span.caption-text {
+}
+
+/* -- field list styles ----------------------------------------------------- */
+
+table.field-list td, table.field-list th {
+ border: 0 !important;
+}
+
+.field-list ul {
+ margin: 0;
+ padding-left: 1em;
+}
+
+.field-list p {
+ margin: 0;
+}
+
+.field-name {
+ -moz-hyphens: manual;
+ -ms-hyphens: manual;
+ -webkit-hyphens: manual;
+ hyphens: manual;
+}
+
+/* -- hlist styles ---------------------------------------------------------- */
+
+table.hlist {
+ margin: 1em 0;
+}
+
+table.hlist td {
+ vertical-align: top;
+}
+
+/* -- object description styles --------------------------------------------- */
+
+.sig {
+ font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
+}
+
+.sig-name, code.descname {
+ background-color: transparent;
+ font-weight: bold;
+}
+
+.sig-name {
+ font-size: 1.1em;
+}
+
+code.descname {
+ font-size: 1.2em;
+}
+
+.sig-prename, code.descclassname {
+ background-color: transparent;
+}
+
+.optional {
+ font-size: 1.3em;
+}
+
+.sig-paren {
+ font-size: larger;
+}
+
+.sig-param.n {
+ font-style: italic;
+}
+
+/* C++ specific styling */
+
+.sig-inline.c-texpr,
+.sig-inline.cpp-texpr {
+ font-family: unset;
+}
+
+.sig.c .k, .sig.c .kt,
+.sig.cpp .k, .sig.cpp .kt {
+ color: #0033B3;
+}
+
+.sig.c .m,
+.sig.cpp .m {
+ color: #1750EB;
+}
+
+.sig.c .s, .sig.c .sc,
+.sig.cpp .s, .sig.cpp .sc {
+ color: #067D17;
+}
+
+
+/* -- other body styles ----------------------------------------------------- */
+
+ol.arabic {
+ list-style: decimal;
+}
+
+ol.loweralpha {
+ list-style: lower-alpha;
+}
+
+ol.upperalpha {
+ list-style: upper-alpha;
+}
+
+ol.lowerroman {
+ list-style: lower-roman;
+}
+
+ol.upperroman {
+ list-style: upper-roman;
+}
+
+:not(li) > ol > li:first-child > :first-child,
+:not(li) > ul > li:first-child > :first-child {
+ margin-top: 0px;
+}
+
+:not(li) > ol > li:last-child > :last-child,
+:not(li) > ul > li:last-child > :last-child {
+ margin-bottom: 0px;
+}
+
+ol.simple ol p,
+ol.simple ul p,
+ul.simple ol p,
+ul.simple ul p {
+ margin-top: 0;
+}
+
+ol.simple > li:not(:first-child) > p,
+ul.simple > li:not(:first-child) > p {
+ margin-top: 0;
+}
+
+ol.simple p,
+ul.simple p {
+ margin-bottom: 0;
+}
+
+aside.footnote > span,
+div.citation > span {
+ float: left;
+}
+aside.footnote > span:last-of-type,
+div.citation > span:last-of-type {
+ padding-right: 0.5em;
+}
+aside.footnote > p {
+ margin-left: 2em;
+}
+div.citation > p {
+ margin-left: 4em;
+}
+aside.footnote > p:last-of-type,
+div.citation > p:last-of-type {
+ margin-bottom: 0em;
+}
+aside.footnote > p:last-of-type:after,
+div.citation > p:last-of-type:after {
+ content: "";
+ clear: both;
+}
+
+dl.field-list {
+ display: grid;
+ grid-template-columns: fit-content(30%) auto;
+}
+
+dl.field-list > dt {
+ font-weight: bold;
+ word-break: break-word;
+ padding-left: 0.5em;
+ padding-right: 5px;
+}
+
+dl.field-list > dd {
+ padding-left: 0.5em;
+ margin-top: 0em;
+ margin-left: 0em;
+ margin-bottom: 0em;
+}
+
+dl {
+ margin-bottom: 15px;
+}
+
+dd > :first-child {
+ margin-top: 0px;
+}
+
+dd ul, dd table {
+ margin-bottom: 10px;
+}
+
+dd {
+ margin-top: 3px;
+ margin-bottom: 10px;
+ margin-left: 30px;
+}
+
+.sig dd {
+ margin-top: 0px;
+ margin-bottom: 0px;
+}
+
+.sig dl {
+ margin-top: 0px;
+ margin-bottom: 0px;
+}
+
+dl > dd:last-child,
+dl > dd:last-child > :last-child {
+ margin-bottom: 0;
+}
+
+dt:target, span.highlighted {
+ background-color: #fbe54e;
+}
+
+rect.highlighted {
+ fill: #fbe54e;
+}
+
+dl.glossary dt {
+ font-weight: bold;
+ font-size: 1.1em;
+}
+
+.versionmodified {
+ font-style: italic;
+}
+
+.system-message {
+ background-color: #fda;
+ padding: 5px;
+ border: 3px solid red;
+}
+
+.footnote:target {
+ background-color: #ffa;
+}
+
+.line-block {
+ display: block;
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+
+.line-block .line-block {
+ margin-top: 0;
+ margin-bottom: 0;
+ margin-left: 1.5em;
+}
+
+.guilabel, .menuselection {
+ font-family: sans-serif;
+}
+
+.accelerator {
+ text-decoration: underline;
+}
+
+.classifier {
+ font-style: oblique;
+}
+
+.classifier:before {
+ font-style: normal;
+ margin: 0 0.5em;
+ content: ":";
+ display: inline-block;
+}
+
+abbr, acronym {
+ border-bottom: dotted 1px;
+ cursor: help;
+}
+
+.translated {
+ background-color: rgba(207, 255, 207, 0.2)
+}
+
+.untranslated {
+ background-color: rgba(255, 207, 207, 0.2)
+}
+
+/* -- code displays --------------------------------------------------------- */
+
+pre {
+ overflow: auto;
+ overflow-y: hidden; /* fixes display issues on Chrome browsers */
+}
+
+pre, div[class*="highlight-"] {
+ clear: both;
+}
+
+span.pre {
+ -moz-hyphens: none;
+ -ms-hyphens: none;
+ -webkit-hyphens: none;
+ hyphens: none;
+ white-space: nowrap;
+}
+
+div[class*="highlight-"] {
+ margin: 1em 0;
+}
+
+td.linenos pre {
+ border: 0;
+ background-color: transparent;
+ color: #aaa;
+}
+
+table.highlighttable {
+ display: block;
+}
+
+table.highlighttable tbody {
+ display: block;
+}
+
+table.highlighttable tr {
+ display: flex;
+}
+
+table.highlighttable td {
+ margin: 0;
+ padding: 0;
+}
+
+table.highlighttable td.linenos {
+ padding-right: 0.5em;
+}
+
+table.highlighttable td.code {
+ flex: 1;
+ overflow: hidden;
+}
+
+.highlight .hll {
+ display: block;
+}
+
+div.highlight pre,
+table.highlighttable pre {
+ margin: 0;
+}
+
+div.code-block-caption + div {
+ margin-top: 0;
+}
+
+div.code-block-caption {
+ margin-top: 1em;
+ padding: 2px 5px;
+ font-size: small;
+}
+
+div.code-block-caption code {
+ background-color: transparent;
+}
+
+table.highlighttable td.linenos,
+span.linenos,
+div.highlight span.gp { /* gp: Generic.Prompt */
+ user-select: none;
+ -webkit-user-select: text; /* Safari fallback only */
+ -webkit-user-select: none; /* Chrome/Safari */
+ -moz-user-select: none; /* Firefox */
+ -ms-user-select: none; /* IE10+ */
+}
+
+div.code-block-caption span.caption-number {
+ padding: 0.1em 0.3em;
+ font-style: italic;
+}
+
+div.code-block-caption span.caption-text {
+}
+
+div.literal-block-wrapper {
+ margin: 1em 0;
+}
+
+code.xref, a code {
+ background-color: transparent;
+ font-weight: bold;
+}
+
+h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
+ background-color: transparent;
+}
+
+.viewcode-link {
+ float: right;
+}
+
+.viewcode-back {
+ float: right;
+ font-family: sans-serif;
+}
+
+div.viewcode-block:target {
+ margin: -1px -10px;
+ padding: 0 10px;
+}
+
+/* -- math display ---------------------------------------------------------- */
+
+img.math {
+ vertical-align: middle;
+}
+
+div.body div.math p {
+ text-align: center;
+}
+
+span.eqno {
+ float: right;
+}
+
+span.eqno a.headerlink {
+ position: absolute;
+ z-index: 1;
+}
+
+div.math:hover a.headerlink {
+ visibility: visible;
+}
+
+/* -- printout stylesheet --------------------------------------------------- */
+
+@media print {
+ div.document,
+ div.documentwrapper,
+ div.bodywrapper {
+ margin: 0 !important;
+ width: 100%;
+ }
+
+ div.sphinxsidebar,
+ div.related,
+ div.footer,
+ #top-link {
+ display: none;
+ }
+}
\ No newline at end of file
diff --git a/main/imspy/_static/custom.css b/main/imspy/_static/custom.css
new file mode 100644
index 00000000..2a924f1d
--- /dev/null
+++ b/main/imspy/_static/custom.css
@@ -0,0 +1 @@
+/* This file intentionally left blank. */
diff --git a/main/imspy/_static/doctools.js b/main/imspy/_static/doctools.js
new file mode 100644
index 00000000..0398ebb9
--- /dev/null
+++ b/main/imspy/_static/doctools.js
@@ -0,0 +1,149 @@
+/*
+ * Base JavaScript utilities for all Sphinx HTML documentation.
+ */
+"use strict";
+
+const BLACKLISTED_KEY_CONTROL_ELEMENTS = new Set([
+ "TEXTAREA",
+ "INPUT",
+ "SELECT",
+ "BUTTON",
+]);
+
+const _ready = (callback) => {
+ if (document.readyState !== "loading") {
+ callback();
+ } else {
+ document.addEventListener("DOMContentLoaded", callback);
+ }
+};
+
+/**
+ * Small JavaScript module for the documentation.
+ */
+const Documentation = {
+ init: () => {
+ Documentation.initDomainIndexTable();
+ Documentation.initOnKeyListeners();
+ },
+
+ /**
+ * i18n support
+ */
+ TRANSLATIONS: {},
+ PLURAL_EXPR: (n) => (n === 1 ? 0 : 1),
+ LOCALE: "unknown",
+
+ // gettext and ngettext don't access this so that the functions
+ // can safely bound to a different name (_ = Documentation.gettext)
+ gettext: (string) => {
+ const translated = Documentation.TRANSLATIONS[string];
+ switch (typeof translated) {
+ case "undefined":
+ return string; // no translation
+ case "string":
+ return translated; // translation exists
+ default:
+ return translated[0]; // (singular, plural) translation tuple exists
+ }
+ },
+
+ ngettext: (singular, plural, n) => {
+ const translated = Documentation.TRANSLATIONS[singular];
+ if (typeof translated !== "undefined")
+ return translated[Documentation.PLURAL_EXPR(n)];
+ return n === 1 ? singular : plural;
+ },
+
+ addTranslations: (catalog) => {
+ Object.assign(Documentation.TRANSLATIONS, catalog.messages);
+ Documentation.PLURAL_EXPR = new Function(
+ "n",
+ `return (${catalog.plural_expr})`
+ );
+ Documentation.LOCALE = catalog.locale;
+ },
+
+ /**
+ * helper function to focus on search bar
+ */
+ focusSearchBar: () => {
+ document.querySelectorAll("input[name=q]")[0]?.focus();
+ },
+
+ /**
+ * Initialise the domain index toggle buttons
+ */
+ initDomainIndexTable: () => {
+ const toggler = (el) => {
+ const idNumber = el.id.substr(7);
+ const toggledRows = document.querySelectorAll(`tr.cg-${idNumber}`);
+ if (el.src.substr(-9) === "minus.png") {
+ el.src = `${el.src.substr(0, el.src.length - 9)}plus.png`;
+ toggledRows.forEach((el) => (el.style.display = "none"));
+ } else {
+ el.src = `${el.src.substr(0, el.src.length - 8)}minus.png`;
+ toggledRows.forEach((el) => (el.style.display = ""));
+ }
+ };
+
+ const togglerElements = document.querySelectorAll("img.toggler");
+ togglerElements.forEach((el) =>
+ el.addEventListener("click", (event) => toggler(event.currentTarget))
+ );
+ togglerElements.forEach((el) => (el.style.display = ""));
+ if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) togglerElements.forEach(toggler);
+ },
+
+ initOnKeyListeners: () => {
+ // only install a listener if it is really needed
+ if (
+ !DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS &&
+ !DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS
+ )
+ return;
+
+ document.addEventListener("keydown", (event) => {
+ // bail for input elements
+ if (BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)) return;
+ // bail with special keys
+ if (event.altKey || event.ctrlKey || event.metaKey) return;
+
+ if (!event.shiftKey) {
+ switch (event.key) {
+ case "ArrowLeft":
+ if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) break;
+
+ const prevLink = document.querySelector('link[rel="prev"]');
+ if (prevLink && prevLink.href) {
+ window.location.href = prevLink.href;
+ event.preventDefault();
+ }
+ break;
+ case "ArrowRight":
+ if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) break;
+
+ const nextLink = document.querySelector('link[rel="next"]');
+ if (nextLink && nextLink.href) {
+ window.location.href = nextLink.href;
+ event.preventDefault();
+ }
+ break;
+ }
+ }
+
+ // some keyboard layouts may need Shift to get /
+ switch (event.key) {
+ case "/":
+ if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) break;
+ Documentation.focusSearchBar();
+ event.preventDefault();
+ }
+ });
+ },
+};
+
+// quick alias for translations
+const _ = Documentation.gettext;
+
+_ready(Documentation.init);
diff --git a/main/imspy/_static/documentation_options.js b/main/imspy/_static/documentation_options.js
new file mode 100644
index 00000000..f2a4111a
--- /dev/null
+++ b/main/imspy/_static/documentation_options.js
@@ -0,0 +1,13 @@
+const DOCUMENTATION_OPTIONS = {
+ VERSION: '0.2.33',
+ LANGUAGE: 'en',
+ COLLAPSE_INDEX: false,
+ BUILDER: 'html',
+ FILE_SUFFIX: '.html',
+ LINK_SUFFIX: '.html',
+ HAS_SOURCE: true,
+ SOURCELINK_SUFFIX: '.txt',
+ NAVIGATION_WITH_KEYS: false,
+ SHOW_SEARCH_SUMMARY: true,
+ ENABLE_SEARCH_SHORTCUTS: true,
+};
\ No newline at end of file
diff --git a/main/imspy/_static/file.png b/main/imspy/_static/file.png
new file mode 100644
index 00000000..a858a410
Binary files /dev/null and b/main/imspy/_static/file.png differ
diff --git a/main/imspy/_static/github-banner.svg b/main/imspy/_static/github-banner.svg
new file mode 100644
index 00000000..c47d9dc0
--- /dev/null
+++ b/main/imspy/_static/github-banner.svg
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/main/imspy/_static/language_data.js b/main/imspy/_static/language_data.js
new file mode 100644
index 00000000..c7fe6c6f
--- /dev/null
+++ b/main/imspy/_static/language_data.js
@@ -0,0 +1,192 @@
+/*
+ * This script contains the language-specific data used by searchtools.js,
+ * namely the list of stopwords, stemmer, scorer and splitter.
+ */
+
+var stopwords = ["a", "and", "are", "as", "at", "be", "but", "by", "for", "if", "in", "into", "is", "it", "near", "no", "not", "of", "on", "or", "such", "that", "the", "their", "then", "there", "these", "they", "this", "to", "was", "will", "with"];
+
+
+/* Non-minified version is copied as a separate JS file, if available */
+
+/**
+ * Porter Stemmer
+ */
+var Stemmer = function() {
+
+ var step2list = {
+ ational: 'ate',
+ tional: 'tion',
+ enci: 'ence',
+ anci: 'ance',
+ izer: 'ize',
+ bli: 'ble',
+ alli: 'al',
+ entli: 'ent',
+ eli: 'e',
+ ousli: 'ous',
+ ization: 'ize',
+ ation: 'ate',
+ ator: 'ate',
+ alism: 'al',
+ iveness: 'ive',
+ fulness: 'ful',
+ ousness: 'ous',
+ aliti: 'al',
+ iviti: 'ive',
+ biliti: 'ble',
+ logi: 'log'
+ };
+
+ var step3list = {
+ icate: 'ic',
+ ative: '',
+ alize: 'al',
+ iciti: 'ic',
+ ical: 'ic',
+ ful: '',
+ ness: ''
+ };
+
+ var c = "[^aeiou]"; // consonant
+ var v = "[aeiouy]"; // vowel
+ var C = c + "[^aeiouy]*"; // consonant sequence
+ var V = v + "[aeiou]*"; // vowel sequence
+
+ var mgr0 = "^(" + C + ")?" + V + C; // [C]VC... is m>0
+ var meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$"; // [C]VC[V] is m=1
+ var mgr1 = "^(" + C + ")?" + V + C + V + C; // [C]VCVC... is m>1
+ var s_v = "^(" + C + ")?" + v; // vowel in stem
+
+ this.stemWord = function (w) {
+ var stem;
+ var suffix;
+ var firstch;
+ var origword = w;
+
+ if (w.length < 3)
+ return w;
+
+ var re;
+ var re2;
+ var re3;
+ var re4;
+
+ firstch = w.substr(0,1);
+ if (firstch == "y")
+ w = firstch.toUpperCase() + w.substr(1);
+
+ // Step 1a
+ re = /^(.+?)(ss|i)es$/;
+ re2 = /^(.+?)([^s])s$/;
+
+ if (re.test(w))
+ w = w.replace(re,"$1$2");
+ else if (re2.test(w))
+ w = w.replace(re2,"$1$2");
+
+ // Step 1b
+ re = /^(.+?)eed$/;
+ re2 = /^(.+?)(ed|ing)$/;
+ if (re.test(w)) {
+ var fp = re.exec(w);
+ re = new RegExp(mgr0);
+ if (re.test(fp[1])) {
+ re = /.$/;
+ w = w.replace(re,"");
+ }
+ }
+ else if (re2.test(w)) {
+ var fp = re2.exec(w);
+ stem = fp[1];
+ re2 = new RegExp(s_v);
+ if (re2.test(stem)) {
+ w = stem;
+ re2 = /(at|bl|iz)$/;
+ re3 = new RegExp("([^aeiouylsz])\\1$");
+ re4 = new RegExp("^" + C + v + "[^aeiouwxy]$");
+ if (re2.test(w))
+ w = w + "e";
+ else if (re3.test(w)) {
+ re = /.$/;
+ w = w.replace(re,"");
+ }
+ else if (re4.test(w))
+ w = w + "e";
+ }
+ }
+
+ // Step 1c
+ re = /^(.+?)y$/;
+ if (re.test(w)) {
+ var fp = re.exec(w);
+ stem = fp[1];
+ re = new RegExp(s_v);
+ if (re.test(stem))
+ w = stem + "i";
+ }
+
+ // Step 2
+ re = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/;
+ if (re.test(w)) {
+ var fp = re.exec(w);
+ stem = fp[1];
+ suffix = fp[2];
+ re = new RegExp(mgr0);
+ if (re.test(stem))
+ w = stem + step2list[suffix];
+ }
+
+ // Step 3
+ re = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/;
+ if (re.test(w)) {
+ var fp = re.exec(w);
+ stem = fp[1];
+ suffix = fp[2];
+ re = new RegExp(mgr0);
+ if (re.test(stem))
+ w = stem + step3list[suffix];
+ }
+
+ // Step 4
+ re = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/;
+ re2 = /^(.+?)(s|t)(ion)$/;
+ if (re.test(w)) {
+ var fp = re.exec(w);
+ stem = fp[1];
+ re = new RegExp(mgr1);
+ if (re.test(stem))
+ w = stem;
+ }
+ else if (re2.test(w)) {
+ var fp = re2.exec(w);
+ stem = fp[1] + fp[2];
+ re2 = new RegExp(mgr1);
+ if (re2.test(stem))
+ w = stem;
+ }
+
+ // Step 5
+ re = /^(.+?)e$/;
+ if (re.test(w)) {
+ var fp = re.exec(w);
+ stem = fp[1];
+ re = new RegExp(mgr1);
+ re2 = new RegExp(meq1);
+ re3 = new RegExp("^" + C + v + "[^aeiouwxy]$");
+ if (re.test(stem) || (re2.test(stem) && !(re3.test(stem))))
+ w = stem;
+ }
+ re = /ll$/;
+ re2 = new RegExp(mgr1);
+ if (re.test(w) && re2.test(w)) {
+ re = /.$/;
+ w = w.replace(re,"");
+ }
+
+ // and turn initial Y back to y
+ if (firstch == "y")
+ w = firstch.toLowerCase() + w.substr(1);
+ return w;
+ }
+}
+
diff --git a/main/imspy/_static/minus.png b/main/imspy/_static/minus.png
new file mode 100644
index 00000000..d96755fd
Binary files /dev/null and b/main/imspy/_static/minus.png differ
diff --git a/main/imspy/_static/plus.png b/main/imspy/_static/plus.png
new file mode 100644
index 00000000..7107cec9
Binary files /dev/null and b/main/imspy/_static/plus.png differ
diff --git a/main/imspy/_static/pygments.css b/main/imspy/_static/pygments.css
new file mode 100644
index 00000000..9392ddcb
--- /dev/null
+++ b/main/imspy/_static/pygments.css
@@ -0,0 +1,84 @@
+pre { line-height: 125%; }
+td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
+span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
+td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
+span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
+.highlight .hll { background-color: #ffffcc }
+.highlight { background: #f8f8f8; }
+.highlight .c { color: #8F5902; font-style: italic } /* Comment */
+.highlight .err { color: #A40000; border: 1px solid #EF2929 } /* Error */
+.highlight .g { color: #000 } /* Generic */
+.highlight .k { color: #004461; font-weight: bold } /* Keyword */
+.highlight .l { color: #000 } /* Literal */
+.highlight .n { color: #000 } /* Name */
+.highlight .o { color: #582800 } /* Operator */
+.highlight .x { color: #000 } /* Other */
+.highlight .p { color: #000; font-weight: bold } /* Punctuation */
+.highlight .ch { color: #8F5902; font-style: italic } /* Comment.Hashbang */
+.highlight .cm { color: #8F5902; font-style: italic } /* Comment.Multiline */
+.highlight .cp { color: #8F5902 } /* Comment.Preproc */
+.highlight .cpf { color: #8F5902; font-style: italic } /* Comment.PreprocFile */
+.highlight .c1 { color: #8F5902; font-style: italic } /* Comment.Single */
+.highlight .cs { color: #8F5902; font-style: italic } /* Comment.Special */
+.highlight .gd { color: #A40000 } /* Generic.Deleted */
+.highlight .ge { color: #000; font-style: italic } /* Generic.Emph */
+.highlight .ges { color: #000 } /* Generic.EmphStrong */
+.highlight .gr { color: #EF2929 } /* Generic.Error */
+.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
+.highlight .gi { color: #00A000 } /* Generic.Inserted */
+.highlight .go { color: #888 } /* Generic.Output */
+.highlight .gp { color: #745334 } /* Generic.Prompt */
+.highlight .gs { color: #000; font-weight: bold } /* Generic.Strong */
+.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
+.highlight .gt { color: #A40000; font-weight: bold } /* Generic.Traceback */
+.highlight .kc { color: #004461; font-weight: bold } /* Keyword.Constant */
+.highlight .kd { color: #004461; font-weight: bold } /* Keyword.Declaration */
+.highlight .kn { color: #004461; font-weight: bold } /* Keyword.Namespace */
+.highlight .kp { color: #004461; font-weight: bold } /* Keyword.Pseudo */
+.highlight .kr { color: #004461; font-weight: bold } /* Keyword.Reserved */
+.highlight .kt { color: #004461; font-weight: bold } /* Keyword.Type */
+.highlight .ld { color: #000 } /* Literal.Date */
+.highlight .m { color: #900 } /* Literal.Number */
+.highlight .s { color: #4E9A06 } /* Literal.String */
+.highlight .na { color: #C4A000 } /* Name.Attribute */
+.highlight .nb { color: #004461 } /* Name.Builtin */
+.highlight .nc { color: #000 } /* Name.Class */
+.highlight .no { color: #000 } /* Name.Constant */
+.highlight .nd { color: #888 } /* Name.Decorator */
+.highlight .ni { color: #CE5C00 } /* Name.Entity */
+.highlight .ne { color: #C00; font-weight: bold } /* Name.Exception */
+.highlight .nf { color: #000 } /* Name.Function */
+.highlight .nl { color: #F57900 } /* Name.Label */
+.highlight .nn { color: #000 } /* Name.Namespace */
+.highlight .nx { color: #000 } /* Name.Other */
+.highlight .py { color: #000 } /* Name.Property */
+.highlight .nt { color: #004461; font-weight: bold } /* Name.Tag */
+.highlight .nv { color: #000 } /* Name.Variable */
+.highlight .ow { color: #004461; font-weight: bold } /* Operator.Word */
+.highlight .pm { color: #000; font-weight: bold } /* Punctuation.Marker */
+.highlight .w { color: #F8F8F8 } /* Text.Whitespace */
+.highlight .mb { color: #900 } /* Literal.Number.Bin */
+.highlight .mf { color: #900 } /* Literal.Number.Float */
+.highlight .mh { color: #900 } /* Literal.Number.Hex */
+.highlight .mi { color: #900 } /* Literal.Number.Integer */
+.highlight .mo { color: #900 } /* Literal.Number.Oct */
+.highlight .sa { color: #4E9A06 } /* Literal.String.Affix */
+.highlight .sb { color: #4E9A06 } /* Literal.String.Backtick */
+.highlight .sc { color: #4E9A06 } /* Literal.String.Char */
+.highlight .dl { color: #4E9A06 } /* Literal.String.Delimiter */
+.highlight .sd { color: #8F5902; font-style: italic } /* Literal.String.Doc */
+.highlight .s2 { color: #4E9A06 } /* Literal.String.Double */
+.highlight .se { color: #4E9A06 } /* Literal.String.Escape */
+.highlight .sh { color: #4E9A06 } /* Literal.String.Heredoc */
+.highlight .si { color: #4E9A06 } /* Literal.String.Interpol */
+.highlight .sx { color: #4E9A06 } /* Literal.String.Other */
+.highlight .sr { color: #4E9A06 } /* Literal.String.Regex */
+.highlight .s1 { color: #4E9A06 } /* Literal.String.Single */
+.highlight .ss { color: #4E9A06 } /* Literal.String.Symbol */
+.highlight .bp { color: #3465A4 } /* Name.Builtin.Pseudo */
+.highlight .fm { color: #000 } /* Name.Function.Magic */
+.highlight .vc { color: #000 } /* Name.Variable.Class */
+.highlight .vg { color: #000 } /* Name.Variable.Global */
+.highlight .vi { color: #000 } /* Name.Variable.Instance */
+.highlight .vm { color: #000 } /* Name.Variable.Magic */
+.highlight .il { color: #900 } /* Literal.Number.Integer.Long */
\ No newline at end of file
diff --git a/main/imspy/_static/searchtools.js b/main/imspy/_static/searchtools.js
new file mode 100644
index 00000000..2c774d17
--- /dev/null
+++ b/main/imspy/_static/searchtools.js
@@ -0,0 +1,632 @@
+/*
+ * Sphinx JavaScript utilities for the full-text search.
+ */
+"use strict";
+
+/**
+ * Simple result scoring code.
+ */
+if (typeof Scorer === "undefined") {
+ var Scorer = {
+ // Implement the following function to further tweak the score for each result
+ // The function takes a result array [docname, title, anchor, descr, score, filename]
+ // and returns the new score.
+ /*
+ score: result => {
+ const [docname, title, anchor, descr, score, filename, kind] = result
+ return score
+ },
+ */
+
+ // query matches the full name of an object
+ objNameMatch: 11,
+ // or matches in the last dotted part of the object name
+ objPartialMatch: 6,
+ // Additive scores depending on the priority of the object
+ objPrio: {
+ 0: 15, // used to be importantResults
+ 1: 5, // used to be objectResults
+ 2: -5, // used to be unimportantResults
+ },
+ // Used when the priority is not in the mapping.
+ objPrioDefault: 0,
+
+ // query found in title
+ title: 15,
+ partialTitle: 7,
+ // query found in terms
+ term: 5,
+ partialTerm: 2,
+ };
+}
+
+// Global search result kind enum, used by themes to style search results.
+class SearchResultKind {
+ static get index() { return "index"; }
+ static get object() { return "object"; }
+ static get text() { return "text"; }
+ static get title() { return "title"; }
+}
+
+const _removeChildren = (element) => {
+ while (element && element.lastChild) element.removeChild(element.lastChild);
+};
+
+/**
+ * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#escaping
+ */
+const _escapeRegExp = (string) =>
+ string.replace(/[.*+\-?^${}()|[\]\\]/g, "\\$&"); // $& means the whole matched string
+
+const _displayItem = (item, searchTerms, highlightTerms) => {
+ const docBuilder = DOCUMENTATION_OPTIONS.BUILDER;
+ const docFileSuffix = DOCUMENTATION_OPTIONS.FILE_SUFFIX;
+ const docLinkSuffix = DOCUMENTATION_OPTIONS.LINK_SUFFIX;
+ const showSearchSummary = DOCUMENTATION_OPTIONS.SHOW_SEARCH_SUMMARY;
+ const contentRoot = document.documentElement.dataset.content_root;
+
+ const [docName, title, anchor, descr, score, _filename, kind] = item;
+
+ let listItem = document.createElement("li");
+ // Add a class representing the item's type:
+ // can be used by a theme's CSS selector for styling
+ // See SearchResultKind for the class names.
+ listItem.classList.add(`kind-${kind}`);
+ let requestUrl;
+ let linkUrl;
+ if (docBuilder === "dirhtml") {
+ // dirhtml builder
+ let dirname = docName + "/";
+ if (dirname.match(/\/index\/$/))
+ dirname = dirname.substring(0, dirname.length - 6);
+ else if (dirname === "index/") dirname = "";
+ requestUrl = contentRoot + dirname;
+ linkUrl = requestUrl;
+ } else {
+ // normal html builders
+ requestUrl = contentRoot + docName + docFileSuffix;
+ linkUrl = docName + docLinkSuffix;
+ }
+ let linkEl = listItem.appendChild(document.createElement("a"));
+ linkEl.href = linkUrl + anchor;
+ linkEl.dataset.score = score;
+ linkEl.innerHTML = title;
+ if (descr) {
+ listItem.appendChild(document.createElement("span")).innerHTML =
+ " (" + descr + ")";
+ // highlight search terms in the description
+ if (SPHINX_HIGHLIGHT_ENABLED) // set in sphinx_highlight.js
+ highlightTerms.forEach((term) => _highlightText(listItem, term, "highlighted"));
+ }
+ else if (showSearchSummary)
+ fetch(requestUrl)
+ .then((responseData) => responseData.text())
+ .then((data) => {
+ if (data)
+ listItem.appendChild(
+ Search.makeSearchSummary(data, searchTerms, anchor)
+ );
+ // highlight search terms in the summary
+ if (SPHINX_HIGHLIGHT_ENABLED) // set in sphinx_highlight.js
+ highlightTerms.forEach((term) => _highlightText(listItem, term, "highlighted"));
+ });
+ Search.output.appendChild(listItem);
+};
+const _finishSearch = (resultCount) => {
+ Search.stopPulse();
+ Search.title.innerText = _("Search Results");
+ if (!resultCount)
+ Search.status.innerText = Documentation.gettext(
+ "Your search did not match any documents. Please make sure that all words are spelled correctly and that you've selected enough categories."
+ );
+ else
+ Search.status.innerText = Documentation.ngettext(
+ "Search finished, found one page matching the search query.",
+ "Search finished, found ${resultCount} pages matching the search query.",
+ resultCount,
+ ).replace('${resultCount}', resultCount);
+};
+const _displayNextItem = (
+ results,
+ resultCount,
+ searchTerms,
+ highlightTerms,
+) => {
+ // results left, load the summary and display it
+ // this is intended to be dynamic (don't sub resultsCount)
+ if (results.length) {
+ _displayItem(results.pop(), searchTerms, highlightTerms);
+ setTimeout(
+ () => _displayNextItem(results, resultCount, searchTerms, highlightTerms),
+ 5
+ );
+ }
+ // search finished, update title and status message
+ else _finishSearch(resultCount);
+};
+// Helper function used by query() to order search results.
+// Each input is an array of [docname, title, anchor, descr, score, filename, kind].
+// Order the results by score (in opposite order of appearance, since the
+// `_displayNextItem` function uses pop() to retrieve items) and then alphabetically.
+const _orderResultsByScoreThenName = (a, b) => {
+ const leftScore = a[4];
+ const rightScore = b[4];
+ if (leftScore === rightScore) {
+ // same score: sort alphabetically
+ const leftTitle = a[1].toLowerCase();
+ const rightTitle = b[1].toLowerCase();
+ if (leftTitle === rightTitle) return 0;
+ return leftTitle > rightTitle ? -1 : 1; // inverted is intentional
+ }
+ return leftScore > rightScore ? 1 : -1;
+};
+
+/**
+ * Default splitQuery function. Can be overridden in ``sphinx.search`` with a
+ * custom function per language.
+ *
+ * The regular expression works by splitting the string on consecutive characters
+ * that are not Unicode letters, numbers, underscores, or emoji characters.
+ * This is the same as ``\W+`` in Python, preserving the surrogate pair area.
+ */
+if (typeof splitQuery === "undefined") {
+ var splitQuery = (query) => query
+ .split(/[^\p{Letter}\p{Number}_\p{Emoji_Presentation}]+/gu)
+ .filter(term => term) // remove remaining empty strings
+}
+
+/**
+ * Search Module
+ */
+const Search = {
+ _index: null,
+ _queued_query: null,
+ _pulse_status: -1,
+
+ htmlToText: (htmlString, anchor) => {
+ const htmlElement = new DOMParser().parseFromString(htmlString, 'text/html');
+ for (const removalQuery of [".headerlink", "script", "style"]) {
+ htmlElement.querySelectorAll(removalQuery).forEach((el) => { el.remove() });
+ }
+ if (anchor) {
+ const anchorContent = htmlElement.querySelector(`[role="main"] ${anchor}`);
+ if (anchorContent) return anchorContent.textContent;
+
+ console.warn(
+ `Anchored content block not found. Sphinx search tries to obtain it via DOM query '[role=main] ${anchor}'. Check your theme or template.`
+ );
+ }
+
+ // if anchor not specified or not found, fall back to main content
+ const docContent = htmlElement.querySelector('[role="main"]');
+ if (docContent) return docContent.textContent;
+
+ console.warn(
+ "Content block not found. Sphinx search tries to obtain it via DOM query '[role=main]'. Check your theme or template."
+ );
+ return "";
+ },
+
+ init: () => {
+ const query = new URLSearchParams(window.location.search).get("q");
+ document
+ .querySelectorAll('input[name="q"]')
+ .forEach((el) => (el.value = query));
+ if (query) Search.performSearch(query);
+ },
+
+ loadIndex: (url) =>
+ (document.body.appendChild(document.createElement("script")).src = url),
+
+ setIndex: (index) => {
+ Search._index = index;
+ if (Search._queued_query !== null) {
+ const query = Search._queued_query;
+ Search._queued_query = null;
+ Search.query(query);
+ }
+ },
+
+ hasIndex: () => Search._index !== null,
+
+ deferQuery: (query) => (Search._queued_query = query),
+
+ stopPulse: () => (Search._pulse_status = -1),
+
+ startPulse: () => {
+ if (Search._pulse_status >= 0) return;
+
+ const pulse = () => {
+ Search._pulse_status = (Search._pulse_status + 1) % 4;
+ Search.dots.innerText = ".".repeat(Search._pulse_status);
+ if (Search._pulse_status >= 0) window.setTimeout(pulse, 500);
+ };
+ pulse();
+ },
+
+ /**
+ * perform a search for something (or wait until index is loaded)
+ */
+ performSearch: (query) => {
+ // create the required interface elements
+ const searchText = document.createElement("h2");
+ searchText.textContent = _("Searching");
+ const searchSummary = document.createElement("p");
+ searchSummary.classList.add("search-summary");
+ searchSummary.innerText = "";
+ const searchList = document.createElement("ul");
+ searchList.setAttribute("role", "list");
+ searchList.classList.add("search");
+
+ const out = document.getElementById("search-results");
+ Search.title = out.appendChild(searchText);
+ Search.dots = Search.title.appendChild(document.createElement("span"));
+ Search.status = out.appendChild(searchSummary);
+ Search.output = out.appendChild(searchList);
+
+ const searchProgress = document.getElementById("search-progress");
+ // Some themes don't use the search progress node
+ if (searchProgress) {
+ searchProgress.innerText = _("Preparing search...");
+ }
+ Search.startPulse();
+
+ // index already loaded, the browser was quick!
+ if (Search.hasIndex()) Search.query(query);
+ else Search.deferQuery(query);
+ },
+
+ _parseQuery: (query) => {
+ // stem the search terms and add them to the correct list
+ const stemmer = new Stemmer();
+ const searchTerms = new Set();
+ const excludedTerms = new Set();
+ const highlightTerms = new Set();
+ const objectTerms = new Set(splitQuery(query.toLowerCase().trim()));
+ splitQuery(query.trim()).forEach((queryTerm) => {
+ const queryTermLower = queryTerm.toLowerCase();
+
+ // maybe skip this "word"
+ // stopwords array is from language_data.js
+ if (
+ stopwords.indexOf(queryTermLower) !== -1 ||
+ queryTerm.match(/^\d+$/)
+ )
+ return;
+
+ // stem the word
+ let word = stemmer.stemWord(queryTermLower);
+ // select the correct list
+ if (word[0] === "-") excludedTerms.add(word.substr(1));
+ else {
+ searchTerms.add(word);
+ highlightTerms.add(queryTermLower);
+ }
+ });
+
+ if (SPHINX_HIGHLIGHT_ENABLED) { // set in sphinx_highlight.js
+ localStorage.setItem("sphinx_highlight_terms", [...highlightTerms].join(" "))
+ }
+
+ // console.debug("SEARCH: searching for:");
+ // console.info("required: ", [...searchTerms]);
+ // console.info("excluded: ", [...excludedTerms]);
+
+ return [query, searchTerms, excludedTerms, highlightTerms, objectTerms];
+ },
+
+ /**
+ * execute search (requires search index to be loaded)
+ */
+ _performSearch: (query, searchTerms, excludedTerms, highlightTerms, objectTerms) => {
+ const filenames = Search._index.filenames;
+ const docNames = Search._index.docnames;
+ const titles = Search._index.titles;
+ const allTitles = Search._index.alltitles;
+ const indexEntries = Search._index.indexentries;
+
+ // Collect multiple result groups to be sorted separately and then ordered.
+ // Each is an array of [docname, title, anchor, descr, score, filename, kind].
+ const normalResults = [];
+ const nonMainIndexResults = [];
+
+ _removeChildren(document.getElementById("search-progress"));
+
+ const queryLower = query.toLowerCase().trim();
+ for (const [title, foundTitles] of Object.entries(allTitles)) {
+ if (title.toLowerCase().trim().includes(queryLower) && (queryLower.length >= title.length/2)) {
+ for (const [file, id] of foundTitles) {
+ const score = Math.round(Scorer.title * queryLower.length / title.length);
+ const boost = titles[file] === title ? 1 : 0; // add a boost for document titles
+ normalResults.push([
+ docNames[file],
+ titles[file] !== title ? `${titles[file]} > ${title}` : title,
+ id !== null ? "#" + id : "",
+ null,
+ score + boost,
+ filenames[file],
+ SearchResultKind.title,
+ ]);
+ }
+ }
+ }
+
+ // search for explicit entries in index directives
+ for (const [entry, foundEntries] of Object.entries(indexEntries)) {
+ if (entry.includes(queryLower) && (queryLower.length >= entry.length/2)) {
+ for (const [file, id, isMain] of foundEntries) {
+ const score = Math.round(100 * queryLower.length / entry.length);
+ const result = [
+ docNames[file],
+ titles[file],
+ id ? "#" + id : "",
+ null,
+ score,
+ filenames[file],
+ SearchResultKind.index,
+ ];
+ if (isMain) {
+ normalResults.push(result);
+ } else {
+ nonMainIndexResults.push(result);
+ }
+ }
+ }
+ }
+
+ // lookup as object
+ objectTerms.forEach((term) =>
+ normalResults.push(...Search.performObjectSearch(term, objectTerms))
+ );
+
+ // lookup as search terms in fulltext
+ normalResults.push(...Search.performTermsSearch(searchTerms, excludedTerms));
+
+ // let the scorer override scores with a custom scoring function
+ if (Scorer.score) {
+ normalResults.forEach((item) => (item[4] = Scorer.score(item)));
+ nonMainIndexResults.forEach((item) => (item[4] = Scorer.score(item)));
+ }
+
+ // Sort each group of results by score and then alphabetically by name.
+ normalResults.sort(_orderResultsByScoreThenName);
+ nonMainIndexResults.sort(_orderResultsByScoreThenName);
+
+ // Combine the result groups in (reverse) order.
+ // Non-main index entries are typically arbitrary cross-references,
+ // so display them after other results.
+ let results = [...nonMainIndexResults, ...normalResults];
+
+ // remove duplicate search results
+ // note the reversing of results, so that in the case of duplicates, the highest-scoring entry is kept
+ let seen = new Set();
+ results = results.reverse().reduce((acc, result) => {
+ let resultStr = result.slice(0, 4).concat([result[5]]).map(v => String(v)).join(',');
+ if (!seen.has(resultStr)) {
+ acc.push(result);
+ seen.add(resultStr);
+ }
+ return acc;
+ }, []);
+
+ return results.reverse();
+ },
+
+ query: (query) => {
+ const [searchQuery, searchTerms, excludedTerms, highlightTerms, objectTerms] = Search._parseQuery(query);
+ const results = Search._performSearch(searchQuery, searchTerms, excludedTerms, highlightTerms, objectTerms);
+
+ // for debugging
+ //Search.lastresults = results.slice(); // a copy
+ // console.info("search results:", Search.lastresults);
+
+ // print the results
+ _displayNextItem(results, results.length, searchTerms, highlightTerms);
+ },
+
+ /**
+ * search for object names
+ */
+ performObjectSearch: (object, objectTerms) => {
+ const filenames = Search._index.filenames;
+ const docNames = Search._index.docnames;
+ const objects = Search._index.objects;
+ const objNames = Search._index.objnames;
+ const titles = Search._index.titles;
+
+ const results = [];
+
+ const objectSearchCallback = (prefix, match) => {
+ const name = match[4]
+ const fullname = (prefix ? prefix + "." : "") + name;
+ const fullnameLower = fullname.toLowerCase();
+ if (fullnameLower.indexOf(object) < 0) return;
+
+ let score = 0;
+ const parts = fullnameLower.split(".");
+
+ // check for different match types: exact matches of full name or
+ // "last name" (i.e. last dotted part)
+ if (fullnameLower === object || parts.slice(-1)[0] === object)
+ score += Scorer.objNameMatch;
+ else if (parts.slice(-1)[0].indexOf(object) > -1)
+ score += Scorer.objPartialMatch; // matches in last name
+
+ const objName = objNames[match[1]][2];
+ const title = titles[match[0]];
+
+ // If more than one term searched for, we require other words to be
+ // found in the name/title/description
+ const otherTerms = new Set(objectTerms);
+ otherTerms.delete(object);
+ if (otherTerms.size > 0) {
+ const haystack = `${prefix} ${name} ${objName} ${title}`.toLowerCase();
+ if (
+ [...otherTerms].some((otherTerm) => haystack.indexOf(otherTerm) < 0)
+ )
+ return;
+ }
+
+ let anchor = match[3];
+ if (anchor === "") anchor = fullname;
+ else if (anchor === "-") anchor = objNames[match[1]][1] + "-" + fullname;
+
+ const descr = objName + _(", in ") + title;
+
+ // add custom score for some objects according to scorer
+ if (Scorer.objPrio.hasOwnProperty(match[2]))
+ score += Scorer.objPrio[match[2]];
+ else score += Scorer.objPrioDefault;
+
+ results.push([
+ docNames[match[0]],
+ fullname,
+ "#" + anchor,
+ descr,
+ score,
+ filenames[match[0]],
+ SearchResultKind.object,
+ ]);
+ };
+ Object.keys(objects).forEach((prefix) =>
+ objects[prefix].forEach((array) =>
+ objectSearchCallback(prefix, array)
+ )
+ );
+ return results;
+ },
+
+ /**
+ * search for full-text terms in the index
+ */
+ performTermsSearch: (searchTerms, excludedTerms) => {
+ // prepare search
+ const terms = Search._index.terms;
+ const titleTerms = Search._index.titleterms;
+ const filenames = Search._index.filenames;
+ const docNames = Search._index.docnames;
+ const titles = Search._index.titles;
+
+ const scoreMap = new Map();
+ const fileMap = new Map();
+
+ // perform the search on the required terms
+ searchTerms.forEach((word) => {
+ const files = [];
+ const arr = [
+ { files: terms[word], score: Scorer.term },
+ { files: titleTerms[word], score: Scorer.title },
+ ];
+ // add support for partial matches
+ if (word.length > 2) {
+ const escapedWord = _escapeRegExp(word);
+ if (!terms.hasOwnProperty(word)) {
+ Object.keys(terms).forEach((term) => {
+ if (term.match(escapedWord))
+ arr.push({ files: terms[term], score: Scorer.partialTerm });
+ });
+ }
+ if (!titleTerms.hasOwnProperty(word)) {
+ Object.keys(titleTerms).forEach((term) => {
+ if (term.match(escapedWord))
+ arr.push({ files: titleTerms[term], score: Scorer.partialTitle });
+ });
+ }
+ }
+
+ // no match but word was a required one
+ if (arr.every((record) => record.files === undefined)) return;
+
+ // found search word in contents
+ arr.forEach((record) => {
+ if (record.files === undefined) return;
+
+ let recordFiles = record.files;
+ if (recordFiles.length === undefined) recordFiles = [recordFiles];
+ files.push(...recordFiles);
+
+ // set score for the word in each file
+ recordFiles.forEach((file) => {
+ if (!scoreMap.has(file)) scoreMap.set(file, {});
+ scoreMap.get(file)[word] = record.score;
+ });
+ });
+
+ // create the mapping
+ files.forEach((file) => {
+ if (!fileMap.has(file)) fileMap.set(file, [word]);
+ else if (fileMap.get(file).indexOf(word) === -1) fileMap.get(file).push(word);
+ });
+ });
+
+ // now check if the files don't contain excluded terms
+ const results = [];
+ for (const [file, wordList] of fileMap) {
+ // check if all requirements are matched
+
+ // as search terms with length < 3 are discarded
+ const filteredTermCount = [...searchTerms].filter(
+ (term) => term.length > 2
+ ).length;
+ if (
+ wordList.length !== searchTerms.size &&
+ wordList.length !== filteredTermCount
+ )
+ continue;
+
+ // ensure that none of the excluded terms is in the search result
+ if (
+ [...excludedTerms].some(
+ (term) =>
+ terms[term] === file ||
+ titleTerms[term] === file ||
+ (terms[term] || []).includes(file) ||
+ (titleTerms[term] || []).includes(file)
+ )
+ )
+ break;
+
+ // select one (max) score for the file.
+ const score = Math.max(...wordList.map((w) => scoreMap.get(file)[w]));
+ // add result to the result list
+ results.push([
+ docNames[file],
+ titles[file],
+ "",
+ null,
+ score,
+ filenames[file],
+ SearchResultKind.text,
+ ]);
+ }
+ return results;
+ },
+
+ /**
+ * helper function to return a node containing the
+ * search summary for a given text. keywords is a list
+ * of stemmed words.
+ */
+ makeSearchSummary: (htmlText, keywords, anchor) => {
+ const text = Search.htmlToText(htmlText, anchor);
+ if (text === "") return null;
+
+ const textLower = text.toLowerCase();
+ const actualStartPosition = [...keywords]
+ .map((k) => textLower.indexOf(k.toLowerCase()))
+ .filter((i) => i > -1)
+ .slice(-1)[0];
+ const startWithContext = Math.max(actualStartPosition - 120, 0);
+
+ const top = startWithContext === 0 ? "" : "...";
+ const tail = startWithContext + 240 < text.length ? "..." : "";
+
+ let summary = document.createElement("p");
+ summary.classList.add("context");
+ summary.textContent = top + text.substr(startWithContext, 240).trim() + tail;
+
+ return summary;
+ },
+};
+
+_ready(Search.init);
diff --git a/main/imspy/_static/sphinx_highlight.js b/main/imspy/_static/sphinx_highlight.js
new file mode 100644
index 00000000..8a96c69a
--- /dev/null
+++ b/main/imspy/_static/sphinx_highlight.js
@@ -0,0 +1,154 @@
+/* Highlighting utilities for Sphinx HTML documentation. */
+"use strict";
+
+const SPHINX_HIGHLIGHT_ENABLED = true
+
+/**
+ * highlight a given string on a node by wrapping it in
+ * span elements with the given class name.
+ */
+const _highlight = (node, addItems, text, className) => {
+ if (node.nodeType === Node.TEXT_NODE) {
+ const val = node.nodeValue;
+ const parent = node.parentNode;
+ const pos = val.toLowerCase().indexOf(text);
+ if (
+ pos >= 0 &&
+ !parent.classList.contains(className) &&
+ !parent.classList.contains("nohighlight")
+ ) {
+ let span;
+
+ const closestNode = parent.closest("body, svg, foreignObject");
+ const isInSVG = closestNode && closestNode.matches("svg");
+ if (isInSVG) {
+ span = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
+ } else {
+ span = document.createElement("span");
+ span.classList.add(className);
+ }
+
+ span.appendChild(document.createTextNode(val.substr(pos, text.length)));
+ const rest = document.createTextNode(val.substr(pos + text.length));
+ parent.insertBefore(
+ span,
+ parent.insertBefore(
+ rest,
+ node.nextSibling
+ )
+ );
+ node.nodeValue = val.substr(0, pos);
+ /* There may be more occurrences of search term in this node. So call this
+ * function recursively on the remaining fragment.
+ */
+ _highlight(rest, addItems, text, className);
+
+ if (isInSVG) {
+ const rect = document.createElementNS(
+ "http://www.w3.org/2000/svg",
+ "rect"
+ );
+ const bbox = parent.getBBox();
+ rect.x.baseVal.value = bbox.x;
+ rect.y.baseVal.value = bbox.y;
+ rect.width.baseVal.value = bbox.width;
+ rect.height.baseVal.value = bbox.height;
+ rect.setAttribute("class", className);
+ addItems.push({ parent: parent, target: rect });
+ }
+ }
+ } else if (node.matches && !node.matches("button, select, textarea")) {
+ node.childNodes.forEach((el) => _highlight(el, addItems, text, className));
+ }
+};
+const _highlightText = (thisNode, text, className) => {
+ let addItems = [];
+ _highlight(thisNode, addItems, text, className);
+ addItems.forEach((obj) =>
+ obj.parent.insertAdjacentElement("beforebegin", obj.target)
+ );
+};
+
+/**
+ * Small JavaScript module for the documentation.
+ */
+const SphinxHighlight = {
+
+ /**
+ * highlight the search words provided in localstorage in the text
+ */
+ highlightSearchWords: () => {
+ if (!SPHINX_HIGHLIGHT_ENABLED) return; // bail if no highlight
+
+ // get and clear terms from localstorage
+ const url = new URL(window.location);
+ const highlight =
+ localStorage.getItem("sphinx_highlight_terms")
+ || url.searchParams.get("highlight")
+ || "";
+ localStorage.removeItem("sphinx_highlight_terms")
+ url.searchParams.delete("highlight");
+ window.history.replaceState({}, "", url);
+
+ // get individual terms from highlight string
+ const terms = highlight.toLowerCase().split(/\s+/).filter(x => x);
+ if (terms.length === 0) return; // nothing to do
+
+ // There should never be more than one element matching "div.body"
+ const divBody = document.querySelectorAll("div.body");
+ const body = divBody.length ? divBody[0] : document.querySelector("body");
+ window.setTimeout(() => {
+ terms.forEach((term) => _highlightText(body, term, "highlighted"));
+ }, 10);
+
+ const searchBox = document.getElementById("searchbox");
+ if (searchBox === null) return;
+ searchBox.appendChild(
+ document
+ .createRange()
+ .createContextualFragment(
+ '
' +
+ '' +
+ _("Hide Search Matches") +
+ "
"
+ )
+ );
+ },
+
+ /**
+ * helper function to hide the search marks again
+ */
+ hideSearchWords: () => {
+ document
+ .querySelectorAll("#searchbox .highlight-link")
+ .forEach((el) => el.remove());
+ document
+ .querySelectorAll("span.highlighted")
+ .forEach((el) => el.classList.remove("highlighted"));
+ localStorage.removeItem("sphinx_highlight_terms")
+ },
+
+ initEscapeListener: () => {
+ // only install a listener if it is really needed
+ if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) return;
+
+ document.addEventListener("keydown", (event) => {
+ // bail for input elements
+ if (BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)) return;
+ // bail with special keys
+ if (event.shiftKey || event.altKey || event.ctrlKey || event.metaKey) return;
+ if (DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS && (event.key === "Escape")) {
+ SphinxHighlight.hideSearchWords();
+ event.preventDefault();
+ }
+ });
+ },
+};
+
+_ready(() => {
+ /* Do not call highlightSearchWords() when we are on the search page.
+ * It will highlight words from the *previous* search query.
+ */
+ if (typeof Search === "undefined") SphinxHighlight.highlightSearchWords();
+ SphinxHighlight.initEscapeListener();
+});
diff --git a/main/imspy/genindex.html b/main/imspy/genindex.html
new file mode 100644
index 00000000..3b6e2310
--- /dev/null
+++ b/main/imspy/genindex.html
@@ -0,0 +1,1453 @@
+
+
+
+
+
+
+ Index — imspy 0.2.33 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index
+
+
+
A
+ |
B
+ |
C
+ |
D
+ |
E
+ |
F
+ |
G
+ |
I
+ |
J
+ |
K
+ |
L
+ |
M
+ |
N
+ |
O
+ |
P
+ |
R
+ |
S
+ |
T
+ |
V
+ |
W
+
+
+
A
+
+
+
B
+
+
+
C
+
+
+
D
+
+
+
E
+
+
+
F
+
+
+
G
+
+
+
I
+
+
+ im_lower (imspy.timstof.data.TimsDataset property)
+
+ im_upper (imspy.timstof.data.TimsDataset property)
+
+
+ imspy
+
+
+
+ imspy.algorithm.rt
+
+
+
+ imspy.algorithm.utility
+
+
+
+ imspy.chemistry
+
+
+
+ imspy.chemistry.amino_acids
+
+
+
+ imspy.chemistry.constants
+
+
+
+ imspy.chemistry.elements
+
+
+
+ imspy.chemistry.mobility
+
+
+
+ imspy.chemistry.unimod
+
+
+
+ imspy.chemistry.utility
+
+
+
+ imspy.data
+
+
+
+ imspy.data.peptide
+
+
+
+ imspy.data.spectrum
+
+
+
+ imspy.simulation
+
+
+
+ imspy.simulation.annotation
+
+
+
+ imspy.simulation.experiment
+
+
+
+ imspy.simulation.handle
+
+
+
+ imspy.simulation.noise
+
+
+
+ imspy.simulation.proteome
+
+
+
+ imspy.simulation.tdf
+
+
+
+ imspy.simulation.timsim
+
+
+
+ imspy.simulation.timsim.jobs
+
+
+
+ imspy.simulation.timsim.jobs.simulate_frame_distributions
+
+
+
+ imspy.simulation.timsim.jobs.simulate_frame_distributions_emg
+
+
+
+
+
+
+
J
+
+
+
K
+
+
+
L
+
+
+
M
+
+
+
N
+
+
+
O
+
+
+
P
+
+
+
R
+
+
+
S
+
+
+
T
+
+
+
V
+
+
+
W
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/main/imspy/imspy.algorithm.ccs.html b/main/imspy/imspy.algorithm.ccs.html
new file mode 100644
index 00000000..8f397ce8
--- /dev/null
+++ b/main/imspy/imspy.algorithm.ccs.html
@@ -0,0 +1,132 @@
+
+
+
+
+
+
+
+ imspy.algorithm.ccs package — imspy 0.2.33 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+imspy.algorithm.ccs package
+
+
+imspy.algorithm.ccs.predictors module
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/main/imspy/imspy.algorithm.html b/main/imspy/imspy.algorithm.html
new file mode 100644
index 00000000..bdb61783
--- /dev/null
+++ b/main/imspy/imspy.algorithm.html
@@ -0,0 +1,256 @@
+
+
+
+
+
+
+
+ imspy.algorithm package — imspy 0.2.33 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+imspy.algorithm package
+
+
+
+imspy.algorithm.hashing module
+
+
+imspy.algorithm.mixture module
+
+
+imspy.algorithm.utility module
+
+
+class imspy.algorithm.utility. InMemoryCheckpoint ( validation_target = 'val_loss' )
+Bases: Callback
+
+
+on_epoch_end ( epoch , logs = None )
+Called at the end of an epoch.
+Subclasses should override for any actions to run. This function should
+only be called during TRAIN mode.
+
+Parameters:
+
+epoch – Integer, index of epoch.
+logs – Dict, metric results for this training epoch, and for the
+validation epoch if validation is performed. Validation result
+keys are prefixed with val_ . For training epoch, the values of
+the Model ’s metrics are returned. Example:
+{‘loss’: 0.2, ‘accuracy’: 0.7} .
+
+
+
+
+
+
+
+on_train_begin ( logs = None )
+Called at the beginning of training.
+Subclasses should override for any actions to run.
+
+Parameters:
+logs – Dict. Currently no data is passed to this argument for this
+method but that may change in the future.
+
+
+
+
+
+
+on_train_end ( logs = None )
+Called at the end of training.
+Subclasses should override for any actions to run.
+
+Parameters:
+logs – Dict. Currently the output of the last call to
+on_epoch_end() is passed to this argument for this method but
+that may change in the future.
+
+
+
+
+
+
+
+
+imspy.algorithm.utility. get_model_path ( model_name )
+Get the path to a pretrained model
+
+Parameters:
+model_name (str
) – The name of the model to load
+
+Return type:
+Traversable
+
+Returns:
+The path to the pretrained model
+
+
+
+
+
+
+imspy.algorithm.utility. load_tokenizer_from_resources ( tokenizer_name )
+Load a tokenizer from resources
+
+Return type:
+Tokenizer
+
+Returns:
+The pretrained tokenizer
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/main/imspy/imspy.algorithm.intensity.html b/main/imspy/imspy.algorithm.intensity.html
new file mode 100644
index 00000000..e3c45d6c
--- /dev/null
+++ b/main/imspy/imspy.algorithm.intensity.html
@@ -0,0 +1,135 @@
+
+
+
+
+
+
+
+ imspy.algorithm.intensity package — imspy 0.2.33 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+imspy.algorithm.intensity package
+
+
+imspy.algorithm.intensity.predictors module
+
+
+imspy.algorithm.intensity.utility module
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/main/imspy/imspy.algorithm.ionization.html b/main/imspy/imspy.algorithm.ionization.html
new file mode 100644
index 00000000..1f424340
--- /dev/null
+++ b/main/imspy/imspy.algorithm.ionization.html
@@ -0,0 +1,132 @@
+
+
+
+
+
+
+
+ imspy.algorithm.ionization package — imspy 0.2.33 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+imspy.algorithm.ionization package
+
+
+imspy.algorithm.ionization.predictors module
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/main/imspy/imspy.algorithm.pretrained.html b/main/imspy/imspy.algorithm.pretrained.html
new file mode 100644
index 00000000..b30001bc
--- /dev/null
+++ b/main/imspy/imspy.algorithm.pretrained.html
@@ -0,0 +1,126 @@
+
+
+
+
+
+
+
+ imspy.algorithm.pretrained package — imspy 0.2.33 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+imspy.algorithm.pretrained package
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/main/imspy/imspy.algorithm.rt.html b/main/imspy/imspy.algorithm.rt.html
new file mode 100644
index 00000000..41c93f86
--- /dev/null
+++ b/main/imspy/imspy.algorithm.rt.html
@@ -0,0 +1,132 @@
+
+
+
+
+
+
+
+ imspy.algorithm.rt package — imspy 0.2.33 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+imspy.algorithm.rt package
+
+
+imspy.algorithm.rt.predictors module
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/main/imspy/imspy.chemistry.html b/main/imspy/imspy.chemistry.html
new file mode 100644
index 00000000..653c754d
--- /dev/null
+++ b/main/imspy/imspy.chemistry.html
@@ -0,0 +1,238 @@
+
+
+
+
+
+
+
+ imspy.chemistry package — imspy 0.2.33 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+imspy.chemistry package
+
+
+imspy.chemistry.amino_acids module
+
+
+imspy.chemistry.constants module
+
+
+imspy.chemistry.elements module
+
+
+imspy.chemistry.mobility module
+
+
+imspy.chemistry.mobility. ccs_to_one_over_k0 ( ccs , mz , charge , mass_gas = 28.013 , temp = 31.85 , t_diff = 273.15 )
+Convert CCS to reduced ion mobility (1/k0).
+
+Parameters:
+
+ccs – collision cross-section
+mz – mass-over-charge of the ion
+charge – charge state of the ion
+mass_gas – mass of drift gas
+temp – temperature of the drift gas in C°
+t_diff – factor to translate from C° to K
+
+
+Returns:
+reduced ion mobility
+
+Return type:
+float
+
+
+
+
+
+
+imspy.chemistry.mobility. one_over_k0_to_ccs ( one_over_k0 , mz , charge , mass_gas = 28.013 , temp = 31.85 , t_diff = 273.15 )
+Convert reduced ion mobility (1/k0) to CCS.
+
+Parameters:
+
+one_over_k0 – reduced ion mobility
+mz – mass-over-charge of the ion
+charge – charge state of the ion
+mass_gas – mass of drift gas
+temp – temperature of the drift gas in C°
+t_diff – factor to translate from C° to K
+
+
+Returns:
+collision cross-section
+
+Return type:
+float
+
+
+
+
+
+
+
+imspy.chemistry.unimod module
+
+
+imspy.chemistry.utility module
+
+
+imspy.chemistry.utility. calculate_mz ( mass , charge )
+Calculate m/z value.
+
+Parameters:
+
+mass (float ) – Mass.
+charge (int ) – Charge.
+
+
+Returns:
+m/z value.
+
+Return type:
+float
+
+
+
+
+
+
+imspy.chemistry.utility. calculate_transmission_dependent_fragment_ion_isotope_distribution ( target_spec , complement_spec , transmitted_isotopes , max_isotope )
+Calculate transmission dependent fragment ion isotope distribution.
+
+Parameters:
+
+target_spec (MzSpectrum ) – Target spectrum.
+complement_spec (MzSpectrum ) – Complement spectrum.
+transmitted_isotopes (MzSpectrum ) – Transmitted isotopes.
+max_isotope (int ) – Maximum isotope.
+
+
+Returns:
+Transmission dependent fragment ion isotope distribution.
+
+Return type:
+MzSpectrum
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/main/imspy/imspy.data.html b/main/imspy/imspy.data.html
new file mode 100644
index 00000000..02bf4498
--- /dev/null
+++ b/main/imspy/imspy.data.html
@@ -0,0 +1,1305 @@
+
+
+
+
+
+
+
+ imspy.data package — imspy 0.2.33 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+imspy.data package
+
+
+imspy.data.peptide module
+
+
+class imspy.data.peptide. PeptideIon ( sequence , charge , intensity , peptide_id = None )
+Bases: RustWrapperObject
+
+
+property atomic_composition
+
+
+
+
+calculate_isotopic_spectrum ( mass_tolerance = 0.001 , abundance_threshold = 1e-08 , max_result = 200 , intensity_min = 0.0001 )
+Calculate the isotopic spectrum of the peptide ion.
+
+Parameters:
+
+mass_tolerance (float
) – The mass tolerance for the isotopic spectrum calculation.
+abundance_threshold (float
) – The abundance threshold for the isotopic spectrum calculation.
+max_result (int
) – The maximum number of results to return.
+intensity_min (float
) – The minimum intensity of the isotopic spectrum.
+
+
+Return type:
+MzSpectrum
+
+Returns:
+The isotopic spectrum of the peptide ion.
+
+
+
+
+
+
+calculate_isotopic_spectrum_annotated ( mass_tolerance = 0.001 , abundance_threshold = 1e-08 , max_result = 200 , intensity_min = 0.0001 )
+Calculate the isotopic spectrum of the peptide ion.
+
+Parameters:
+
+mass_tolerance (float
) – The mass tolerance for the isotopic spectrum calculation.
+abundance_threshold (float
) – The abundance threshold for the isotopic spectrum calculation.
+max_result (int
) – The maximum number of results to return.
+intensity_min (float
) – The minimum intensity of the isotopic spectrum.
+
+
+Return type:
+MzSpectrumAnnotated
+
+Returns:
+The isotopic spectrum of the peptide ion.
+
+
+
+
+
+
+property charge : int
+
+
+
+
+classmethod from_py_ptr ( ion )
+
+
+
+
+get_py_ptr ( )
+
+
+
+
+property intensity : float
+
+
+
+
+property mz : float
+
+
+
+
+property peptide_id : None | int
+
+
+
+
+property sequence : PeptideSequence
+
+
+
+
+to_json ( )
+
+Return type:
+str
+
+
+
+
+
+
+
+
+class imspy.data.peptide. PeptideProductIon ( kind , sequence , charge = 1 , intensity = 1.0 , peptide_id = None )
+Bases: RustWrapperObject
+
+
+atomic_composition ( )
+
+
+
+
+property charge : int
+
+
+
+
+classmethod from_py_ptr ( product_ion )
+
+
+
+
+get_py_ptr ( )
+
+
+
+
+property intensity : float
+
+
+
+
+isotope_distribution ( mass_tolerance = 0.001 , abundance_threshold = 1e-08 , max_result = 200 , intensity_min = 0.0001 )
+Calculate the isotope distribution of the product ion.
+
+Parameters:
+
+mass_tolerance (float
) – The mass tolerance for the isotope distribution calculation.
+abundance_threshold (float
) – The abundance threshold for the isotope distribution calculation.
+max_result (int
) – The maximum number of results to return.
+intensity_min (float
) – The minimum intensity of the isotope distribution.
+
+
+Return type:
+List
[Tuple
[float
, float
]]
+
+Returns:
+The isotope distribution of the product ion.
+
+
+
+
+
+
+property kind : str
+
+
+
+
+property mono_isotopic_mass : float
+
+
+
+
+property mz : float
+
+
+
+
+property sequence : str
+
+
+
+
+to_json ( )
+
+Return type:
+str
+
+
+
+
+
+
+
+
+class imspy.data.peptide. PeptideProductIonSeries ( charge , n_ions , c_ions )
+Bases: RustWrapperObject
+
+
+property c_ions : List [ PeptideProductIon ]
+
+
+
+
+property charge : int
+
+
+
+
+classmethod from_py_ptr ( series )
+
+
+
+
+get_py_ptr ( )
+
+
+
+
+property n_ions : List [ PeptideProductIon ]
+
+
+
+
+to_json ( )
+
+Return type:
+str
+
+
+
+
+
+
+
+
+class imspy.data.peptide. PeptideProductIonSeriesCollection ( series )
+Bases: RustWrapperObject
+
+
+find_series ( charge )
+Find the product ion series with the given charge.
+
+Parameters:
+charge (int
) – The charge of the product ion series.
+
+Return type:
+Optional
[PeptideProductIonSeries
]
+
+Returns:
+The product ion series with the given charge, or None if not found.
+
+
+
+
+
+
+classmethod from_py_ptr ( collection )
+
+
+
+
+generate_isotopic_spectrum ( mass_tolerance = 0.001 , abundance_threshold = 1e-06 , max_result = 2000 , intensity_min = 1e-06 )
+Calculate the isotope distribution of the product ion series collection.
+
+Parameters:
+
+mass_tolerance (float
) – The mass tolerance for the isotope distribution calculation.
+abundance_threshold (float
) – The abundance threshold for the isotope distribution calculation.
+max_result (int
) – The maximum number of results to return.
+intensity_min (float
) – The minimum intensity of the isotope distribution.
+
+
+Return type:
+MzSpectrum
+
+Returns:
+The isotope distribution of the product ion series collection.
+
+
+
+
+
+
+generate_isotopic_spectrum_annotated ( mass_tolerance = 0.001 , abundance_threshold = 1e-06 , max_result = 2000 , intensity_min = 1e-06 )
+Calculate the isotope distribution of the product ion series collection.
+
+Parameters:
+
+mass_tolerance (float
) – The mass tolerance for the isotope distribution calculation.
+abundance_threshold (float
) – The abundance threshold for the isotope distribution calculation.
+max_result (int
) – The maximum number of results to return.
+intensity_min (float
) – The minimum intensity of the isotope distribution.
+
+
+Return type:
+MzSpectrumAnnotated
+
+Returns:
+The isotope distribution of the product ion series collection.
+
+
+
+
+
+
+get_py_ptr ( )
+
+
+
+
+property series : List [ PeptideProductIonSeries ]
+
+
+
+
+to_json ( )
+
+Return type:
+str
+
+
+
+
+
+
+
+
+class imspy.data.peptide. PeptideSequence ( sequence , peptide_id = None )
+Bases: RustWrapperObject
+
+
+property amino_acid_count : int
+
+
+
+
+associate_fragment_ion_series_with_prosit_intensities ( flat_intensities , charge , fragment_type = 'b' , normalize = True , half_charge_one = True )
+Associate the peptide sequence with predicted intensities from Prosit intensity prediction.
+
+Parameters:
+
+flat_intensities (List
[float
] ) – The flat intensities.
+TODO (# ) – check how charge should be handled
+charge (int
) – The charge of the product ions.
+fragment_type (str
) – The type of the product ions, must be one of ‘a’, ‘b’, ‘c’, ‘x’, ‘y’, ‘z’.
+normalize (bool
) – Whether to normalize the intensities.
+half_charge_one (bool
) – Whether to use half charge one.
+
+
+Return type:
+PeptideProductIonSeriesCollection
+
+Returns:
+The b and y product ion series of the peptide sequence.
+
+
+
+
+
+
+property atomic_composition
+
+
+
+
+calculate_isotopic_product_ion_spectrum_annotated ( charge = 1 , fragment_type = 'b' , mass_tolerance = 0.001 , abundance_threshold = 1e-08 , max_result = 200 , intensity_min = 0.0001 )
+Calculate the isotopic product ion spectrum of the peptide sequence.
+
+Parameters:
+
+intensity_min (float
)
+max_result (int
)
+abundance_threshold (float
)
+mass_tolerance (float
)
+charge (int
) – The charge of the product ions.
+fragment_type (str
) – The type of the product ions, must be one of ‘a’, ‘b’, ‘c’, ‘x’, ‘y’, ‘z’.
+
+
+Return type:
+MzSpectrumAnnotated
+
+Returns:
+The isotopic product ion spectrum of the peptide sequence.
+
+
+
+
+
+
+calculate_mono_isotopic_product_ion_spectrum ( charge = 1 , fragment_type = 'b' )
+Calculate the mono-isotopic product ion spectrum of the peptide sequence.
+
+Parameters:
+
+charge (int
) – The charge of the product ions.
+fragment_type (str
) – The type of the product ions, must be one of ‘a’, ‘b’, ‘c’, ‘x’, ‘y’, ‘z’.
+
+
+Return type:
+MzSpectrum
+
+Returns:
+The mono-isotopic product ion spectrum of the peptide sequence.
+
+
+
+
+
+
+calculate_mono_isotopic_product_ion_spectrum_annotated ( charge = 1 , fragment_type = 'b' )
+Calculate the mono-isotopic product ion spectrum of the peptide sequence.
+
+Parameters:
+
+charge (int
) – The charge of the product ions.
+fragment_type (str
) – The type of the product ions, must be one of ‘a’, ‘b’, ‘c’, ‘x’, ‘y’, ‘z’.
+
+
+Return type:
+MzSpectrumAnnotated
+
+Returns:
+The mono-isotopic product ion spectrum of the peptide sequence.
+
+
+
+
+
+
+calculate_product_ion_series ( charge = 1 , fragment_type = 'b' )
+Calculate the b and y product ion series of the peptide sequence.
+
+Parameters:
+
+charge (int
) – The charge of the product ions.
+fragment_type (str
) – The type of the product ions, must be one of ‘a’, ‘b’, ‘c’, ‘x’, ‘y’, ‘z’.
+
+
+Return type:
+Tuple
[List
[PeptideProductIon
], List
[PeptideProductIon
]]
+
+Returns:
+The b and y product ion series of the peptide sequence.
+
+
+
+
+
+
+classmethod from_py_ptr ( obj )
+
+
+
+
+get_py_ptr ( )
+
+
+
+
+property mono_isotopic_mass : float
+
+
+
+
+property peptide_id : None | int
+
+
+
+
+property sequence : str
+
+
+
+
+to_json ( )
+
+Return type:
+str
+
+
+
+
+
+
+to_sage_representation ( )
+
+Return type:
+Tuple
[str
, List
[float
]]
+
+
+
+
+
+
+to_tokens ( group_modifications = True )
+
+Return type:
+List
[str
]
+
+
+
+
+
+
+
+
+imspy.data.spectrum module
+
+
+class imspy.data.spectrum. IndexedMzSpectrum ( index , mz , intensity )
+Bases: RustWrapperObject
+
+
+property df : DataFrame
+Data.
+
+Returns:
+Data.
+
+Return type:
+pd.DataFrame
+
+
+
+
+
+
+filter ( mz_min = 0.0 , mz_max = 2000.0 , intensity_min = 0.0 , intensity_max = 1000000000.0 )
+Filter the spectrum for a given m/z range and intensity range.
+
+Parameters:
+
+mz_min (float ) – Minimum m/z value.
+mz_max (float ) – Maximum m/z value.
+intensity_min (float , optional ) – Minimum intensity value. Defaults to 0.0.
+intensity_max (float , optional ) – Maximum intensity value. Defaults to 1e9.
+
+
+Returns:
+Filtered spectrum.
+
+Return type:
+IndexedMzSpectrum
+
+
+
+
+
+
+classmethod from_py_ptr ( spec )
+Create a IndexedMzSpectrum from a PyIndexedMzSpectrum.
+
+Parameters:
+spec (pims.PyIndexedMzSpectrum ) – PyIndexedMzSpectrum to create the IndexedMzSpectrum from.
+
+Returns:
+IndexedMzSpectrum created from the PyIndexedMzSpectrum.
+
+Return type:
+IndexedMzSpectrum
+
+
+
+
+
+
+get_py_ptr ( )
+Get the spec_ptr.
+
+Returns:
+spec_ptr.
+
+Return type:
+pims.PyIndexedMzSpectrum
+
+
+
+
+
+
+property index : ndarray [ Any , dtype [ int32 ] ]
+Index.
+
+Returns:
+Index.
+
+Return type:
+NDArray[np.int32]
+
+
+
+
+
+
+property intensity : ndarray [ Any , dtype [ float64 ] ]
+Intensity.
+
+Returns:
+Intensity.
+
+Return type:
+NDArray[np.float64]
+
+
+
+
+
+
+property mz : ndarray [ Any , dtype [ float64 ] ]
+m/z.
+
+Returns:
+m/z.
+
+Return type:
+NDArray[np.float64]
+
+
+
+
+
+
+
+
+class imspy.data.spectrum. MzSpectrum ( mz , intensity )
+Bases: RustWrapperObject
+
+
+add_mz_noise_normal ( noise_ppm )
+Add normal noise to the intensity values of the spectrum.
+
+Parameters:
+noise_ppm (float ) – Noise ppm, noise will be sampled from a normal distribution with mean 0 and std noise_ppm / 3.0.
+
+Returns:
+Spectrum with added noise.
+
+Return type:
+MzSpectrum
+
+
+
+
+
+
+add_mz_noise_uniform ( noise_ppm , right_drag = False )
+Add uniform noise to the m/z values of the spectrum.
+
+Parameters:
+
+noise_ppm (float ) – Noise ppm, noise will be sampled from a uniform distribution with mean 0 and std noise_ppm.
+right_drag (bool , optional ) – If true, the noise will be shifted to the right. Defaults to False.
+
+
+Returns:
+Spectrum with added noise.
+
+Return type:
+MzSpectrum
+
+
+
+
+
+
+property df : DataFrame
+Data.
+
+Returns:
+Data.
+
+Return type:
+pd.DataFrame
+
+
+
+
+
+
+filter ( mz_min = 0.0 , mz_max = 2000.0 , intensity_min = 0.0 , intensity_max = 1000000000.0 )
+Filter the spectrum for a given m/z range and intensity range.
+
+Parameters:
+
+mz_min (float ) – Minimum m/z value.
+mz_max (float ) – Maximum m/z value.
+intensity_min (float , optional ) – Minimum intensity value. Defaults to 0.0.
+intensity_max (float , optional ) – Maximum intensity value. Defaults to 1e9.
+
+
+Returns:
+Filtered spectrum.
+
+Return type:
+MzSpectrum
+
+
+
+
+
+
+classmethod from_jsons ( jsons )
+
+Return type:
+MzSpectrum
+
+
+
+
+
+
+classmethod from_mz_spectra_list ( spectra_list , resolution )
+Generates a convoluted mass spectrum by adding all spectra in the given list.
+
+Parameters:
+
+
+Returns:
+Convoluted spectrum.
+
+Return type:
+MzSpectrum
+
+
+
+
+
+
+classmethod from_py_ptr ( spec )
+Create a MzSpectrum from a PyMzSpectrum.
+
+Parameters:
+spec (pims.PyMzSpectrum ) – PyMzSpectrum to create the MzSpectrum from.
+
+Returns:
+MzSpectrum created from the PyMzSpectrum.
+
+Return type:
+MzSpectrum
+
+
+
+
+
+
+get_py_ptr ( )
+Get the spec_ptr.
+
+Returns:
+spec_ptr.
+
+Return type:
+pims.PyMzSpectrum
+
+
+
+
+
+
+property intensity : ndarray [ Any , dtype [ float64 ] ]
+Intensity.
+
+Returns:
+Intensity.
+
+Return type:
+NDArray[np.float64]
+
+
+
+
+
+
+property mz : ndarray [ Any , dtype [ float64 ] ]
+m/z.
+
+Returns:
+m/z.
+
+Return type:
+NDArray[np.float64]
+
+
+
+
+
+
+to_centroided ( baseline_noise_level = 0.0 , sigma = 0.1 , normalize = True )
+Convert the spectrum to a centroided spectrum.
+
+Returns:
+Centroided spectrum.
+
+Return type:
+MzSpectrum
+
+
+
+
+
+
+to_jsons ( )
+generates json string representation of MzSpectrum
+
+Return type:
+str
+
+
+
+
+
+
+to_resolution ( resolution )
+Bins the spectrum’s m/z values to a
+given resolution and sums the intensities.
+
+Parameters:
+resolution (int ) – Negative decadic logarithm of bin size.
+
+Returns:
+A new MzSpectrum where m/z values are binned according to the given resolution.
+
+Return type:
+MzSpectrum
+
+
+
+
+
+
+to_windows ( window_length = 10 , overlapping = True , min_num_peaks = 5 , min_intensity = 1 )
+Convert the spectrum to a list of windows.
+
+Parameters:
+
+window_length (float , optional ) – Window length. Defaults to 10.
+overlapping (bool , optional ) – Whether the windows should overlap. Defaults to True.
+min_num_peaks (int , optional ) – Minimum number of peaks in a window. Defaults to 5.
+min_intensity (float , optional ) – Minimum intensity of a peak in a window. Defaults to 1.
+
+
+Returns:
+List of windows.
+
+Return type:
+Tuple[NDArray, List[MzSpectrum ]]
+
+
+
+
+
+
+vectorized ( resolution = 2 )
+Convert the spectrum to a vectorized spectrum.
+
+Parameters:
+resolution (int , optional ) – Resolution. Defaults to 2.
+
+Returns:
+Vectorized spectrum.
+
+Return type:
+MzSpectrumVectorized
+
+
+
+
+
+
+
+
+class imspy.data.spectrum. MzSpectrumVectorized ( indices , values , resolution )
+Bases: RustWrapperObject
+
+
+classmethod from_py_ptr ( spec )
+Create a MzSpectrum from a PyMzSpectrum.
+
+Parameters:
+spec (pims.PyMzSpectrum ) – PyMzSpectrum to create the MzSpectrum from.
+
+Returns:
+MzSpectrum created from the PyMzSpectrum.
+
+Return type:
+MzSpectrum
+
+
+
+
+
+
+get_py_ptr ( )
+Get the spec_ptr.
+
+Returns:
+spec_ptr.
+
+Return type:
+pims.PyMzSpectrumVectorized
+
+
+
+
+
+
+property indices : ndarray [ Any , dtype [ int32 ] ]
+m/z.
+
+Returns:
+m/z.
+
+Return type:
+NDArray[np.float64]
+
+
+
+
+
+
+property resolution : float
+Resolution.
+
+Returns:
+Resolution.
+
+Return type:
+float
+
+
+
+
+
+
+to_centroided ( integrate_method=<function get_peak_integral> )
+Convert the spectrum to a centroided spectrum.
+
+Returns:
+Centroided spectrum.
+
+Return type:
+MzSpectrum
+
+
+
+
+
+
+property values : ndarray [ Any , dtype [ float64 ] ]
+Intensity.
+
+Returns:
+Intensity.
+
+Return type:
+NDArray[np.float64]
+
+
+
+
+
+
+
+
+class imspy.data.spectrum. TimsSpectrum ( frame_id , scan , retention_time , mobility , ms_type , index , mz , intensity )
+Bases: RustWrapperObject
+
+
+property df : DataFrame
+Data.
+
+Returns:
+Data.
+
+Return type:
+pd.DataFrame
+
+
+
+
+
+
+filter ( mz_min = 0.0 , mz_max = 2000.0 , intensity_min = 0.0 , intensity_max = 1000000000.0 )
+Filter the spectrum for a given m/z range and intensity range.
+
+Parameters:
+
+mz_min (float ) – Minimum m/z value.
+mz_max (float ) – Maximum m/z value.
+intensity_min (float , optional ) – Minimum intensity value. Defaults to 0.0.
+intensity_max (float , optional ) – Maximum intensity value. Defaults to 1e9.
+
+
+Returns:
+Filtered spectrum.
+
+Return type:
+TimsSpectrum
+
+
+
+
+
+
+property frame_id : int
+Frame ID.
+
+Returns:
+Frame ID.
+
+Return type:
+int
+
+
+
+
+
+
+classmethod from_py_ptr ( spec )
+Create a TimsSpectrum from a PyTimsSpectrum.
+
+Parameters:
+spec (pims.PyTimsSpectrum ) – PyTimsSpectrum to create the TimsSpectrum from.
+
+Returns:
+TimsSpectrum created from the PyTimsSpectrum.
+
+Return type:
+TimsSpectrum
+
+
+
+
+
+
+get_py_ptr ( )
+Get the spec_ptr.
+
+Returns:
+spec_ptr.
+
+Return type:
+pims.PyTimsSpectrum
+
+
+
+
+
+
+property index : ndarray [ Any , dtype [ int32 ] ]
+Index.
+
+Returns:
+Index.
+
+Return type:
+NDArray[np.int32]
+
+
+
+
+
+
+property intensity : ndarray [ Any , dtype [ float64 ] ]
+Intensity.
+
+Returns:
+Intensity.
+
+Return type:
+NDArray[np.float64]
+
+
+
+
+
+
+property mobility : float
+Inverse mobility.
+
+Returns:
+Inverse mobility.
+
+Return type:
+float
+
+
+
+
+
+
+property ms_type : str
+MS type.
+
+Returns:
+MS type.
+
+Return type:
+str
+
+
+
+
+
+
+property mz : ndarray [ Any , dtype [ float64 ] ]
+m/z.
+
+Returns:
+m/z.
+
+Return type:
+NDArray[np.float64]
+
+
+
+
+
+
+property mz_spectrum : MzSpectrum
+Get the MzSpectrum.
+
+Returns:
+Spectrum.
+
+Return type:
+MzSpectrum
+
+
+
+
+
+
+property retention_time : float
+Retention time.
+
+Returns:
+Retention time.
+
+Return type:
+float
+
+
+
+
+
+
+property scan : int
+Scan.
+
+Returns:
+Scan.
+
+Return type:
+int
+
+
+
+
+
+
+
+
+imspy.data.spectrum. get_peak_integral ( peaks , peak_info )
+Calculates the integral of the peaks in a spectrum.
+
+Parameters:
+
+
+Returns:
+Peak integrals.
+
+Return type:
+NDArray[np.float64]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/main/imspy/imspy.html b/main/imspy/imspy.html
new file mode 100644
index 00000000..66841afb
--- /dev/null
+++ b/main/imspy/imspy.html
@@ -0,0 +1,125 @@
+
+
+
+
+
+
+
+ imspy Package — imspy 0.2.33 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+imspy Package
+The imspy package provides tools for X, Y, and Z. This page introduces the main module and gives an overview of its submodules.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/main/imspy/imspy.simulation.html b/main/imspy/imspy.simulation.html
new file mode 100644
index 00000000..11e28678
--- /dev/null
+++ b/main/imspy/imspy.simulation.html
@@ -0,0 +1,1468 @@
+
+
+
+
+
+
+
+ imspy.simulation package — imspy 0.2.33 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+imspy.simulation package
+
+
+
+imspy.simulation.acquisition module
+
+
+imspy.simulation.annotation module
+
+
+class imspy.simulation.annotation. ContributionSource ( intensity_contribution , source_type , signal_attributes = None )
+Bases: RustWrapperObject
+
+
+classmethod from_py_ptr ( contribution_source )
+
+Return type:
+ContributionSource
+
+
+
+
+
+
+get_py_ptr ( )
+
+Return type:
+PyContributionSource
+
+
+
+
+
+
+property intensity_contribution : float
+
+
+
+
+property signal_attributes : None | SignalAttributes
+
+
+
+
+property source_type : SourceType
+
+
+
+
+
+
+class imspy.simulation.annotation. MzSpectrumAnnotated ( mz , intensity , annotations )
+Bases: RustWrapperObject
+
+
+property annotations : list [ PeakAnnotation ]
+
+
+
+
+filter ( mz_min = 0.0 , mz_max = 1700.0 , intensity_min = 0.0 , intensity_max = 1000000000.0 )
+
+Return type:
+MzSpectrumAnnotated
+
+
+
+
+
+
+classmethod from_py_ptr ( mz_spectrum_annotated )
+
+Return type:
+MzSpectrumAnnotated
+
+
+
+
+
+
+get_py_ptr ( )
+
+Return type:
+PyMzSpectrumAnnotated
+
+
+
+
+
+
+property intensity : list [ float ]
+
+
+
+
+property mz : list [ float ]
+
+
+
+
+
+
+class imspy.simulation.annotation. PeakAnnotation ( contributions )
+Bases: RustWrapperObject
+
+
+property contributions : list [ ContributionSource ]
+
+
+
+
+classmethod from_py_ptr ( peak_annotation )
+
+Return type:
+PeakAnnotation
+
+
+
+
+
+
+get_py_ptr ( )
+
+Return type:
+PyPeakAnnotation
+
+
+
+
+
+
+
+
+class imspy.simulation.annotation. RustWrapperObject
+Bases: ABC
+
+
+abstract classmethod from_py_ptr ( obj )
+
+
+
+
+abstract get_py_ptr ( )
+
+
+
+
+
+
+class imspy.simulation.annotation. SignalAttributes ( charge_state , peptide_id , isotope_peak , description = None )
+Bases: RustWrapperObject
+
+
+property charge_state
+
+
+
+
+property description : None | str
+
+
+
+
+classmethod from_py_ptr ( signal_attributes )
+
+Return type:
+SignalAttributes
+
+
+
+
+
+
+get_py_ptr ( )
+
+Return type:
+PySignalAttributes
+
+
+
+
+
+
+property isotope_peak
+
+
+
+
+property peptide_id
+
+
+
+
+
+
+class imspy.simulation.annotation. SourceType ( source_type )
+Bases: RustWrapperObject
+
+
+classmethod from_py_ptr ( source_type )
+
+Return type:
+SourceType
+
+
+
+
+
+
+get_py_ptr ( )
+
+Return type:
+PySourceType
+
+
+
+
+
+
+property source_type : str
+
+
+
+
+
+
+class imspy.simulation.annotation. TimsFrameAnnotated ( frame_id , retention_time , ms_type , tof , mz , scan , inv_mobility , intensity , annotations )
+Bases: RustWrapperObject
+
+
+property annotations : list [ PeakAnnotation ]
+
+
+
+
+property charge_states_first_only : ndarray [ Any , dtype [ int ] ]
+
+
+
+
+property df : DataFrame
+
+
+
+
+filter ( mz_min = 0.0 , mz_max = 1700.0 , inv_mobility_min = 0.0 , inv_mobility_max = 4.0 , scan_min = 0 , scan_max = 1000 , intensity_min = 0.0 , intensity_max = 1000000000.0 )
+
+Return type:
+TimsFrameAnnotated
+
+
+
+
+
+
+property frame_id : int
+
+
+
+
+classmethod from_py_ptr ( tims_frame_annotated )
+
+Return type:
+TimsFrameAnnotated
+
+
+
+
+
+
+get_py_ptr ( )
+
+Return type:
+PyTimsFrameAnnotated
+
+
+
+
+
+
+property intensity : list [ float ]
+
+
+
+
+property inv_mobility : list [ float ]
+
+
+
+
+property isotope_peaks_first_only : ndarray [ Any , dtype [ int ] ]
+
+
+
+
+property ms_type : int
+
+
+
+
+property ms_type_numeric : int
+
+
+
+
+property mz : list [ float ]
+
+
+
+
+property peptide_ids_first_only : ndarray [ Any , dtype [ int ] ]
+
+
+
+
+property retention_time : float
+
+
+
+
+property scan : list [ int ]
+
+
+
+
+property tof : list [ int ]
+
+
+
+
+
+
+imspy.simulation.experiment module
+
+
+class imspy.simulation.experiment. SyntheticExperimentDataHandle ( database_path , database_name = 'synthetic_data.db' , verbose = True )
+Bases: object
+
+
+append_table ( table_name , table )
+
+
+
+
+close ( )
+
+
+
+
+create_table ( table_name , table )
+
+
+
+
+create_table_sql ( sql )
+
+
+
+
+get_table ( table_name )
+
+Return type:
+DataFrame
+
+
+
+
+
+
+list_columns ( table_name )
+
+
+
+
+list_tables ( )
+
+
+
+
+
+
+class imspy.simulation.experiment. SyntheticExperimentDataHandleDIA ( database_path , database_name = 'synthetic_data.db' , verbose = True )
+Bases: SyntheticExperimentDataHandle
, ABC
+
+
+get_frame_to_window_group ( )
+
+
+
+
+get_window_group_settings ( )
+
+
+
+
+
+
+class imspy.simulation.experiment. TimsTofSyntheticFrameBuilderDIA ( db_path , with_annotations = False , num_threads = 4 )
+Bases: RustWrapperObject
+
+
+build_frame ( frame_id , fragment = True , mz_noise_precursor = False , mz_noise_uniform = False , precursor_noise_ppm = 5.0 , mz_noise_fragment = False , fragment_noise_ppm = 5.0 , right_drag = True )
+Build a frame.
+
+Parameters:
+
+frame_id (int ) – Frame ID.
+fragment (bool ) – if true, frame will undergo synthetic fragmentation if it is a fragment frame,
+fragmentation. (otherwise quadrupole isolation will still be applied but no )
+mz_noise_precursor (bool ) – if true, noise will be added to the precursor m/z values.
+mz_noise_uniform (bool ) – if true, noise will be added to the precursor m/z values uniformly.
+precursor_noise_ppm (float ) – PPM of the precursor noise.
+mz_noise_fragment (bool ) – if true, noise will be added to the fragment m/z values.
+fragment_noise_ppm (float ) – PPM of the fragment noise.
+right_drag (bool ) – if true, the noise will be shifted to the right.
+
+
+Returns:
+Frame.
+
+Return type:
+TimsFrame
+
+
+
+
+
+
+build_frame_annotated ( frame_id , fragment = True , mz_noise_precursor = False , mz_noise_uniform = False , precursor_noise_ppm = 5.0 , mz_noise_fragment = False , fragment_noise_ppm = 5.0 , right_drag = True )
+Build a frame. The frame will be annotated.
+
+Parameters:
+
+frame_id (int ) – Frame ID.
+fragment (bool ) – if true, frame will undergo synthetic fragmentation if it is a fragment frame,
+fragmentation. (otherwise quadrupole isolation will still be applied but no )
+mz_noise_precursor (bool ) – if true, noise will be added to the precursor m/z values.
+mz_noise_uniform (bool ) – if true, noise will be added to the precursor m/z values uniformly.
+precursor_noise_ppm (float ) – PPM of the precursor noise.
+mz_noise_fragment (bool ) – if true, noise will be added to the fragment m/z values.
+fragment_noise_ppm (float ) – PPM of the fragment noise.
+right_drag (bool ) – if true, the noise will be shifted to the right.
+
+
+Returns:
+Frame.
+
+Return type:
+TimsFrameAnnotated
+
+
+
+
+
+
+build_frames ( frame_ids , fragment = True , mz_noise_precursor = False , mz_noise_uniform = False , precursor_noise_ppm = 5.0 , mz_noise_fragment = False , fragment_noise_ppm = 5.0 , right_drag = True , num_threads = 4 )
+Build frames.
+
+Parameters:
+
+frame_ids (List [ int ] ) – Frame IDs.
+fragment (bool ) – if true, frame will undergo synthetic fragmentation if it is a fragment frame,
+fragmentation. (otherwise quadrupole isolation will still be applied but no )
+mz_noise_precursor (bool ) – if true, noise will be added to the precursor m/z values.
+mz_noise_uniform (bool ) – if true, noise will be added to the precursor m/z values uniformly.
+precursor_noise_ppm (float ) – PPM of the precursor noise.
+mz_noise_fragment (bool ) – if true, noise will be added to the fragment m/z values.
+fragment_noise_ppm (float ) – PPM of the fragment noise.
+right_drag (bool ) – if true, the noise will be shifted to the right.
+num_threads (int ) – Number of threads.
+
+
+Returns:
+Frames.
+
+Return type:
+List[TimsFrame ]
+
+
+
+
+
+
+build_frames_annotated ( frame_ids , fragment = True , mz_noise_precursor = False , mz_noise_uniform = False , precursor_noise_ppm = 5.0 , mz_noise_fragment = False , fragment_noise_ppm = 5.0 , right_drag = True , num_threads = 4 )
+Build frames. The frames will be annotated.
+
+Parameters:
+
+frame_ids (List [ int ] ) – Frame IDs.
+fragment (bool ) – if true, frame will undergo synthetic fragmentation if it is a fragment frame,
+fragmentation. (otherwise quadrupole isolation will still be applied but no )
+mz_noise_precursor (bool ) – if true, noise will be added to the precursor m/z values.
+mz_noise_uniform (bool ) – if true, noise will be added to the precursor m/z values uniformly.
+precursor_noise_ppm (float ) – PPM of the precursor noise.
+mz_noise_fragment (bool ) – if true, noise will be added to the fragment m/z values.
+fragment_noise_ppm (float ) – PPM of the fragment noise.
+right_drag (bool ) – if true, the noise will be shifted to the right.
+num_threads (int ) – Number of threads.
+
+
+Returns:
+Frames.
+
+Return type:
+List[TimsFrameAnnotated ]
+
+
+
+
+
+
+count_number_transmissions ( peptide_id , charge )
+
+Return type:
+(int
, int
)
+
+
+
+
+
+
+count_number_transmissions_parallel ( peptide_ids , charges , num_threads = 4 )
+
+Return type:
+List
[Tuple
[int
, int
]]
+
+
+
+
+
+
+classmethod from_py_ptr ( py_ptr )
+Create a TimsTofSyntheticFrameBuilderDIA from a PyTimsTofSyntheticsFrameBuilderDIA.
+
+Parameters:
+py_ptr (ims.PyTimsTofSyntheticsFrameBuilderDIA ) – PyTimsTofSyntheticsFrameBuilderDIA.
+
+Returns:
+TimsTofSyntheticFrameBuilderDIA.
+
+Return type:
+TimsTofSyntheticFrameBuilderDIA
+
+
+
+
+
+
+get_collision_energies ( frame_ids , scan_ids )
+
+Return type:
+List
[float
]
+
+
+
+
+
+
+get_collision_energy ( frame_id , scan_id )
+
+Return type:
+float
+
+
+
+
+
+
+get_ion_transmission_matrix ( peptide_id , charge , include_precursor_frames = False )
+
+Return type:
+ndarray
[Any
, dtype
[TypeVar
(_ScalarType_co
, bound= generic
, covariant=True)]]
+
+
+
+
+
+
+get_py_ptr ( )
+
+Return type:
+PyTimsTofSyntheticsFrameBuilderDIA
+
+
+
+
+
+
+
+
+class imspy.simulation.experiment. TimsTofSyntheticPrecursorFrameBuilder ( db_path )
+Bases: RustWrapperObject
+
+
+build_precursor_frame ( frame_id , mz_noise_precursor = False , mz_noise_uniform = False , precursor_noise_ppm = 5.0 , right_drag = True )
+
+Return type:
+TimsFrame
+
+
+
+
+
+
+build_precursor_frame_annotated ( frame_id , mz_noise_precursor = False , mz_noise_uniform = False , precursor_noise_ppm = 5.0 , right_drag = True )
+
+Return type:
+TimsFrameAnnotated
+
+
+
+
+
+
+build_precursor_frames ( frame_ids , mz_noise_precursor = False , mz_noise_uniform = False , precursor_noise_ppm = 5.0 , right_drag = True , num_threads = 4 )
+
+
+
+
+build_precursor_frames_annotated ( frame_ids , mz_noise_precursor = False , mz_noise_uniform = False , precursor_noise_ppm = 5.0 , right_drag = True , num_threads = 4 )
+
+Return type:
+List
[TimsFrameAnnotated
]
+
+
+
+
+
+
+classmethod from_py_ptr ( py_ptr )
+
+Return type:
+TimsTofSyntheticPrecursorFrameBuilder
+
+
+
+
+
+
+get_py_ptr ( )
+
+Return type:
+PyTimsTofSyntheticsPrecursorFrameBuilder
+
+
+
+
+
+
+
+
+imspy.simulation.feature module
+
+
+imspy.simulation.handle module
+
+
+class imspy.simulation.handle. TimsTofSyntheticsDataHandleRust ( path )
+Bases: object
+
+
+get_py_ptr ( )
+
+
+
+
+get_transmitted_ions ( num_threads = 4 )
+
+Return type:
+DataFrame
+
+
+
+
+
+
+
+
+imspy.simulation.isotopes module
+
+
+imspy.simulation.noise module
+This module contains several noise models,
+such as detection noise, shot noise and baseline noise.
+
+
+imspy.simulation.noise. baseline_noise ( )
+
+
+
+
+imspy.simulation.noise. baseline_shot_noise ( spectrum , window_size = 50 , expected_noise_peaks_per_Th = 10 , min_intensity = 5 , resolution = 3 )
+
+
+
+
+imspy.simulation.noise. baseline_shot_noise_window ( window , window_theoretical_mz_min , window_theoretical_mz_max , expected_noise_peaks = 5 , expected_noise_intensity = 10 , expected_noise_sigma = 0.001 , resolution = 3 )
+
+Return type:
+MzSpectrum
+
+
+
+
+
+
+imspy.simulation.noise. detection_noise ( signal , method = 'poisson' , custom_mu_function = None , custom_sigma_function = None )
+
+Parameters:
+
+signal (Union
[_SupportsArray
[dtype
[Any
]], _NestedSequence
[_SupportsArray
[dtype
[Any
]]], bool
, int
, float
, complex
, str
, bytes
, _NestedSequence
[Union
[bool
, int
, float
, complex
, str
, bytes
]]] )
+method (str
)
+custom_mu_function (Optional
[Callable
] )
+custom_sigma_function (Optional
[Callable
] )
+
+
+Return type:
+Union
[_SupportsArray
[dtype
[Any
]], _NestedSequence
[_SupportsArray
[dtype
[Any
]]], bool
, int
, float
, complex
, str
, bytes
, _NestedSequence
[Union
[bool
, int
, float
, complex
, str
, bytes
]]]
+
+
+
+
+
+
+imspy.simulation.noise. generate_noise_peak ( pos , sigma , intensity , min_intensity = 0 , resolution = 3 )
+
+
+
+
+imspy.simulation.noise. mu_function_normal_default ( intensity )
+
+Return type:
+Union
[_SupportsArray
[dtype
[Any
]], _NestedSequence
[_SupportsArray
[dtype
[Any
]]], bool
, int
, float
, complex
, str
, bytes
, _NestedSequence
[Union
[bool
, int
, float
, complex
, str
, bytes
]]]
+
+
+
+
+
+
+imspy.simulation.noise. mu_function_poisson_default ( intensity )
+
+Return type:
+Union
[_SupportsArray
[dtype
[Any
]], _NestedSequence
[_SupportsArray
[dtype
[Any
]]], bool
, int
, float
, complex
, str
, bytes
, _NestedSequence
[Union
[bool
, int
, float
, complex
, str
, bytes
]]]
+
+
+
+
+
+
+imspy.simulation.noise. sigma_function_normal_default ( intensity )
+
+Return type:
+Union
[_SupportsArray
[dtype
[Any
]], _NestedSequence
[_SupportsArray
[dtype
[Any
]]], bool
, int
, float
, complex
, str
, bytes
, _NestedSequence
[Union
[bool
, int
, float
, complex
, str
, bytes
]]]
+
+
+
+
+
+
+imspy.simulation.proteome module
+
+
+class imspy.simulation.proteome. PeptideDigest ( fasta_path , missed_cleavages = 2 , min_len = 7 , max_len = 50 , cleave_at = 'KR' , restrict = 'P' , generate_decoys = False , c_terminal = True , verbose = True , variable_mods = {'M': ['[UNIMOD:35]'], '[': ['[UNIMOD:1]']} , static_mods = {'C': '[UNIMOD:4]'} )
+Bases: object
+
+
+
+
+imspy.simulation.tdf module
+
+
+class imspy.simulation.tdf. TDFWriter ( helper_handle , path = './' , exp_name = 'RAW.d' , offset_bytes = 64 )
+Bases: object
+
+
+build_frame_meta_row ( frame , scan_mode , frame_start_pos , only_frame_one = False )
+Build a row for the frame meta data table from a TimsFrame object.
+:type frame: TimsFrame
+:param frame: TimsFrame object
+:type scan_mode: int
+:param scan_mode: int
+:type frame_start_pos: int
+:param frame_start_pos: int
+:type only_frame_one: bool
+:param only_frame_one: bool
+
+
+
+
+compress_frame ( frame , only_frame_one = False )
+Compress a single frame using zstd.
+:type frame: TimsFrame
+:param frame: TimsFrame object
+:type only_frame_one: bool
+:param only_frame_one: bool
+
+Returns:
+compressed data
+
+Return type:
+bytes
+
+
+
+
+
+
+get_frame_meta_data ( )
+
+Return type:
+DataFrame
+
+
+
+
+
+
+inv_mobility_to_scan ( frame_id , inv_mobs )
+Convert inverse mobility values to scan values for a given frame using the helper handle.
+# CAUTION: This will use the calibration data from the reference handle.
+
+
+
+
+mz_to_tof ( frame_id , mzs )
+Convert m/z values to TOF values for a given frame using the helper handle.
+# CAUTION: This will use the calibration data from the reference handle.
+
+
+
+
+scan_to_inv_mobility ( frame_id , scans )
+Convert scan values to inverse mobility values for a given frame using the helper handle.
+# CAUTION: This will use the calibration data from the reference handle.
+
+
+
+
+tof_to_mz ( frame_id , tofs )
+Convert TOF values to m/z values for a given frame using the helper handle.
+# CAUTION: This will use the calibration data from the reference handle.
+
+
+
+
+write_dia_ms_ms_info ( dia_ms_ms_info )
+
+Return type:
+None
+
+
+
+
+
+
+write_dia_ms_ms_windows ( dia_ms_ms_windows )
+
+Return type:
+None
+
+
+
+
+
+
+write_frame ( frame , scan_mode , only_frame_one = False )
+Write a single frame to the binary file.
+:type frame: TimsFrame
+:param frame: TimsFrame object
+:type scan_mode: int
+:param scan_mode: int
+:type only_frame_one: bool
+:param only_frame_one: bool
+
+Return type:
+None
+
+
+
+
+
+
+write_frame_meta_data ( )
+
+Return type:
+None
+
+
+
+
+
+
+
+
+imspy.simulation.utility module
+
+
+imspy.simulation.utility. accumulated_intensity_cdf_numba ( sample_start , sample_end , mean , std_dev )
+Calculate the accumulated intensity between two points using the custom CDF.
+
+
+
+
+imspy.simulation.utility. add_uniform_noise ( rt_abu , noise_level = 1.0 )
+
+
+
+
+imspy.simulation.utility. calculate_b_y_fragment_mz ( sequence , modifications , is_y = False , charge = 1 )
+Calculate the m/z value of a b or y fragment.
+:type sequence: str
+:param sequence: the peptide sequence
+:type modifications: ndarray
[Any
, dtype
[TypeVar
(_ScalarType_co
, bound= generic
, covariant=True)]]
+:param modifications: potential modifications
+:type is_y: bool
+:param is_y: is the fragment a y ion
+:type charge: int
+:param charge: the charge state of the peptide precursor
+
+Return type:
+float
+
+Returns:
+m/z value of the fragment
+
+
+
+
+
+
+imspy.simulation.utility. calculate_b_y_ion_series_ims ( sequence , modifications , charge = 1 )
+Calculate the b and y ion series for a given peptide sequence.
+:type sequence: str
+:param sequence: the peptide sequence
+:type modifications: ndarray
[Any
, dtype
[TypeVar
(_ScalarType_co
, bound= generic
, covariant=True)]]
+:param modifications: potential modifications
+:type charge: int
+:param charge: the charge state of the peptide precursor
+
+Return type:
+Tuple
[List
, List
]
+
+Returns:
+b ion series, y ion series
+
+
+
+
+
+
+imspy.simulation.utility. calculate_bounds_numba ( mean , std , z_score )
+Calculate the bounds of a normal distribution for a given z-score.
+
+Parameters:
+
+mean (float ) – Mean of the normal distribution
+std (float ) – Standard deviation of the normal distribution
+z_score (float ) – Z-score of the normal distribution
+
+
+Returns:
+Lower bound of the normal distribution
+
+Return type:
+float
+
+
+
+
+
+
+imspy.simulation.utility. calculate_mobility_spacing ( mobility_min , mobility_max , num_scans )
+Calculate the amount of mobility that will be occupied by a single scan
+
+Parameters:
+
+mobility_min (float ) – Minimum mobility value
+mobility_max (float ) – Maximum mobility value
+num_scans (int ) – Number of scans that will be taken during the acquisition
+
+
+Returns:
+Mobility spacing
+
+Return type:
+float
+
+
+
+
+
+
+imspy.simulation.utility. calculate_number_frames ( gradient_length , rt_cycle_length )
+Calculate the number of frames that will be taken during the acquisition
+
+Parameters:
+
+
+Returns:
+Number of frames that will be taken during the acquisition
+
+Return type:
+int
+
+
+
+
+
+
+imspy.simulation.utility. custom_cdf ( x , mean , std_dev )
+Custom implementation of the CDF for a normal distribution.
+
+
+
+
+imspy.simulation.utility. flat_intensity_to_sparse ( intensity_flat , num_elements = 174 )
+
+
+
+
+imspy.simulation.utility. flatten_prosit_array ( array )
+
+
+
+
+imspy.simulation.utility. generate_events ( n , mean , min_val , max_val , mixture_contribution = 1.0 )
+
+
+
+
+imspy.simulation.utility. get_acquisition_builder_resource_path ( acquisition_mode = 'dia' )
+Get the path to a pretrained model
+
+Parameters:
+acquisition_mode (str
) – The name of the model to load
+
+Return type:
+Traversable
+
+Returns:
+The path to the pretrained model
+
+
+
+
+
+
+imspy.simulation.utility. get_compressible_data ( tofs , scans , intensities , num_scans )
+
+
+
+
+imspy.simulation.utility. get_dilution_factors ( path = None )
+
+Return type:
+Dict
[str
, float
]
+
+
+
+
+
+
+imspy.simulation.utility. get_fasta_file_paths ( fasta_path )
+Check if the provided fasta path is a folder or file, if its a folder, check if it exists and return all fasta
+:type fasta_path:
+:param fasta_path: Path to the fasta file or folder containing fasta files
+
+Return type:
+Dict
[str
, str
]
+
+Returns:
+List of fasta file paths
+
+
+
+
+
+
+imspy.simulation.utility. get_frames_numba ( rt_value , times_array , std_rt , z_score )
+Get the frames that will be acquired for a given retention time value.
+:type rt_value:
+:param rt_value: Retention time value
+:type rt_value: float
+:type times_array:
+:param times_array: Array of retention times
+:type times_array: NDArray
+:type std_rt:
+:param std_rt: Standard deviation of the retention time
+:type std_rt: float
+:type z_score:
+:param z_score: Z-score of the normal distribution
+:type z_score: float
+
+Returns:
+Array of frame indices
+
+Return type:
+NDArray
+
+
+
+
+
+
+imspy.simulation.utility. get_ms_ms_window_layout_resource_path ( acquisition_mode )
+Get the path to a pretrained model
+
+Return type:
+Traversable
+
+Returns:
+The path to the pretrained model
+
+
+
+
+
+
+imspy.simulation.utility. get_native_dataset_path ( ds_name = 'NATIVE.d' )
+Get the path to a pretrained model
+
+Parameters:
+ds_name (str
) – The name of the dataset to load
+
+Return type:
+str
+
+Returns:
+The path to the pretrained model
+
+
+
+
+
+
+imspy.simulation.utility. get_peak_cnts ( total_scans , scans )
+
+
+
+
+imspy.simulation.utility. get_realdata ( peak_cnts , interleaved )
+
+
+
+
+imspy.simulation.utility. get_realdata_loop ( peak_cnts , interleaved , back_data , real_data )
+
+
+
+
+imspy.simulation.utility. get_scans_numba ( im_value , ims_array , scans_array , std_im , z_score )
+Get the scans that will be acquired for a given ion mobility value.
+
+
+
+
+imspy.simulation.utility. get_z_score_for_percentile ( target_score = 0.95 )
+
+
+
+
+imspy.simulation.utility. irt_to_rts_numba ( irt , new_min = 0 , new_max = 120 )
+Scale an array of values from the original range (min_val, max_val) to a new range (new_min, new_max).
+
+Parameters:
+
+irt (NDArray ) – Array of values to be scaled.
+new_min (float ) – Minimum value of the new range.
+new_max (float ) – Maximum value of the new range.
+
+
+Returns:
+Array of scaled values.
+
+Return type:
+NDArray
+
+
+
+
+
+
+imspy.simulation.utility. json_string_to_python_list ( json_string )
+
+
+
+
+imspy.simulation.utility. modify_tofs ( tofs , scans )
+
+
+
+
+imspy.simulation.utility. np_zip ( xx , yy )
+
+
+
+
+imspy.simulation.utility. python_list_to_json_string ( lst , as_float = True , num_decimals = 4 )
+
+Return type:
+str
+
+
+
+
+
+
+imspy.simulation.utility. read_acquisition_config ( acquisition_name = 'dia' )
+
+Return type:
+Dict
[str
, Any
]
+
+
+
+
+
+
+imspy.simulation.utility. sequence_to_all_ions ( sequence , charge , intensities_flat , normalized = True , half_charge_one = True )
+Simulate ion intensities for a peptide sequence, charge, and collision energy.
+:type sequence: str
+:param sequence: Peptide sequence
+:type charge: int
+:param charge: Peptide charge
+:type intensities_flat: List
[float
]
+:param intensities_flat: List of intensities
+:type normalized: bool
+:param normalized: Whether to normalize the intensities
+:type half_charge_one: bool
+:param half_charge_one: Whether to divide the intensity by 2 if the charge is 1
+
+Returns:
+Array of ion intensities
+
+Return type:
+NDArray
+
+
+
+
+
+
+imspy.simulation.utility. sequence_to_numpy ( sequence , max_length = 30 )
+translate a peptide sequence given as python string into a numpy array of characters with a fixed length
+:type sequence: str
+:param sequence: the peptide sequence
+:type max_length: int
+:param max_length: the maximum length a sequence can have
+
+Return type:
+ndarray
[Any
, dtype
[TypeVar
(_ScalarType_co
, bound= generic
, covariant=True)]]
+
+Returns:
+numpy array of characters
+
+
+
+
+
+
+imspy.simulation.utility. sequences_to_all_ions ( sequences , charges , intensities_flat , normalized = True , half_charge_one = True , num_threads = 4 )
+Simulate ion intensities for a list of peptide sequences, charges, and collision energies.
+:type sequences: List
[str
]
+:param sequences: List of peptide sequences
+:type charges: List
[int
]
+:param charges: List of peptide charges
+:type intensities_flat: List
[List
[float
]]
+:param intensities_flat: List of intensities
+:type normalized: bool
+:param normalized: Whether to normalize the intensities
+:type half_charge_one: bool
+:param half_charge_one: Whether to divide the intensity by 2 if the charge is 1
+:type num_threads: int
+:param num_threads: Number of threads to use for the calculation
+
+Returns:
+Array of ion intensities
+
+Return type:
+NDArray
+
+
+
+
+
+
+imspy.simulation.utility. set_percentage_to_zero ( row , percentage )
+Sets a given percentage of the non-zero elements of a numpy vector to zero,
+where the probability of being set to 0 is inversely proportional to the element’s value
+relative to other values in the vector.
+
+Parameters:
+
+
+Returns:
+Modified vector with the specified percentage of non-zero elements set to zero
+
+Return type:
+np.ndarray
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/main/imspy/imspy.simulation.timsim.html b/main/imspy/imspy.simulation.timsim.html
new file mode 100644
index 00000000..8118d601
--- /dev/null
+++ b/main/imspy/imspy.simulation.timsim.html
@@ -0,0 +1,174 @@
+
+
+
+
+
+
+
+ imspy.simulation.timsim package — imspy 0.2.33 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+imspy.simulation.timsim package
+
+
+
+imspy.simulation.timsim.simulator module
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/main/imspy/imspy.simulation.timsim.jobs.html b/main/imspy/imspy.simulation.timsim.jobs.html
new file mode 100644
index 00000000..b520649c
--- /dev/null
+++ b/main/imspy/imspy.simulation.timsim.jobs.html
@@ -0,0 +1,303 @@
+
+
+
+
+
+
+
+ imspy.simulation.timsim.jobs package — imspy 0.2.33 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+imspy.simulation.timsim.jobs package
+
+
+imspy.simulation.timsim.jobs.add_noise_from_real_data module
+
+
+imspy.simulation.timsim.jobs.assemble_frames module
+
+
+imspy.simulation.timsim.jobs.build_acquisition module
+
+
+imspy.simulation.timsim.jobs.digest_fasta module
+
+
+imspy.simulation.timsim.jobs.simulate_charge_states module
+
+
+imspy.simulation.timsim.jobs.simulate_fragment_intensities module
+
+
+imspy.simulation.timsim.jobs.simulate_frame_distributions module
+
+
+imspy.simulation.timsim.jobs.simulate_frame_distributions. simulate_frame_distributions ( peptides , frames , z_score , std_rt , rt_cycle_length , verbose = False , add_noise = False , normalize = False )
+Simulate frame distributions for peptides.
+
+Parameters:
+
+peptides (DataFrame
) – Peptide DataFrame.
+frames (DataFrame
) – Frame DataFrame.
+z_score (float
) – Z-score.
+std_rt (float
) – Standard deviation of retention time.
+rt_cycle_length (float
) – Retention time cycle length in seconds.
+verbose (bool
) – Verbosity.
+add_noise (bool
) – Add noise.
+normalize (bool
) – Normalize frame abundance.
+
+
+Returns:
+Peptide DataFrame with frame distributions.
+
+Return type:
+pd.DataFrame
+
+
+
+
+
+
+imspy.simulation.timsim.jobs.simulate_frame_distributions_emg module
+
+
+imspy.simulation.timsim.jobs.simulate_frame_distributions_emg. sample_parameters_rejection ( sigma_mean , sigma_variance , lambda_mean , lambda_variance , n )
+
+
+
+
+imspy.simulation.timsim.jobs.simulate_frame_distributions_emg. simulate_frame_distributions_emg ( peptides , frames , mean_std_rt , variance_std_rt , mean_scewness , variance_scewness , target_p , step_size , rt_cycle_length , verbose = False , add_noise = False , normalize = False , n_steps = 1000 , num_threads = 4 , from_existing = False , sigmas = None , lambdas = None )
+Simulate frame distributions for peptides.
+
+Parameters:
+
+peptides (DataFrame
) – Peptide DataFrame.
+frames (DataFrame
) – Frame DataFrame.
+mean_std_rt (float
) – mean retention time.
+variance_std_rt (float
) – variance retention time.
+mean_scewness (float
) – mean scewness.
+variance_scewness (float
) – variance scewness.
+target_p (float
) – target p.
+step_size (float
) – step size.
+rt_cycle_length (float
) – Retention time cycle length in seconds.
+verbose (bool
) – Verbosity.
+add_noise (bool
) – Add noise.
+normalize (bool
) – Normalize frame abundance.
+n_steps (int
) – number of steps.
+num_threads (int
) – number of threads.
+from_existing (bool
) – Use existing parameters.
+sigmas (ndarray
) – sigmas.
+lambdas (ndarray
) – lambdas.
+
+
+Returns:
+Peptide DataFrame with frame distributions.
+
+Return type:
+pd.DataFrame
+
+
+
+
+
+
+imspy.simulation.timsim.jobs.simulate_ion_mobilities module
+
+
+imspy.simulation.timsim.jobs.simulate_occurrences module
+
+
+imspy.simulation.timsim.jobs.simulate_occurrences. simulate_peptide_occurrences ( peptides , intensity_mean , intensity_min , intensity_max , verbose = False , sample_occurrences = True , intensity_value = 1000000.0 , mixture_contribution = 1.0 )
+Simulate peptide occurrences.
+
+Parameters:
+
+peptides (DataFrame
) – Peptides DataFrame.
+intensity_mean (float
) – Intensity mean.
+intensity_min (float
) – Intensity minimum.
+intensity_max (float
) – Intensity maximum.
+verbose (bool
) – Verbosity.
+sample_occurrences (bool
) – Sample occurrences.
+intensity_value (float
) – Intensity value.
+mixture_contribution (float
) – Mixture contribution.
+
+
+Returns:
+Peptides DataFrame.
+
+Return type:
+pd.DataFrame
+
+
+
+
+
+
+imspy.simulation.timsim.jobs.simulate_precursor_spectra module
+
+
+imspy.simulation.timsim.jobs.simulate_retention_time module
+
+
+imspy.simulation.timsim.jobs.simulate_scan_distributions module
+
+
+imspy.simulation.timsim.jobs.simulate_scan_distributions. simulate_scan_distributions ( ions , scans , z_score , mean_std_im = 0.01 , variance_std_im = 0.0 , verbose = False , add_noise = False , normalize = False , from_existing = False , std_means = None )
+Simulate scan distributions for ions.
+
+Parameters:
+
+ions (DataFrame
) – Ions DataFrame.
+scans (DataFrame
) – Scan DataFrame.
+z_score (float
) – Z-score.
+mean_std_im (float
) – Standard deviation of ion mobility.
+variance_std_im (float
) – Variance of standard deviation of ion mobility.
+verbose (bool
) – Verbosity.
+add_noise (bool
) – Add noise.
+normalize (bool
) – Normalize scan abundance.
+from_existing (bool
) – Use existing parameters.
+std_means (ndarray
[Any
, dtype
[TypeVar
(_ScalarType_co
, bound= generic
, covariant=True)]] ) – Standard deviations.
+
+
+Returns:
+Ions DataFrame with scan distributions.
+
+Return type:
+pd.DataFrame
+
+
+
+
+
+
+imspy.simulation.timsim.jobs.utility module
+
+
+imspy.simulation.timsim.jobs.utility. check_path ( p )
+
+Return type:
+str
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/main/imspy/imspy.timstof.dbsearch.html b/main/imspy/imspy.timstof.dbsearch.html
new file mode 100644
index 00000000..62ef0534
--- /dev/null
+++ b/main/imspy/imspy.timstof.dbsearch.html
@@ -0,0 +1,141 @@
+
+
+
+
+
+
+
+ imspy.timstof.dbsearch package — imspy 0.2.33 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+imspy.timstof.dbsearch package
+
+
+imspy.timstof.dbsearch.imspy_dda module
+
+
+imspy.timstof.dbsearch.imspy_rescore_sage module
+
+
+imspy.timstof.dbsearch.sage_output_utility module
+
+
+imspy.timstof.dbsearch.utility module
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/main/imspy/imspy.timstof.html b/main/imspy/imspy.timstof.html
new file mode 100644
index 00000000..eb71cb21
--- /dev/null
+++ b/main/imspy/imspy.timstof.html
@@ -0,0 +1,1667 @@
+
+
+
+
+
+
+
+ imspy.timstof package — imspy 0.2.33 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+imspy.timstof package
+
+
+
+imspy.timstof.collision module
+
+
+imspy.timstof.data module
+
+
+class imspy.timstof.data. AcquisitionMode ( mode )
+Bases: RustWrapperObject
+
+
+classmethod from_py_ptr ( ptr )
+Get an AcquisitionMode from a pointer.
+
+Parameters:
+ptr (pims.AcquisitionMode ) – Pointer to an acquisition mode.
+
+Returns:
+Acquisition mode.
+
+Return type:
+AcquisitionMode
+
+
+
+
+
+
+get_py_ptr ( )
+
+
+
+
+property mode : str
+Get the acquisition mode.
+
+Returns:
+Acquisition mode.
+
+Return type:
+str
+
+
+
+
+
+
+
+
+class imspy.timstof.data. TimsDataset ( data_path , in_memory = False , use_bruker_sdk = True )
+Bases: ABC
+
+
+property acquisition_mode : str
+Get the acquisition mode.
+
+Returns:
+Acquisition mode.
+
+Return type:
+str
+
+
+
+
+
+
+property acquisition_mode_numeric : int
+Get the acquisition mode as a numerical value.
+
+Returns:
+Acquisition mode as a numerical value.
+
+Return type:
+int
+
+
+
+
+
+
+property average_cycle_length : float
+
+
+
+
+bytes_to_indexed_values ( values )
+Convert bytes to scan, tof, and intensity values.
+
+Parameters:
+values (NDArray [ np.uint8 ] ) – Bytes.
+
+Returns:
+Scan values.
+NDArray[np.int32]: TOF values.
+NDArray[np.float64]: Intensity values.
+
+Return type:
+NDArray[np.int32]
+
+
+
+
+
+
+compress_frames ( frames , num_threads = 4 )
+Compress a collection of frames.
+
+Parameters:
+
+
+Returns:
+List of compressed bytes.
+
+Return type:
+List[NDArray[np.uint8]]
+
+
+
+
+
+
+compress_zstd ( values )
+Compress values using ZSTD.
+
+Parameters:
+values (NDArray [ np.float64 ] ) – Values to compress.
+
+Returns:
+Compressed values.
+
+Return type:
+NDArray[np.uint8]
+
+
+
+
+
+
+decompress_zstd ( values , ignore_first_n = 8 )
+Decompress values using ZSTD.
+
+Parameters:
+
+
+Returns:
+Decompressed values.
+
+Return type:
+NDArray[np.uint8]
+
+
+
+
+
+
+property description : str
+
+
+
+
+property frame_count : int
+Get the number of frames.
+
+Returns:
+Number of frames.
+
+Return type:
+int
+
+
+
+
+
+
+get_table ( table_name )
+Get a table.
+
+Parameters:
+table_name (str ) – Table name.
+
+Returns:
+Table.
+
+Return type:
+pd.DataFrame
+
+
+
+
+
+
+get_tims_frame ( frame_id )
+Get a TimsFrame.
+
+Parameters:
+frame_id (int ) – Frame ID.
+
+Returns:
+TimsFrame.
+
+Return type:
+TimsFrame
+
+
+
+
+
+
+get_tims_slice ( frame_ids , num_threads = 8 )
+Get a TimsFrame.
+
+Parameters:
+
+
+Returns:
+TimsFrame.
+
+Return type:
+TimsFrame
+
+
+
+
+
+
+property im_lower
+
+
+
+
+property im_upper
+
+
+
+
+indexed_values_to_compressed_bytes ( scan_values , tof_values , intensity_values , total_scans )
+Convert scan and intensity values to bytes.
+
+Parameters:
+
+scan_values (NDArray [ np.int32 ] ) – Scan values.
+tof_values (NDArray [ np.int32 ] ) – TOF values.
+intensity_values (NDArray [ np.float64 ] ) – Intensity values.
+total_scans (int ) – Total number of scans.
+
+
+Returns:
+Bytes.
+
+Return type:
+NDArray[np.uint8]
+
+
+
+
+
+
+inverse_mobility_to_scan ( frame_id , im_values )
+Convert inverse mobility values to scan values.
+
+Parameters:
+
+
+Returns:
+Scan values.
+
+Return type:
+NDArray[np.int32]
+
+
+
+
+
+
+property mz_lower
+
+
+
+
+mz_to_tof ( frame_id , mz_values )
+Convert m/z values to TOF values.
+
+Parameters:
+
+
+Returns:
+TOF values.
+
+Return type:
+NDArray[np.int32]
+
+
+
+
+
+
+property mz_upper
+
+
+
+
+property num_scans : int
+Get the number of scans.
+
+Returns:
+Number of scans.
+
+Return type:
+int
+
+
+
+
+
+
+scan_to_inverse_mobility ( frame_id , scan_values )
+Convert scan values to inverse mobility values.
+
+Parameters:
+
+
+Returns:
+Inverse mobility values.
+
+Return type:
+NDArray[np.float64]
+
+
+
+
+
+
+tof_to_mz ( frame_id , tof_values )
+Convert TOF values to m/z values.
+
+Parameters:
+
+
+Returns:
+m/z values.
+
+Return type:
+NDArray[np.float64]
+
+
+
+
+
+
+
+
+imspy.timstof.dda module
+
+
+imspy.timstof.dia module
+
+
+class imspy.timstof.dia. TimsDatasetDIA ( data_path , in_memory = False , use_bruker_sdk = True )
+Bases: TimsDataset
, RustWrapperObject
+
+
+property dia_ms_ms_info
+Get DIA MS/MS info.
+
+Returns:
+DIA MS/MS info.
+
+Return type:
+pd.DataFrame
+
+
+
+
+
+
+property dia_ms_ms_windows
+Get PASEF meta data for DIA.
+
+Returns:
+PASEF meta data.
+
+Return type:
+pd.DataFrame
+
+
+
+
+
+
+classmethod from_py_ptr ( obj )
+
+
+
+
+get_py_ptr ( )
+
+
+
+
+read_compressed_data_full ( )
+Read compressed data.
+
+Returns:
+Compressed data.
+
+Return type:
+List[bytes]
+
+
+
+
+
+
+sample_fragment_signal ( num_frames , window_group , max_intensity = 25.0 , take_probability = 0.5 )
+Sample fragment signal.
+
+Parameters:
+
+num_frames (int
) – Number of frames.
+window_group (int
) – Window group to take frames from.
+max_intensity (float
) – Maximum intensity.
+take_probability (float
) – Probability to take signals from sampled frames.
+
+
+Returns:
+Frame.
+
+Return type:
+TimsFrame
+
+
+
+
+
+
+sample_precursor_signal ( num_frames , max_intensity = 25.0 , take_probability = 0.5 )
+Sample precursor signal.
+
+Parameters:
+
+num_frames (int
) – Number of frames.
+max_intensity (float
) – Maximum intensity.
+take_probability (float
) – Probability to take signals from sampled frames.
+
+
+Returns:
+Frame.
+
+Return type:
+TimsFrame
+
+
+
+
+
+
+
+
+imspy.timstof.frame module
+
+
+class imspy.timstof.frame. TimsFrame ( frame_id , ms_type , retention_time , scan , mobility , tof , mz , intensity )
+Bases: RustWrapperObject
+
+
+property df : DataFrame
+Data as a pandas DataFrame.
+
+Returns:
+Data.
+
+Return type:
+pd.DataFrame
+
+
+
+
+
+
+filter ( mz_min = 0.0 , mz_max = 2000.0 , scan_min = 0 , scan_max = 1000 , mobility_min = 0.0 , mobility_max = 2.0 , intensity_min = 0.0 , intensity_max = 1000000000.0 )
+Filter the frame for a given m/z range, scan range and intensity range.
+
+Parameters:
+
+mz_min (float ) – Minimum m/z value.
+mz_max (float ) – Maximum m/z value.
+scan_min (int , optional ) – Minimum scan value. Defaults to 0.
+scan_max (int , optional ) – Maximum scan value. Defaults to 1000.
+mobility_min (float , optional ) – Minimum inverse mobility value. Defaults to 0.0.
+mobility_max (float , optional ) – Maximum inverse mobility value. Defaults to 2.0.
+intensity_min (float , optional ) – Minimum intensity value. Defaults to 0.0.
+intensity_max (float , optional ) – Maximum intensity value. Defaults to 1e9.
+
+
+Returns:
+Filtered frame.
+
+Return type:
+TimsFrame
+
+
+
+
+
+
+property frame_id : int
+Frame ID.
+
+Returns:
+Frame ID.
+
+Return type:
+int
+
+
+
+
+
+
+classmethod from_py_ptr ( frame )
+Create a TimsFrame from a PyTimsFrame.
+
+Parameters:
+frame (pims.PyTimsFrame ) – PyTimsFrame to create the TimsFrame from.
+
+Returns:
+TimsFrame created from the PyTimsFrame.
+
+Return type:
+TimsFrame
+
+
+
+
+
+
+classmethod from_tims_spectra ( spectra )
+Create a TimsFrame from a list of TimsSpectrum.
+
+Parameters:
+spectra (List [ TimsSpectrum ] ) – List of TimsSpectrum.
+
+Returns:
+TimsFrame created from the TimsSpectrum.
+
+Return type:
+TimsFrame
+
+
+
+
+
+
+classmethod from_windows ( windows )
+Create a TimsFrame from a list of windows.
+
+Parameters:
+windows (List [ TimsSpectrum ] ) – List of windows.
+
+Returns:
+TimsFrame created from the windows.
+
+Return type:
+TimsFrame
+
+
+
+
+
+
+get_inverse_mobility_along_scan_marginal ( )
+Get the inverse mobility along the scan marginal.
+
+Returns:
+Inverse mobility.
+
+Return type:
+float
+
+
+
+
+
+
+get_mobility_mean_and_variance ( )
+Get the mean and variance of the inverse mobility.
+
+Returns:
+Mean and variance of the inverse mobility.
+
+Return type:
+Tuple[float, float]
+
+
+
+
+
+
+get_py_ptr ( )
+
+
+
+
+property intensity : ndarray [ Any , dtype [ float64 ] ]
+Intensity.
+
+Returns:
+Intensity.
+
+Return type:
+NDArray[np.float64]
+
+
+
+
+
+
+property mobility : ndarray [ Any , dtype [ float64 ] ]
+Inverse mobility.
+
+Returns:
+Inverse mobility.
+
+Return type:
+NDArray[np.float64]
+
+
+
+
+
+
+property ms_type : int
+MS type.
+
+Returns:
+MS type.
+
+Return type:
+int
+
+
+
+
+
+
+property ms_type_as_string : str
+MS type.
+
+Returns:
+MS type.
+
+Return type:
+int
+
+
+
+
+
+
+property mz : ndarray [ Any , dtype [ float64 ] ]
+m/z.
+
+Returns:
+m/z.
+
+Return type:
+NDArray[np.float64]
+
+
+
+
+
+
+random_subsample_frame ( take_probability )
+Randomly subsample the frame.
+Args:
+take_probability (float): Take probability.
+Returns:
+TimsFrame: Subsampled frame.
+
+Return type:
+TimsFrame
+
+
+
+
+
+
+property retention_time : float
+Retention time.
+
+Returns:
+Retention time.
+
+Return type:
+float
+
+
+
+
+
+
+property scan : ndarray [ Any , dtype [ int32 ] ]
+Scan.
+
+Returns:
+Scan.
+
+Return type:
+NDArray[np.int32]
+
+
+
+
+
+
+to_dense_windows ( window_length = 10 , resolution = 1 , overlapping = True , min_num_peaks = 5 , min_intensity = 0.0 )
+
+Return type:
+ndarray
[Any
, dtype
[float64
]]
+
+
+
+
+
+
+to_indexed_mz_spectrum ( )
+Convert the frame to an IndexedMzSpectrum.
+
+Returns:
+IndexedMzSpectrum.
+
+Return type:
+IndexedMzSpectrum
+
+
+
+
+
+
+to_noise_annotated_tims_frame ( )
+Convert the frame to a noise annotated frame.
+
+Returns:
+Noise annotated frame.
+
+Return type:
+TimsFrameAnnotated
+
+
+
+
+
+
+to_resolution ( resolution )
+Convert the frame to a given resolution.
+
+Parameters:
+resolution (int ) – Resolution.
+
+Returns:
+Frame with the given resolution.
+
+Return type:
+TimsFrame
+
+
+
+
+
+
+to_tims_spectra ( )
+Convert the frame to a list of TimsSpectrum.
+
+Returns:
+List of TimsSpectrum.
+
+Return type:
+List[TimsSpectrum ]
+
+
+
+
+
+
+to_windows ( window_length = 10 , overlapping = True , min_num_peaks = 5 , min_intensity = 1 )
+Convert the frame to a list of windows.
+
+Parameters:
+
+window_length (float , optional ) – Window length. Defaults to 10.
+overlapping (bool , optional ) – Whether the windows should overlap. Defaults to True.
+min_num_peaks (int , optional ) – Minimum number of peaks in a window. Defaults to 5.
+min_intensity (float , optional ) – Minimum intensity of a peak in a window. Defaults to 1.
+
+
+Returns:
+List of windows.
+
+Return type:
+List[MzSpectrum ]
+
+
+
+
+
+
+property tof : ndarray [ Any , dtype [ int32 ] ]
+Time of flight.
+
+Returns:
+Time of flight.
+
+Return type:
+NDArray[np.int32]
+
+
+
+
+
+
+vectorized ( resolution = 2 )
+Convert the frame to a vectorized frame.
+
+Parameters:
+resolution (int , optional ) – Resolution. Defaults to 2.
+
+Returns:
+Vectorized frame.
+
+Return type:
+TimsFrameVectorized
+
+
+
+
+
+
+
+
+class imspy.timstof.frame. TimsFrameVectorized ( frame_id , ms_type , retention_time , scan , mobility , tof , indices , intensity )
+Bases: RustWrapperObject
+
+
+property df : DataFrame
+Data as a pandas DataFrame.
+
+Returns:
+Data.
+
+Return type:
+pd.DataFrame
+
+
+
+
+
+
+filter ( mz_min = 0.0 , mz_max = 2000.0 , scan_min = 0 , scan_max = 1000 , mobility_min = 0.0 , mobility_max = 2.0 , intensity_min = 0.0 , intensity_max = 1000000000.0 )
+Filter the frame for a given m/z range, scan range and intensity range.
+
+Parameters:
+
+mz_min (float ) – Minimum m/z value.
+mz_max (float ) – Maximum m/z value.
+scan_min (int , optional ) – Minimum scan value. Defaults to 0.
+scan_max (int , optional ) – Maximum scan value. Defaults to 1000.
+mobility_min (float , optional ) – Minimum inverse mobility value. Defaults to 0.0.
+mobility_max (float , optional ) – Maximum inverse mobility value. Defaults to 2.0.
+intensity_min (float , optional ) – Minimum intensity value. Defaults to 0.0.
+intensity_max (float , optional ) – Maximum intensity value. Defaults to 1e9.
+
+
+Returns:
+Filtered frame.
+
+Return type:
+TimsFrameVectorized
+
+
+
+
+
+
+property frame_id : int
+Frame ID.
+
+Returns:
+Frame ID.
+
+Return type:
+int
+
+
+
+
+
+
+classmethod from_py_ptr ( frame )
+Create a TimsFrameVectorized from a PyTimsFrameVectorized.
+
+Parameters:
+frame (pims.PyTimsFrameVectorized ) – PyTimsFrameVectorized to create the TimsFrameVectorized from.
+
+Returns:
+TimsFrameVectorized created from the PyTimsFrameVectorized.
+
+Return type:
+TimsFrameVectorized
+
+
+
+
+
+
+get_arrays_at_index ( index )
+Get the arrays at a given index.
+
+Parameters:
+index (int ) – Index.
+
+Returns:
+Arrays at the index.
+
+Return type:
+NDArray[np.float64]
+
+
+
+
+
+
+get_py_ptr ( )
+
+
+
+
+get_tensor_repr ( dense = True , zero_indexed = True , re_index = True , scan_max = None , index_max = None )
+
+
+
+
+property indices : ndarray [ Any , dtype [ int32 ] ]
+Indices.
+
+Returns:
+Indices.
+
+Return type:
+NDArray[np.int32]
+
+
+
+
+
+
+property intensity : ndarray [ Any , dtype [ float64 ] ]
+Intensity.
+
+Returns:
+Intensity.
+
+Return type:
+NDArray[np.float64]
+
+
+
+
+
+
+property mobility : ndarray [ Any , dtype [ float64 ] ]
+Inverse mobility.
+
+Returns:
+Inverse mobility.
+
+Return type:
+NDArray[np.float64]
+
+
+
+
+
+
+property ms_type : str
+MS type.
+
+Returns:
+MS type.
+
+Return type:
+int
+
+
+
+
+
+
+property retention_time : float
+Retention time.
+
+Returns:
+Retention time.
+
+Return type:
+float
+
+
+
+
+
+
+property scan : ndarray [ Any , dtype [ int32 ] ]
+Scan.
+
+Returns:
+Scan.
+
+Return type:
+NDArray[np.int32]
+
+
+
+
+
+
+property tof : ndarray [ Any , dtype [ int32 ] ]
+Time of flight.
+
+Returns:
+Time of flight.
+
+Return type:
+NDArray[np.int32]
+
+
+
+
+
+
+
+
+imspy.timstof.quadrupole module
+
+
+imspy.timstof.slice module
+
+
+class imspy.timstof.slice. TimsPlane
+Bases: object
+
+
+property df
+
+
+
+
+property frame_ids
+
+
+
+
+classmethod from_py_tims_plane ( plane )
+Create a TimsPlane from a PyTimsPlane.
+
+Parameters:
+plane (pims.PyTimsPlane ) – PyTimsPlane to create the TimsPlane from.
+
+Returns:
+TimsPlane created from the PyTimsPlane.
+
+Return type:
+TimsPlane
+
+
+
+
+
+
+property intensities
+
+
+
+
+property mobilities
+
+
+
+
+property mz_mean
+
+
+
+
+property mz_std
+
+
+
+
+property num_points
+
+
+
+
+property retention_times
+
+
+
+
+property scans
+
+
+
+
+property tof_mean
+
+
+
+
+property tof_std
+
+
+
+
+
+
+class imspy.timstof.slice. TimsSlice ( frame_id , scan , tof , retention_time , mobility , mz , intensity )
+Bases: object
+
+
+property df : DataFrame
+Get the data as a pandas DataFrame.
+
+Returns:
+Data.
+
+Return type:
+pd.DataFrame
+
+
+
+
+
+
+filter ( mz_min = 0.0 , mz_max = 2000.0 , scan_min = 0 , scan_max = 1000 , mobility_min = 0.0 , mobility_max = 2.0 , intensity_min = 0.0 , intensity_max = 1000000000.0 , num_threads = 4 )
+Filter the slice by m/z, scan and intensity.
+
+Parameters:
+
+mz_min (float ) – Minimum m/z value.
+mz_max (float ) – Maximum m/z value.
+scan_min (int , optional ) – Minimum scan value. Defaults to 0.
+scan_max (int , optional ) – Maximum scan value. Defaults to 1000.
+mobility_min (float , optional ) – Minimum inverse mobility value. Defaults to 0.0.
+mobility_max (float , optional ) – Maximum inverse mobility value. Defaults to 2.0.
+intensity_min (float , optional ) – Minimum intensity value. Defaults to 0.0.
+intensity_max (float , optional ) – Maximum intensity value. Defaults to 1e9.
+num_threads (int , optional ) – Number of threads to use. Defaults to 4.
+
+
+Returns:
+Filtered slice.
+
+Return type:
+TimsSlice
+
+
+
+
+
+
+filter_by_type ( mz_min_ms1 = 0 , mz_max_ms1 = 2000 , scan_min_ms1 = 0 , scan_max_ms1 = 1000 , inv_mob_min_ms1 = 0 , inv_mob_max_ms1 = 2 , intensity_min_ms1 = 0 , intensity_max_ms1 = 1000000000.0 , mz_min_ms2 = 0 , mz_max_ms2 = 2000 , scan_min_ms2 = 0 , scan_max_ms2 = 1000 , inv_mob_min_ms2 = 0 , inv_mob_max_ms2 = 2 , intensity_min_ms2 = 0 , intensity_max_ms2 = 1000000000.0 , num_threads = 4 )
+Filter the slice by m/z, scan and intensity, for MS1 and MS2 with different ranges.
+
+Parameters:
+
+mz_min_ms1 (float , optional ) – Minimum m/z value for MS1. Defaults to 0.
+mz_max_ms1 (float , optional ) – Maximum m/z value for MS1. Defaults to 2000.
+scan_min_ms1 (int , optional ) – Minimum scan value for MS1. Defaults to 0.
+scan_max_ms1 (int , optional ) – Maximum scan value for MS1. Defaults to 1000.
+inv_mob_min_ms1 (float , optional ) – Minimum inverse mobility value for MS1. Defaults to 0.
+inv_mob_max_ms1 (float , optional ) – Maximum inverse mobility value for MS1. Defaults to 2.
+intensity_min_ms1 (float , optional ) – Minimum intensity value for MS1. Defaults to 0.
+intensity_max_ms1 (float , optional ) – Maximum intensity value for MS1. Defaults to 1e9.
+mz_min_ms2 (float , optional ) – Minimum m/z value for MS2. Defaults to 0.
+mz_max_ms2 (float , optional ) – Maximum m/z value for MS2. Defaults to 2000.
+scan_min_ms2 (int , optional ) – Minimum scan value for MS2. Defaults to 0.
+scan_max_ms2 (int , optional ) – Maximum scan value for MS2. Defaults to 1000.
+inv_mob_min_ms2 (float , optional ) – Minimum inverse mobility value for MS2. Defaults to 0.
+inv_mob_max_ms2 (float , optional ) – Maximum inverse mobility value for MS2. Defaults to 2.
+intensity_min_ms2 (float , optional ) – Minimum intensity value for MS2. Defaults to 0.
+intensity_max_ms2 (float , optional ) – Maximum intensity value for MS2. Defaults to 1e9.
+num_threads (int , optional ) – Number of threads to use. Defaults to 4.
+
+
+Returns:
+Filtered slice.
+
+Return type:
+TimsSlice
+
+
+
+
+
+
+property first_frame_id : int
+First frame ID.
+
+Returns:
+First frame ID.
+
+Return type:
+int
+
+
+
+
+
+
+property fragments
+
+
+
+
+property frames : List [ TimsFrame ]
+Get the frames.
+
+Returns:
+Frames.
+
+Return type:
+List[TimsFrame ]
+
+
+
+
+
+
+classmethod from_frames ( frames )
+Create a TimsSlice from a list of TimsFrames.
+
+Parameters:
+frames (List [ TimsFrame ] ) – List of TimsFrames.
+
+Returns:
+TimsSlice created from the list of TimsFrames.
+
+Return type:
+TimsSlice
+
+
+
+
+
+
+classmethod from_py_tims_slice ( tims_slice )
+Create a TimsSlice from a PyTimsSlice.
+
+Parameters:
+tims_slice (pims.PyTimsSlice ) – PyTimsSlice to create the TimsSlice from.
+
+Returns:
+TimsSlice created from the PyTimsSlice.
+
+Return type:
+TimsSlice
+
+
+
+
+
+
+get_tims_planes ( tof_max_value = 400000 , num_chunks = 7 , num_threads = 4 )
+
+Return type:
+List
[TimsPlane
]
+
+
+
+
+
+
+property last_frame_id : int
+Last frame ID.
+
+Returns:
+Last frame ID.
+
+Return type:
+int
+
+
+
+
+
+
+property precursors
+
+
+
+
+to_dense_windows ( window_length = 10 , resolution = 1 , overlapping = True , min_num_peaks = 5 , min_intensity = 0.0 , num_theads = 4 )
+
+Return type:
+tuple
[list
[ndarray
[Any
, dtype
[TypeVar
(_ScalarType_co
, bound= generic
, covariant=True)]]], list
[ndarray
[Any
, dtype
[TypeVar
(_ScalarType_co
, bound= generic
, covariant=True)]]], list
[ndarray
[Any
, dtype
[TypeVar
(_ScalarType_co
, bound= generic
, covariant=True)]]]]
+
+
+
+
+
+
+to_resolution ( resolution , num_threads = 4 )
+Convert the slice to a given resolution.
+
+Parameters:
+
+resolution (int ) – Resolution.
+num_threads (int , optional ) – Number of threads to use. Defaults to 4.
+
+
+Returns:
+Slice with given resolution.
+
+Return type:
+TimsSlice
+
+
+
+
+
+
+to_windows ( window_length = 10 , overlapping = True , min_num_peaks = 5 , min_intensity = 1 , num_threads = 4 )
+Convert the slice to a list of windows.
+
+Parameters:
+
+window_length (float , optional ) – Window length. Defaults to 10.
+overlapping (bool , optional ) – Whether the windows should overlap. Defaults to True.
+min_num_peaks (int , optional ) – Minimum number of peaks in a window. Defaults to 5.
+min_intensity (float , optional ) – Minimum intensity of a peak in a window. Defaults to 1.
+num_threads (int , optional ) – Number of threads to use. Defaults to 1.
+
+
+Returns:
+List of windows.
+
+Return type:
+List[MzSpectrum ]
+
+
+
+
+
+
+vectorized ( resolution = 2 , num_threads = 4 )
+Get a vectorized version of the slice.
+
+Parameters:
+
+resolution (int , optional ) – Resolution. Defaults to 2.
+num_threads (int , optional ) – Number of threads to use. Defaults to 4.
+
+
+Returns:
+Vectorized version of the slice.
+
+Return type:
+TimsSliceVectorized
+
+
+
+
+
+
+
+
+class imspy.timstof.slice. TimsSliceVectorized
+Bases: object
+
+
+property df : DataFrame
+Get the data as a pandas DataFrame.
+
+Returns:
+Data.
+
+Return type:
+pd.DataFrame
+
+
+
+
+
+
+filter ( mz_min = 0.0 , mz_max = 2000.0 , scan_min = 0 , scan_max = 1000 , mobility_min = 0.0 , mobility_max = 2.0 , intensity_min = 0.0 , intensity_max = 1000000000.0 , num_threads = 4 )
+Filter the slice by m/z, scan and intensity.
+
+Parameters:
+
+mz_min (float ) – Minimum m/z value.
+mz_max (float ) – Maximum m/z value.
+scan_min (int , optional ) – Minimum scan value. Defaults to 0.
+scan_max (int , optional ) – Maximum scan value. Defaults to 1000.
+mobility_min (float , optional ) – Minimum inverse mobility value. Defaults to 0.0.
+mobility_max (float , optional ) – Maximum inverse mobility value. Defaults to 2.0.
+intensity_min (float , optional ) – Minimum intensity value. Defaults to 0.0.
+intensity_max (float , optional ) – Maximum intensity value. Defaults to 1e9.
+num_threads (int , optional ) – Number of threads to use. Defaults to 4.
+
+
+Returns:
+Filtered slice.
+
+Return type:
+TimsSlice
+
+
+
+
+
+
+property first_frame_id : int
+First frame ID.
+
+Returns:
+First frame ID.
+
+Return type:
+int
+
+
+
+
+
+
+property fragments
+
+
+
+
+property frames : List [ TimsFrameVectorized ]
+Get the frames.
+
+Returns:
+Frames.
+
+Return type:
+List[TimsFrame ]
+
+
+
+
+
+
+classmethod from_vectorized_py_tims_slice ( tims_slice )
+Create a TimsSlice from a PyTimsSlice.
+
+Parameters:
+tims_slice (pims.PyTimsSlice ) – PyTimsSlice to create the TimsSlice from.
+
+Returns:
+TimsSlice created from the PyTimsSlice.
+
+Return type:
+TimsSlice
+
+
+
+
+
+
+get_py_ptr ( )
+
+
+
+
+get_tensor_repr ( dense = True , zero_index = True , re_index = True , frame_max = None , scan_max = None , index_max = None )
+
+
+
+
+property last_frame_id : int
+Last frame ID.
+
+Returns:
+Last frame ID.
+
+Return type:
+int
+
+
+
+
+
+
+property precursors
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/main/imspy/imspy.utility.html b/main/imspy/imspy.utility.html
new file mode 100644
index 00000000..d51128eb
--- /dev/null
+++ b/main/imspy/imspy.utility.html
@@ -0,0 +1,330 @@
+
+
+
+
+
+
+
+ imspy.utility package — imspy 0.2.33 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+imspy.utility package
+
+
+imspy.utility.sequence module
+
+
+imspy.utility.sequence. tokenize_unimod_sequence ( unimod_sequence )
+Tokenizes a sequence of modified amino acids.
+:type unimod_sequence: str
+:param unimod_sequence: A string representing the sequence of amino acids with modifications.
+
+Return type:
+List
[str
]
+
+Returns:
+A list of tokenized amino acids.
+
+
+
+
+
+
+imspy.utility.utilities module
+
+
+class imspy.utility.utilities. ExponentialGaussianDistribution ( μ = -3 , σ = 1 , λ = 0.25 )
+Bases: object
+
+
+
+
+class imspy.utility.utilities. NormalDistribution ( μ , σ )
+Bases: object
+
+
+
+
+class imspy.utility.utilities. TokenSequence ( sequence_tokenized = None , jsons = None )
+Bases: object
+
+
+property jsons
+
+
+
+
+
+
+imspy.utility.utilities. exp_distribution ( x , λ = 1 )
+Exponential function
+:type x:
+:param x:
+:type λ: float
+:param λ:
+:return:
+
+
+
+
+imspy.utility.utilities. exp_gaussian ( x , μ = -3 , σ = 1 , λ = 0.25 )
+laplacian distribution with exponential decay
+:type x:
+:param x:
+:type μ: float
+:param μ:
+:type σ: float
+:param σ:
+:type λ: float
+:param λ:
+:return:
+
+
+
+
+imspy.utility.utilities. gaussian ( x , μ = 0 , σ = 1 )
+Gaussian function
+:type x:
+:param x:
+:type μ: float
+:param μ:
+:type σ: float
+:param σ:
+:return:
+
+
+
+
+imspy.utility.utilities. get_aa_num_proforma_sequence ( sequence )
+get number of amino acids in sequence
+
+Parameters:
+sequence (str ) – proforma formatted aa sequence
+
+Returns:
+Number of amino acids
+
+Return type:
+int
+
+
+
+
+
+
+imspy.utility.utilities. is_unimod_end ( char )
+Tests if char is end of unimod
+bracket
+
+Parameters:
+char (str ) – Character of a proForma formatted aa sequence
+
+Returns:
+Whether char is end of unimod bracket
+
+Return type:
+bool
+
+
+
+
+
+
+imspy.utility.utilities. is_unimod_start ( char )
+Tests if char is start of unimod
+bracket
+
+Parameters:
+char (str ) – Character of a proForma formatted aa sequence
+
+Returns:
+Whether char is start of unimod bracket
+
+Return type:
+bool
+
+
+
+
+
+
+imspy.utility.utilities. normal_pdf ( x , mass , s = 0.001 , inv_sqrt_2pi = 0.3989422804014327 , normalize = False )
+
+Parameters:
+
+x (Union
[_SupportsArray
[dtype
[Any
]], _NestedSequence
[_SupportsArray
[dtype
[Any
]]], bool
, int
, float
, complex
, str
, bytes
, _NestedSequence
[Union
[bool
, int
, float
, complex
, str
, bytes
]]] )
+mass (float
)
+s (float
)
+inv_sqrt_2pi (float
)
+normalize (bool
)
+
+
+
+
+
+
+
+imspy.utility.utilities. re_index_indices ( ids )
+Re-index indices, i.e. replace gaps in indices with consecutive numbers.
+Can be used, e.g., to re-index frame IDs from precursors for visualization.
+:type ids:
+:param ids: Indices.
+
+Returns:
+Indices.
+
+
+
+
+
+
+imspy.utility.utilities. tokenize_proforma_sequence ( sequence )
+Tokenize a ProForma formatted sequence string.
+
+Parameters:
+sequence (str ) – Sequence string (ProForma formatted)
+
+Returns:
+List of tokens
+
+Return type:
+List
+
+
+
+
+
+
+imspy.utility.utilities. tokenizer_from_json ( path )
+load a pre-fit tokenizer from a json file
+:type path: str
+:param path: path to tokenizer as json file
+:return: a keras tokenizer loaded from json
+
+
+
+
+imspy.utility.utilities. tokenizer_to_json ( tokenizer , path )
+save a fit keras tokenizer to json for later use
+:type tokenizer: Tokenizer
+:param tokenizer: fit keras tokenizer to save
+:type path: str
+:param path: path to save json to
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/main/imspy/imspy.vis.html b/main/imspy/imspy.vis.html
new file mode 100644
index 00000000..55bbe762
--- /dev/null
+++ b/main/imspy/imspy.vis.html
@@ -0,0 +1,128 @@
+
+
+
+
+
+
+
+ imspy.vis package — imspy 0.2.33 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+imspy.vis package
+
+
+imspy.vis.pointcloud module
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/main/imspy/index.html b/main/imspy/index.html
new file mode 100644
index 00000000..67cdd433
--- /dev/null
+++ b/main/imspy/index.html
@@ -0,0 +1,133 @@
+
+
+
+
+
+
+
+ Welcome to imspy’s documentation! — imspy 0.2.33 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Welcome to imspy’s documentation!
+This is the main page of the imspy documentation.
+Contents:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/main/imspy/modules.html b/main/imspy/modules.html
new file mode 100644
index 00000000..6c2d5ffa
--- /dev/null
+++ b/main/imspy/modules.html
@@ -0,0 +1,198 @@
+
+
+
+
+
+
+
+ imspy Modules — imspy 0.2.33 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+imspy Modules
+The imspy package contains the following submodules:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/main/imspy/objects.inv b/main/imspy/objects.inv
new file mode 100644
index 00000000..407d00a1
Binary files /dev/null and b/main/imspy/objects.inv differ
diff --git a/main/imspy/py-modindex.html b/main/imspy/py-modindex.html
new file mode 100644
index 00000000..6f6143fa
--- /dev/null
+++ b/main/imspy/py-modindex.html
@@ -0,0 +1,294 @@
+
+
+
+
+
+
+ Python Module Index — imspy 0.2.33 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Python Module Index
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/main/imspy/search.html b/main/imspy/search.html
new file mode 100644
index 00000000..7dd50905
--- /dev/null
+++ b/main/imspy/search.html
@@ -0,0 +1,122 @@
+
+
+
+
+
+
+ Search — imspy 0.2.33 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Search
+
+
+
+
+ Please activate JavaScript to enable the search
+ functionality.
+
+
+
+
+
+
+ Searching for multiple words only shows matches that contain
+ all words.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/main/imspy/searchindex.js b/main/imspy/searchindex.js
new file mode 100644
index 00000000..c5128672
--- /dev/null
+++ b/main/imspy/searchindex.js
@@ -0,0 +1 @@
+Search.setIndex({"alltitles": {"API Documentation": [[0, "module-imspy"]], "Indices and tables": [[16, "indices-and-tables"]], "Main Modules": [[16, null]], "Module contents": [[1, "module-contents"], [2, "module-contents"], [3, "module-contents"], [4, "module-contents"], [5, "module-contents"], [6, "module-imspy.algorithm.rt"], [7, "module-imspy.chemistry"], [8, "module-imspy.data"], [9, "module-imspy.simulation"], [10, "module-imspy.simulation.timsim"], [11, "module-imspy.simulation.timsim.jobs"], [12, "module-contents"], [13, "module-contents"], [14, "module-imspy.utility"], [15, "module-imspy.vis"]], "Submodules": [[1, "submodules"], [2, "submodules"], [3, "submodules"], [4, "submodules"], [6, "submodules"], [7, "submodules"], [8, "submodules"], [9, "submodules"], [10, "submodules"], [11, "submodules"], [12, "submodules"], [13, "submodules"], [14, "submodules"], [15, "submodules"]], "Subpackages": [[1, "subpackages"], [9, "subpackages"], [10, "subpackages"], [12, "subpackages"]], "Welcome to imspy\u2019s documentation!": [[16, null]], "imspy Modules": [[17, null]], "imspy Package": [[0, null]], "imspy.algorithm package": [[1, null]], "imspy.algorithm.ccs package": [[2, null]], "imspy.algorithm.ccs.predictors module": [[2, "imspy-algorithm-ccs-predictors-module"]], "imspy.algorithm.hashing module": [[1, "imspy-algorithm-hashing-module"]], "imspy.algorithm.intensity package": [[3, null]], "imspy.algorithm.intensity.predictors module": [[3, "imspy-algorithm-intensity-predictors-module"]], "imspy.algorithm.intensity.utility module": [[3, "imspy-algorithm-intensity-utility-module"]], "imspy.algorithm.ionization package": [[4, null]], "imspy.algorithm.ionization.predictors module": [[4, "imspy-algorithm-ionization-predictors-module"]], "imspy.algorithm.mixture module": [[1, "imspy-algorithm-mixture-module"]], "imspy.algorithm.pretrained package": [[5, null]], "imspy.algorithm.rt package": [[6, null]], "imspy.algorithm.rt.predictors module": [[6, "imspy-algorithm-rt-predictors-module"]], "imspy.algorithm.utility module": [[1, "module-imspy.algorithm.utility"]], "imspy.chemistry package": [[7, null]], "imspy.chemistry.amino_acids module": [[7, "module-imspy.chemistry.amino_acids"]], "imspy.chemistry.constants module": [[7, "module-imspy.chemistry.constants"]], "imspy.chemistry.elements module": [[7, "module-imspy.chemistry.elements"]], "imspy.chemistry.mobility module": [[7, "module-imspy.chemistry.mobility"]], "imspy.chemistry.sum_formula module": [[7, "imspy-chemistry-sum-formula-module"]], "imspy.chemistry.unimod module": [[7, "module-imspy.chemistry.unimod"]], "imspy.chemistry.utility module": [[7, "module-imspy.chemistry.utility"]], "imspy.data package": [[8, null]], "imspy.data.peptide module": [[8, "module-imspy.data.peptide"]], "imspy.data.spectrum module": [[8, "module-imspy.data.spectrum"]], "imspy.simulation package": [[9, null]], "imspy.simulation.acquisition module": [[9, "imspy-simulation-acquisition-module"]], "imspy.simulation.annotation module": [[9, "module-imspy.simulation.annotation"]], "imspy.simulation.experiment module": [[9, "module-imspy.simulation.experiment"]], "imspy.simulation.feature module": [[9, "imspy-simulation-feature-module"]], "imspy.simulation.handle module": [[9, "module-imspy.simulation.handle"]], "imspy.simulation.isotopes module": [[9, "imspy-simulation-isotopes-module"]], "imspy.simulation.noise module": [[9, "module-imspy.simulation.noise"]], "imspy.simulation.proteome module": [[9, "module-imspy.simulation.proteome"]], "imspy.simulation.tdf module": [[9, "module-imspy.simulation.tdf"]], "imspy.simulation.timsim package": [[10, null]], "imspy.simulation.timsim.jobs package": [[11, null]], "imspy.simulation.timsim.jobs.add_noise_from_real_data module": [[11, "imspy-simulation-timsim-jobs-add-noise-from-real-data-module"]], "imspy.simulation.timsim.jobs.assemble_frames module": [[11, "imspy-simulation-timsim-jobs-assemble-frames-module"]], "imspy.simulation.timsim.jobs.build_acquisition module": [[11, "imspy-simulation-timsim-jobs-build-acquisition-module"]], "imspy.simulation.timsim.jobs.digest_fasta module": [[11, "imspy-simulation-timsim-jobs-digest-fasta-module"]], "imspy.simulation.timsim.jobs.simulate_charge_states module": [[11, "imspy-simulation-timsim-jobs-simulate-charge-states-module"]], "imspy.simulation.timsim.jobs.simulate_fragment_intensities module": [[11, "imspy-simulation-timsim-jobs-simulate-fragment-intensities-module"]], "imspy.simulation.timsim.jobs.simulate_frame_distributions module": [[11, "module-imspy.simulation.timsim.jobs.simulate_frame_distributions"]], "imspy.simulation.timsim.jobs.simulate_frame_distributions_emg module": [[11, "module-imspy.simulation.timsim.jobs.simulate_frame_distributions_emg"]], "imspy.simulation.timsim.jobs.simulate_ion_mobilities module": [[11, "imspy-simulation-timsim-jobs-simulate-ion-mobilities-module"]], "imspy.simulation.timsim.jobs.simulate_occurrences module": [[11, "module-imspy.simulation.timsim.jobs.simulate_occurrences"]], "imspy.simulation.timsim.jobs.simulate_precursor_spectra module": [[11, "imspy-simulation-timsim-jobs-simulate-precursor-spectra-module"]], "imspy.simulation.timsim.jobs.simulate_retention_time module": [[11, "imspy-simulation-timsim-jobs-simulate-retention-time-module"]], "imspy.simulation.timsim.jobs.simulate_scan_distributions module": [[11, "module-imspy.simulation.timsim.jobs.simulate_scan_distributions"]], "imspy.simulation.timsim.jobs.utility module": [[11, "module-imspy.simulation.timsim.jobs.utility"]], "imspy.simulation.timsim.simulator module": [[10, "imspy-simulation-timsim-simulator-module"]], "imspy.simulation.utility module": [[9, "module-imspy.simulation.utility"]], "imspy.timstof package": [[12, null]], "imspy.timstof.collision module": [[12, "imspy-timstof-collision-module"]], "imspy.timstof.data module": [[12, "module-imspy.timstof.data"]], "imspy.timstof.dbsearch package": [[13, null]], "imspy.timstof.dbsearch.imspy_dda module": [[13, "imspy-timstof-dbsearch-imspy-dda-module"]], "imspy.timstof.dbsearch.imspy_rescore_sage module": [[13, "imspy-timstof-dbsearch-imspy-rescore-sage-module"]], "imspy.timstof.dbsearch.sage_output_utility module": [[13, "imspy-timstof-dbsearch-sage-output-utility-module"]], "imspy.timstof.dbsearch.utility module": [[13, "imspy-timstof-dbsearch-utility-module"]], "imspy.timstof.dda module": [[12, "imspy-timstof-dda-module"]], "imspy.timstof.dia module": [[12, "module-imspy.timstof.dia"]], "imspy.timstof.frame module": [[12, "module-imspy.timstof.frame"]], "imspy.timstof.quadrupole module": [[12, "imspy-timstof-quadrupole-module"]], "imspy.timstof.slice module": [[12, "module-imspy.timstof.slice"]], "imspy.utility package": [[14, null]], "imspy.utility.sequence module": [[14, "module-imspy.utility.sequence"]], "imspy.utility.utilities module": [[14, "module-imspy.utility.utilities"]], "imspy.vis package": [[15, null]], "imspy.vis.pointcloud module": [[15, "imspy-vis-pointcloud-module"]]}, "docnames": ["imspy", "imspy.algorithm", "imspy.algorithm.ccs", "imspy.algorithm.intensity", "imspy.algorithm.ionization", "imspy.algorithm.pretrained", "imspy.algorithm.rt", "imspy.chemistry", "imspy.data", "imspy.simulation", "imspy.simulation.timsim", "imspy.simulation.timsim.jobs", "imspy.timstof", "imspy.timstof.dbsearch", "imspy.utility", "imspy.vis", "index", "modules"], "envversion": {"sphinx": 64, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2}, "filenames": ["imspy.rst", "imspy.algorithm.rst", "imspy.algorithm.ccs.rst", "imspy.algorithm.intensity.rst", "imspy.algorithm.ionization.rst", "imspy.algorithm.pretrained.rst", "imspy.algorithm.rt.rst", "imspy.chemistry.rst", "imspy.data.rst", "imspy.simulation.rst", "imspy.simulation.timsim.rst", "imspy.simulation.timsim.jobs.rst", "imspy.timstof.rst", "imspy.timstof.dbsearch.rst", "imspy.utility.rst", "imspy.vis.rst", "index.rst", "modules.rst"], "indexentries": {"accumulated_intensity_cdf_numba() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.accumulated_intensity_cdf_numba", false]], "acquisition_mode (imspy.timstof.data.timsdataset property)": [[12, "imspy.timstof.data.TimsDataset.acquisition_mode", false]], "acquisition_mode_numeric (imspy.timstof.data.timsdataset property)": [[12, "imspy.timstof.data.TimsDataset.acquisition_mode_numeric", false]], "acquisitionmode (class in imspy.timstof.data)": [[12, "imspy.timstof.data.AcquisitionMode", false]], "add_mz_noise_normal() (imspy.data.spectrum.mzspectrum method)": [[8, "imspy.data.spectrum.MzSpectrum.add_mz_noise_normal", false]], "add_mz_noise_uniform() (imspy.data.spectrum.mzspectrum method)": [[8, "imspy.data.spectrum.MzSpectrum.add_mz_noise_uniform", false]], "add_uniform_noise() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.add_uniform_noise", false]], "amino_acid_count (imspy.data.peptide.peptidesequence property)": [[8, "imspy.data.peptide.PeptideSequence.amino_acid_count", false]], "annotations (imspy.simulation.annotation.mzspectrumannotated property)": [[9, "imspy.simulation.annotation.MzSpectrumAnnotated.annotations", false]], "annotations (imspy.simulation.annotation.timsframeannotated property)": [[9, "imspy.simulation.annotation.TimsFrameAnnotated.annotations", false]], "append_table() (imspy.simulation.experiment.syntheticexperimentdatahandle method)": [[9, "imspy.simulation.experiment.SyntheticExperimentDataHandle.append_table", false]], "associate_fragment_ion_series_with_prosit_intensities() (imspy.data.peptide.peptidesequence method)": [[8, "imspy.data.peptide.PeptideSequence.associate_fragment_ion_series_with_prosit_intensities", false]], "atomic_composition (imspy.data.peptide.peptideion property)": [[8, "imspy.data.peptide.PeptideIon.atomic_composition", false]], "atomic_composition (imspy.data.peptide.peptidesequence property)": [[8, "imspy.data.peptide.PeptideSequence.atomic_composition", false]], "atomic_composition() (imspy.data.peptide.peptideproduction method)": [[8, "imspy.data.peptide.PeptideProductIon.atomic_composition", false]], "average_cycle_length (imspy.timstof.data.timsdataset property)": [[12, "imspy.timstof.data.TimsDataset.average_cycle_length", false]], "baseline_noise() (in module imspy.simulation.noise)": [[9, "imspy.simulation.noise.baseline_noise", false]], "baseline_shot_noise() (in module imspy.simulation.noise)": [[9, "imspy.simulation.noise.baseline_shot_noise", false]], "baseline_shot_noise_window() (in module imspy.simulation.noise)": [[9, "imspy.simulation.noise.baseline_shot_noise_window", false]], "build_frame() (imspy.simulation.experiment.timstofsyntheticframebuilderdia method)": [[9, "imspy.simulation.experiment.TimsTofSyntheticFrameBuilderDIA.build_frame", false]], "build_frame_annotated() (imspy.simulation.experiment.timstofsyntheticframebuilderdia method)": [[9, "imspy.simulation.experiment.TimsTofSyntheticFrameBuilderDIA.build_frame_annotated", false]], "build_frame_meta_row() (imspy.simulation.tdf.tdfwriter method)": [[9, "imspy.simulation.tdf.TDFWriter.build_frame_meta_row", false]], "build_frames() (imspy.simulation.experiment.timstofsyntheticframebuilderdia method)": [[9, "imspy.simulation.experiment.TimsTofSyntheticFrameBuilderDIA.build_frames", false]], "build_frames_annotated() (imspy.simulation.experiment.timstofsyntheticframebuilderdia method)": [[9, "imspy.simulation.experiment.TimsTofSyntheticFrameBuilderDIA.build_frames_annotated", false]], "build_precursor_frame() (imspy.simulation.experiment.timstofsyntheticprecursorframebuilder method)": [[9, "imspy.simulation.experiment.TimsTofSyntheticPrecursorFrameBuilder.build_precursor_frame", false]], "build_precursor_frame_annotated() (imspy.simulation.experiment.timstofsyntheticprecursorframebuilder method)": [[9, "imspy.simulation.experiment.TimsTofSyntheticPrecursorFrameBuilder.build_precursor_frame_annotated", false]], "build_precursor_frames() (imspy.simulation.experiment.timstofsyntheticprecursorframebuilder method)": [[9, "imspy.simulation.experiment.TimsTofSyntheticPrecursorFrameBuilder.build_precursor_frames", false]], "build_precursor_frames_annotated() (imspy.simulation.experiment.timstofsyntheticprecursorframebuilder method)": [[9, "imspy.simulation.experiment.TimsTofSyntheticPrecursorFrameBuilder.build_precursor_frames_annotated", false]], "bytes_to_indexed_values() (imspy.timstof.data.timsdataset method)": [[12, "imspy.timstof.data.TimsDataset.bytes_to_indexed_values", false]], "c_ions (imspy.data.peptide.peptideproductionseries property)": [[8, "imspy.data.peptide.PeptideProductIonSeries.c_ions", false]], "calculate_b_y_fragment_mz() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.calculate_b_y_fragment_mz", false]], "calculate_b_y_ion_series_ims() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.calculate_b_y_ion_series_ims", false]], "calculate_bounds_numba() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.calculate_bounds_numba", false]], "calculate_isotopic_product_ion_spectrum_annotated() (imspy.data.peptide.peptidesequence method)": [[8, "imspy.data.peptide.PeptideSequence.calculate_isotopic_product_ion_spectrum_annotated", false]], "calculate_isotopic_spectrum() (imspy.data.peptide.peptideion method)": [[8, "imspy.data.peptide.PeptideIon.calculate_isotopic_spectrum", false]], "calculate_isotopic_spectrum_annotated() (imspy.data.peptide.peptideion method)": [[8, "imspy.data.peptide.PeptideIon.calculate_isotopic_spectrum_annotated", false]], "calculate_mobility_spacing() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.calculate_mobility_spacing", false]], "calculate_mono_isotopic_product_ion_spectrum() (imspy.data.peptide.peptidesequence method)": [[8, "imspy.data.peptide.PeptideSequence.calculate_mono_isotopic_product_ion_spectrum", false]], "calculate_mono_isotopic_product_ion_spectrum_annotated() (imspy.data.peptide.peptidesequence method)": [[8, "imspy.data.peptide.PeptideSequence.calculate_mono_isotopic_product_ion_spectrum_annotated", false]], "calculate_mz() (in module imspy.chemistry.utility)": [[7, "imspy.chemistry.utility.calculate_mz", false]], "calculate_number_frames() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.calculate_number_frames", false]], "calculate_product_ion_series() (imspy.data.peptide.peptidesequence method)": [[8, "imspy.data.peptide.PeptideSequence.calculate_product_ion_series", false]], "calculate_transmission_dependent_fragment_ion_isotope_distribution() (in module imspy.chemistry.utility)": [[7, "imspy.chemistry.utility.calculate_transmission_dependent_fragment_ion_isotope_distribution", false]], "ccs_to_one_over_k0() (in module imspy.chemistry.mobility)": [[7, "imspy.chemistry.mobility.ccs_to_one_over_k0", false]], "charge (imspy.data.peptide.peptideion property)": [[8, "imspy.data.peptide.PeptideIon.charge", false]], "charge (imspy.data.peptide.peptideproduction property)": [[8, "imspy.data.peptide.PeptideProductIon.charge", false]], "charge (imspy.data.peptide.peptideproductionseries property)": [[8, "imspy.data.peptide.PeptideProductIonSeries.charge", false]], "charge_state (imspy.simulation.annotation.signalattributes property)": [[9, "imspy.simulation.annotation.SignalAttributes.charge_state", false]], "charge_states_first_only (imspy.simulation.annotation.timsframeannotated property)": [[9, "imspy.simulation.annotation.TimsFrameAnnotated.charge_states_first_only", false]], "check_path() (in module imspy.simulation.timsim.jobs.utility)": [[11, "imspy.simulation.timsim.jobs.utility.check_path", false]], "close() (imspy.simulation.experiment.syntheticexperimentdatahandle method)": [[9, "imspy.simulation.experiment.SyntheticExperimentDataHandle.close", false]], "compress_frame() (imspy.simulation.tdf.tdfwriter method)": [[9, "imspy.simulation.tdf.TDFWriter.compress_frame", false]], "compress_frames() (imspy.timstof.data.timsdataset method)": [[12, "imspy.timstof.data.TimsDataset.compress_frames", false]], "compress_zstd() (imspy.timstof.data.timsdataset method)": [[12, "imspy.timstof.data.TimsDataset.compress_zstd", false]], "contributions (imspy.simulation.annotation.peakannotation property)": [[9, "imspy.simulation.annotation.PeakAnnotation.contributions", false]], "contributionsource (class in imspy.simulation.annotation)": [[9, "imspy.simulation.annotation.ContributionSource", false]], "count_number_transmissions() (imspy.simulation.experiment.timstofsyntheticframebuilderdia method)": [[9, "imspy.simulation.experiment.TimsTofSyntheticFrameBuilderDIA.count_number_transmissions", false]], "count_number_transmissions_parallel() (imspy.simulation.experiment.timstofsyntheticframebuilderdia method)": [[9, "imspy.simulation.experiment.TimsTofSyntheticFrameBuilderDIA.count_number_transmissions_parallel", false]], "create_table() (imspy.simulation.experiment.syntheticexperimentdatahandle method)": [[9, "imspy.simulation.experiment.SyntheticExperimentDataHandle.create_table", false]], "create_table_sql() (imspy.simulation.experiment.syntheticexperimentdatahandle method)": [[9, "imspy.simulation.experiment.SyntheticExperimentDataHandle.create_table_sql", false]], "custom_cdf() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.custom_cdf", false]], "decompress_zstd() (imspy.timstof.data.timsdataset method)": [[12, "imspy.timstof.data.TimsDataset.decompress_zstd", false]], "description (imspy.simulation.annotation.signalattributes property)": [[9, "imspy.simulation.annotation.SignalAttributes.description", false]], "description (imspy.timstof.data.timsdataset property)": [[12, "imspy.timstof.data.TimsDataset.description", false]], "detection_noise() (in module imspy.simulation.noise)": [[9, "imspy.simulation.noise.detection_noise", false]], "df (imspy.data.spectrum.indexedmzspectrum property)": [[8, "imspy.data.spectrum.IndexedMzSpectrum.df", false]], "df (imspy.data.spectrum.mzspectrum property)": [[8, "imspy.data.spectrum.MzSpectrum.df", false]], "df (imspy.data.spectrum.timsspectrum property)": [[8, "imspy.data.spectrum.TimsSpectrum.df", false]], "df (imspy.simulation.annotation.timsframeannotated property)": [[9, "imspy.simulation.annotation.TimsFrameAnnotated.df", false]], "df (imspy.timstof.frame.timsframe property)": [[12, "imspy.timstof.frame.TimsFrame.df", false]], "df (imspy.timstof.frame.timsframevectorized property)": [[12, "imspy.timstof.frame.TimsFrameVectorized.df", false]], "df (imspy.timstof.slice.timsplane property)": [[12, "imspy.timstof.slice.TimsPlane.df", false]], "df (imspy.timstof.slice.timsslice property)": [[12, "imspy.timstof.slice.TimsSlice.df", false]], "df (imspy.timstof.slice.timsslicevectorized property)": [[12, "imspy.timstof.slice.TimsSliceVectorized.df", false]], "dia_ms_ms_info (imspy.timstof.dia.timsdatasetdia property)": [[12, "imspy.timstof.dia.TimsDatasetDIA.dia_ms_ms_info", false]], "dia_ms_ms_windows (imspy.timstof.dia.timsdatasetdia property)": [[12, "imspy.timstof.dia.TimsDatasetDIA.dia_ms_ms_windows", false]], "exp_distribution() (in module imspy.utility.utilities)": [[14, "imspy.utility.utilities.exp_distribution", false]], "exp_gaussian() (in module imspy.utility.utilities)": [[14, "imspy.utility.utilities.exp_gaussian", false]], "exponentialgaussiandistribution (class in imspy.utility.utilities)": [[14, "imspy.utility.utilities.ExponentialGaussianDistribution", false]], "filter() (imspy.data.spectrum.indexedmzspectrum method)": [[8, "imspy.data.spectrum.IndexedMzSpectrum.filter", false]], "filter() (imspy.data.spectrum.mzspectrum method)": [[8, "imspy.data.spectrum.MzSpectrum.filter", false]], "filter() (imspy.data.spectrum.timsspectrum method)": [[8, "imspy.data.spectrum.TimsSpectrum.filter", false]], "filter() (imspy.simulation.annotation.mzspectrumannotated method)": [[9, "imspy.simulation.annotation.MzSpectrumAnnotated.filter", false]], "filter() (imspy.simulation.annotation.timsframeannotated method)": [[9, "imspy.simulation.annotation.TimsFrameAnnotated.filter", false]], "filter() (imspy.timstof.frame.timsframe method)": [[12, "imspy.timstof.frame.TimsFrame.filter", false]], "filter() (imspy.timstof.frame.timsframevectorized method)": [[12, "imspy.timstof.frame.TimsFrameVectorized.filter", false]], "filter() (imspy.timstof.slice.timsslice method)": [[12, "imspy.timstof.slice.TimsSlice.filter", false]], "filter() (imspy.timstof.slice.timsslicevectorized method)": [[12, "imspy.timstof.slice.TimsSliceVectorized.filter", false]], "filter_by_type() (imspy.timstof.slice.timsslice method)": [[12, "imspy.timstof.slice.TimsSlice.filter_by_type", false]], "find_series() (imspy.data.peptide.peptideproductionseriescollection method)": [[8, "imspy.data.peptide.PeptideProductIonSeriesCollection.find_series", false]], "first_frame_id (imspy.timstof.slice.timsslice property)": [[12, "imspy.timstof.slice.TimsSlice.first_frame_id", false]], "first_frame_id (imspy.timstof.slice.timsslicevectorized property)": [[12, "imspy.timstof.slice.TimsSliceVectorized.first_frame_id", false]], "flat_intensity_to_sparse() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.flat_intensity_to_sparse", false]], "flatten_prosit_array() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.flatten_prosit_array", false]], "fragments (imspy.timstof.slice.timsslice property)": [[12, "imspy.timstof.slice.TimsSlice.fragments", false]], "fragments (imspy.timstof.slice.timsslicevectorized property)": [[12, "imspy.timstof.slice.TimsSliceVectorized.fragments", false]], "frame_count (imspy.timstof.data.timsdataset property)": [[12, "imspy.timstof.data.TimsDataset.frame_count", false]], "frame_id (imspy.data.spectrum.timsspectrum property)": [[8, "imspy.data.spectrum.TimsSpectrum.frame_id", false]], "frame_id (imspy.simulation.annotation.timsframeannotated property)": [[9, "imspy.simulation.annotation.TimsFrameAnnotated.frame_id", false]], "frame_id (imspy.timstof.frame.timsframe property)": [[12, "imspy.timstof.frame.TimsFrame.frame_id", false]], "frame_id (imspy.timstof.frame.timsframevectorized property)": [[12, "imspy.timstof.frame.TimsFrameVectorized.frame_id", false]], "frame_ids (imspy.timstof.slice.timsplane property)": [[12, "imspy.timstof.slice.TimsPlane.frame_ids", false]], "frames (imspy.timstof.slice.timsslice property)": [[12, "imspy.timstof.slice.TimsSlice.frames", false]], "frames (imspy.timstof.slice.timsslicevectorized property)": [[12, "imspy.timstof.slice.TimsSliceVectorized.frames", false]], "from_frames() (imspy.timstof.slice.timsslice class method)": [[12, "imspy.timstof.slice.TimsSlice.from_frames", false]], "from_jsons() (imspy.data.spectrum.mzspectrum class method)": [[8, "imspy.data.spectrum.MzSpectrum.from_jsons", false]], "from_mz_spectra_list() (imspy.data.spectrum.mzspectrum class method)": [[8, "imspy.data.spectrum.MzSpectrum.from_mz_spectra_list", false]], "from_py_ptr() (imspy.data.peptide.peptideion class method)": [[8, "imspy.data.peptide.PeptideIon.from_py_ptr", false]], "from_py_ptr() (imspy.data.peptide.peptideproduction class method)": [[8, "imspy.data.peptide.PeptideProductIon.from_py_ptr", false]], "from_py_ptr() (imspy.data.peptide.peptideproductionseries class method)": [[8, "imspy.data.peptide.PeptideProductIonSeries.from_py_ptr", false]], "from_py_ptr() (imspy.data.peptide.peptideproductionseriescollection class method)": [[8, "imspy.data.peptide.PeptideProductIonSeriesCollection.from_py_ptr", false]], "from_py_ptr() (imspy.data.peptide.peptidesequence class method)": [[8, "imspy.data.peptide.PeptideSequence.from_py_ptr", false]], "from_py_ptr() (imspy.data.spectrum.indexedmzspectrum class method)": [[8, "imspy.data.spectrum.IndexedMzSpectrum.from_py_ptr", false]], "from_py_ptr() (imspy.data.spectrum.mzspectrum class method)": [[8, "imspy.data.spectrum.MzSpectrum.from_py_ptr", false]], "from_py_ptr() (imspy.data.spectrum.mzspectrumvectorized class method)": [[8, "imspy.data.spectrum.MzSpectrumVectorized.from_py_ptr", false]], "from_py_ptr() (imspy.data.spectrum.timsspectrum class method)": [[8, "imspy.data.spectrum.TimsSpectrum.from_py_ptr", false]], "from_py_ptr() (imspy.simulation.annotation.contributionsource class method)": [[9, "imspy.simulation.annotation.ContributionSource.from_py_ptr", false]], "from_py_ptr() (imspy.simulation.annotation.mzspectrumannotated class method)": [[9, "imspy.simulation.annotation.MzSpectrumAnnotated.from_py_ptr", false]], "from_py_ptr() (imspy.simulation.annotation.peakannotation class method)": [[9, "imspy.simulation.annotation.PeakAnnotation.from_py_ptr", false]], "from_py_ptr() (imspy.simulation.annotation.rustwrapperobject class method)": [[9, "imspy.simulation.annotation.RustWrapperObject.from_py_ptr", false]], "from_py_ptr() (imspy.simulation.annotation.signalattributes class method)": [[9, "imspy.simulation.annotation.SignalAttributes.from_py_ptr", false]], "from_py_ptr() (imspy.simulation.annotation.sourcetype class method)": [[9, "imspy.simulation.annotation.SourceType.from_py_ptr", false]], "from_py_ptr() (imspy.simulation.annotation.timsframeannotated class method)": [[9, "imspy.simulation.annotation.TimsFrameAnnotated.from_py_ptr", false]], "from_py_ptr() (imspy.simulation.experiment.timstofsyntheticframebuilderdia class method)": [[9, "imspy.simulation.experiment.TimsTofSyntheticFrameBuilderDIA.from_py_ptr", false]], "from_py_ptr() (imspy.simulation.experiment.timstofsyntheticprecursorframebuilder class method)": [[9, "imspy.simulation.experiment.TimsTofSyntheticPrecursorFrameBuilder.from_py_ptr", false]], "from_py_ptr() (imspy.timstof.data.acquisitionmode class method)": [[12, "imspy.timstof.data.AcquisitionMode.from_py_ptr", false]], "from_py_ptr() (imspy.timstof.dia.timsdatasetdia class method)": [[12, "imspy.timstof.dia.TimsDatasetDIA.from_py_ptr", false]], "from_py_ptr() (imspy.timstof.frame.timsframe class method)": [[12, "imspy.timstof.frame.TimsFrame.from_py_ptr", false]], "from_py_ptr() (imspy.timstof.frame.timsframevectorized class method)": [[12, "imspy.timstof.frame.TimsFrameVectorized.from_py_ptr", false]], "from_py_tims_plane() (imspy.timstof.slice.timsplane class method)": [[12, "imspy.timstof.slice.TimsPlane.from_py_tims_plane", false]], "from_py_tims_slice() (imspy.timstof.slice.timsslice class method)": [[12, "imspy.timstof.slice.TimsSlice.from_py_tims_slice", false]], "from_tims_spectra() (imspy.timstof.frame.timsframe class method)": [[12, "imspy.timstof.frame.TimsFrame.from_tims_spectra", false]], "from_vectorized_py_tims_slice() (imspy.timstof.slice.timsslicevectorized class method)": [[12, "imspy.timstof.slice.TimsSliceVectorized.from_vectorized_py_tims_slice", false]], "from_windows() (imspy.timstof.frame.timsframe class method)": [[12, "imspy.timstof.frame.TimsFrame.from_windows", false]], "gaussian() (in module imspy.utility.utilities)": [[14, "imspy.utility.utilities.gaussian", false]], "generate_events() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.generate_events", false]], "generate_isotopic_spectrum() (imspy.data.peptide.peptideproductionseriescollection method)": [[8, "imspy.data.peptide.PeptideProductIonSeriesCollection.generate_isotopic_spectrum", false]], "generate_isotopic_spectrum_annotated() (imspy.data.peptide.peptideproductionseriescollection method)": [[8, "imspy.data.peptide.PeptideProductIonSeriesCollection.generate_isotopic_spectrum_annotated", false]], "generate_noise_peak() (in module imspy.simulation.noise)": [[9, "imspy.simulation.noise.generate_noise_peak", false]], "get_aa_num_proforma_sequence() (in module imspy.utility.utilities)": [[14, "imspy.utility.utilities.get_aa_num_proforma_sequence", false]], "get_acquisition_builder_resource_path() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.get_acquisition_builder_resource_path", false]], "get_arrays_at_index() (imspy.timstof.frame.timsframevectorized method)": [[12, "imspy.timstof.frame.TimsFrameVectorized.get_arrays_at_index", false]], "get_collision_energies() (imspy.simulation.experiment.timstofsyntheticframebuilderdia method)": [[9, "imspy.simulation.experiment.TimsTofSyntheticFrameBuilderDIA.get_collision_energies", false]], "get_collision_energy() (imspy.simulation.experiment.timstofsyntheticframebuilderdia method)": [[9, "imspy.simulation.experiment.TimsTofSyntheticFrameBuilderDIA.get_collision_energy", false]], "get_compressible_data() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.get_compressible_data", false]], "get_dilution_factors() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.get_dilution_factors", false]], "get_fasta_file_paths() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.get_fasta_file_paths", false]], "get_frame_meta_data() (imspy.simulation.tdf.tdfwriter method)": [[9, "imspy.simulation.tdf.TDFWriter.get_frame_meta_data", false]], "get_frame_to_window_group() (imspy.simulation.experiment.syntheticexperimentdatahandledia method)": [[9, "imspy.simulation.experiment.SyntheticExperimentDataHandleDIA.get_frame_to_window_group", false]], "get_frames_numba() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.get_frames_numba", false]], "get_inverse_mobility_along_scan_marginal() (imspy.timstof.frame.timsframe method)": [[12, "imspy.timstof.frame.TimsFrame.get_inverse_mobility_along_scan_marginal", false]], "get_ion_transmission_matrix() (imspy.simulation.experiment.timstofsyntheticframebuilderdia method)": [[9, "imspy.simulation.experiment.TimsTofSyntheticFrameBuilderDIA.get_ion_transmission_matrix", false]], "get_mobility_mean_and_variance() (imspy.timstof.frame.timsframe method)": [[12, "imspy.timstof.frame.TimsFrame.get_mobility_mean_and_variance", false]], "get_model_path() (in module imspy.algorithm.utility)": [[1, "imspy.algorithm.utility.get_model_path", false]], "get_ms_ms_window_layout_resource_path() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.get_ms_ms_window_layout_resource_path", false]], "get_native_dataset_path() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.get_native_dataset_path", false]], "get_peak_cnts() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.get_peak_cnts", false]], "get_peak_integral() (in module imspy.data.spectrum)": [[8, "imspy.data.spectrum.get_peak_integral", false]], "get_py_ptr() (imspy.data.peptide.peptideion method)": [[8, "imspy.data.peptide.PeptideIon.get_py_ptr", false]], "get_py_ptr() (imspy.data.peptide.peptideproduction method)": [[8, "imspy.data.peptide.PeptideProductIon.get_py_ptr", false]], "get_py_ptr() (imspy.data.peptide.peptideproductionseries method)": [[8, "imspy.data.peptide.PeptideProductIonSeries.get_py_ptr", false]], "get_py_ptr() (imspy.data.peptide.peptideproductionseriescollection method)": [[8, "imspy.data.peptide.PeptideProductIonSeriesCollection.get_py_ptr", false]], "get_py_ptr() (imspy.data.peptide.peptidesequence method)": [[8, "imspy.data.peptide.PeptideSequence.get_py_ptr", false]], "get_py_ptr() (imspy.data.spectrum.indexedmzspectrum method)": [[8, "imspy.data.spectrum.IndexedMzSpectrum.get_py_ptr", false]], "get_py_ptr() (imspy.data.spectrum.mzspectrum method)": [[8, "imspy.data.spectrum.MzSpectrum.get_py_ptr", false]], "get_py_ptr() (imspy.data.spectrum.mzspectrumvectorized method)": [[8, "imspy.data.spectrum.MzSpectrumVectorized.get_py_ptr", false]], "get_py_ptr() (imspy.data.spectrum.timsspectrum method)": [[8, "imspy.data.spectrum.TimsSpectrum.get_py_ptr", false]], "get_py_ptr() (imspy.simulation.annotation.contributionsource method)": [[9, "imspy.simulation.annotation.ContributionSource.get_py_ptr", false]], "get_py_ptr() (imspy.simulation.annotation.mzspectrumannotated method)": [[9, "imspy.simulation.annotation.MzSpectrumAnnotated.get_py_ptr", false]], "get_py_ptr() (imspy.simulation.annotation.peakannotation method)": [[9, "imspy.simulation.annotation.PeakAnnotation.get_py_ptr", false]], "get_py_ptr() (imspy.simulation.annotation.rustwrapperobject method)": [[9, "imspy.simulation.annotation.RustWrapperObject.get_py_ptr", false]], "get_py_ptr() (imspy.simulation.annotation.signalattributes method)": [[9, "imspy.simulation.annotation.SignalAttributes.get_py_ptr", false]], "get_py_ptr() (imspy.simulation.annotation.sourcetype method)": [[9, "imspy.simulation.annotation.SourceType.get_py_ptr", false]], "get_py_ptr() (imspy.simulation.annotation.timsframeannotated method)": [[9, "imspy.simulation.annotation.TimsFrameAnnotated.get_py_ptr", false]], "get_py_ptr() (imspy.simulation.experiment.timstofsyntheticframebuilderdia method)": [[9, "imspy.simulation.experiment.TimsTofSyntheticFrameBuilderDIA.get_py_ptr", false]], "get_py_ptr() (imspy.simulation.experiment.timstofsyntheticprecursorframebuilder method)": [[9, "imspy.simulation.experiment.TimsTofSyntheticPrecursorFrameBuilder.get_py_ptr", false]], "get_py_ptr() (imspy.simulation.handle.timstofsyntheticsdatahandlerust method)": [[9, "imspy.simulation.handle.TimsTofSyntheticsDataHandleRust.get_py_ptr", false]], "get_py_ptr() (imspy.timstof.data.acquisitionmode method)": [[12, "imspy.timstof.data.AcquisitionMode.get_py_ptr", false]], "get_py_ptr() (imspy.timstof.dia.timsdatasetdia method)": [[12, "imspy.timstof.dia.TimsDatasetDIA.get_py_ptr", false]], "get_py_ptr() (imspy.timstof.frame.timsframe method)": [[12, "imspy.timstof.frame.TimsFrame.get_py_ptr", false]], "get_py_ptr() (imspy.timstof.frame.timsframevectorized method)": [[12, "imspy.timstof.frame.TimsFrameVectorized.get_py_ptr", false]], "get_py_ptr() (imspy.timstof.slice.timsslicevectorized method)": [[12, "imspy.timstof.slice.TimsSliceVectorized.get_py_ptr", false]], "get_realdata() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.get_realdata", false]], "get_realdata_loop() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.get_realdata_loop", false]], "get_scans_numba() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.get_scans_numba", false]], "get_table() (imspy.simulation.experiment.syntheticexperimentdatahandle method)": [[9, "imspy.simulation.experiment.SyntheticExperimentDataHandle.get_table", false]], "get_table() (imspy.timstof.data.timsdataset method)": [[12, "imspy.timstof.data.TimsDataset.get_table", false]], "get_tensor_repr() (imspy.timstof.frame.timsframevectorized method)": [[12, "imspy.timstof.frame.TimsFrameVectorized.get_tensor_repr", false]], "get_tensor_repr() (imspy.timstof.slice.timsslicevectorized method)": [[12, "imspy.timstof.slice.TimsSliceVectorized.get_tensor_repr", false]], "get_tims_frame() (imspy.timstof.data.timsdataset method)": [[12, "imspy.timstof.data.TimsDataset.get_tims_frame", false]], "get_tims_planes() (imspy.timstof.slice.timsslice method)": [[12, "imspy.timstof.slice.TimsSlice.get_tims_planes", false]], "get_tims_slice() (imspy.timstof.data.timsdataset method)": [[12, "imspy.timstof.data.TimsDataset.get_tims_slice", false]], "get_transmitted_ions() (imspy.simulation.handle.timstofsyntheticsdatahandlerust method)": [[9, "imspy.simulation.handle.TimsTofSyntheticsDataHandleRust.get_transmitted_ions", false]], "get_window_group_settings() (imspy.simulation.experiment.syntheticexperimentdatahandledia method)": [[9, "imspy.simulation.experiment.SyntheticExperimentDataHandleDIA.get_window_group_settings", false]], "get_z_score_for_percentile() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.get_z_score_for_percentile", false]], "im_lower (imspy.timstof.data.timsdataset property)": [[12, "imspy.timstof.data.TimsDataset.im_lower", false]], "im_upper (imspy.timstof.data.timsdataset property)": [[12, "imspy.timstof.data.TimsDataset.im_upper", false]], "imspy": [[0, "module-imspy", false]], "imspy.algorithm.rt": [[6, "module-imspy.algorithm.rt", false]], "imspy.algorithm.utility": [[1, "module-imspy.algorithm.utility", false]], "imspy.chemistry": [[7, "module-imspy.chemistry", false]], "imspy.chemistry.amino_acids": [[7, "module-imspy.chemistry.amino_acids", false]], "imspy.chemistry.constants": [[7, "module-imspy.chemistry.constants", false]], "imspy.chemistry.elements": [[7, "module-imspy.chemistry.elements", false]], "imspy.chemistry.mobility": [[7, "module-imspy.chemistry.mobility", false]], "imspy.chemistry.unimod": [[7, "module-imspy.chemistry.unimod", false]], "imspy.chemistry.utility": [[7, "module-imspy.chemistry.utility", false]], "imspy.data": [[8, "module-imspy.data", false]], "imspy.data.peptide": [[8, "module-imspy.data.peptide", false]], "imspy.data.spectrum": [[8, "module-imspy.data.spectrum", false]], "imspy.simulation": [[9, "module-imspy.simulation", false]], "imspy.simulation.annotation": [[9, "module-imspy.simulation.annotation", false]], "imspy.simulation.experiment": [[9, "module-imspy.simulation.experiment", false]], "imspy.simulation.handle": [[9, "module-imspy.simulation.handle", false]], "imspy.simulation.noise": [[9, "module-imspy.simulation.noise", false]], "imspy.simulation.proteome": [[9, "module-imspy.simulation.proteome", false]], "imspy.simulation.tdf": [[9, "module-imspy.simulation.tdf", false]], "imspy.simulation.timsim": [[10, "module-imspy.simulation.timsim", false]], "imspy.simulation.timsim.jobs": [[11, "module-imspy.simulation.timsim.jobs", false]], "imspy.simulation.timsim.jobs.simulate_frame_distributions": [[11, "module-imspy.simulation.timsim.jobs.simulate_frame_distributions", false]], "imspy.simulation.timsim.jobs.simulate_frame_distributions_emg": [[11, "module-imspy.simulation.timsim.jobs.simulate_frame_distributions_emg", false]], "imspy.simulation.timsim.jobs.simulate_occurrences": [[11, "module-imspy.simulation.timsim.jobs.simulate_occurrences", false]], "imspy.simulation.timsim.jobs.simulate_scan_distributions": [[11, "module-imspy.simulation.timsim.jobs.simulate_scan_distributions", false]], "imspy.simulation.timsim.jobs.utility": [[11, "module-imspy.simulation.timsim.jobs.utility", false]], "imspy.simulation.utility": [[9, "module-imspy.simulation.utility", false]], "imspy.timstof.data": [[12, "module-imspy.timstof.data", false]], "imspy.timstof.dia": [[12, "module-imspy.timstof.dia", false]], "imspy.timstof.frame": [[12, "module-imspy.timstof.frame", false]], "imspy.timstof.slice": [[12, "module-imspy.timstof.slice", false]], "imspy.utility": [[14, "module-imspy.utility", false]], "imspy.utility.sequence": [[14, "module-imspy.utility.sequence", false]], "imspy.utility.utilities": [[14, "module-imspy.utility.utilities", false]], "imspy.vis": [[15, "module-imspy.vis", false]], "index (imspy.data.spectrum.indexedmzspectrum property)": [[8, "imspy.data.spectrum.IndexedMzSpectrum.index", false]], "index (imspy.data.spectrum.timsspectrum property)": [[8, "imspy.data.spectrum.TimsSpectrum.index", false]], "indexed_values_to_compressed_bytes() (imspy.timstof.data.timsdataset method)": [[12, "imspy.timstof.data.TimsDataset.indexed_values_to_compressed_bytes", false]], "indexedmzspectrum (class in imspy.data.spectrum)": [[8, "imspy.data.spectrum.IndexedMzSpectrum", false]], "indices (imspy.data.spectrum.mzspectrumvectorized property)": [[8, "imspy.data.spectrum.MzSpectrumVectorized.indices", false]], "indices (imspy.timstof.frame.timsframevectorized property)": [[12, "imspy.timstof.frame.TimsFrameVectorized.indices", false]], "inmemorycheckpoint (class in imspy.algorithm.utility)": [[1, "imspy.algorithm.utility.InMemoryCheckpoint", false]], "intensities (imspy.timstof.slice.timsplane property)": [[12, "imspy.timstof.slice.TimsPlane.intensities", false]], "intensity (imspy.data.peptide.peptideion property)": [[8, "imspy.data.peptide.PeptideIon.intensity", false]], "intensity (imspy.data.peptide.peptideproduction property)": [[8, "imspy.data.peptide.PeptideProductIon.intensity", false]], "intensity (imspy.data.spectrum.indexedmzspectrum property)": [[8, "imspy.data.spectrum.IndexedMzSpectrum.intensity", false]], "intensity (imspy.data.spectrum.mzspectrum property)": [[8, "imspy.data.spectrum.MzSpectrum.intensity", false]], "intensity (imspy.data.spectrum.timsspectrum property)": [[8, "imspy.data.spectrum.TimsSpectrum.intensity", false]], "intensity (imspy.simulation.annotation.mzspectrumannotated property)": [[9, "imspy.simulation.annotation.MzSpectrumAnnotated.intensity", false]], "intensity (imspy.simulation.annotation.timsframeannotated property)": [[9, "imspy.simulation.annotation.TimsFrameAnnotated.intensity", false]], "intensity (imspy.timstof.frame.timsframe property)": [[12, "imspy.timstof.frame.TimsFrame.intensity", false]], "intensity (imspy.timstof.frame.timsframevectorized property)": [[12, "imspy.timstof.frame.TimsFrameVectorized.intensity", false]], "intensity_contribution (imspy.simulation.annotation.contributionsource property)": [[9, "imspy.simulation.annotation.ContributionSource.intensity_contribution", false]], "inv_mobility (imspy.simulation.annotation.timsframeannotated property)": [[9, "imspy.simulation.annotation.TimsFrameAnnotated.inv_mobility", false]], "inv_mobility_to_scan() (imspy.simulation.tdf.tdfwriter method)": [[9, "imspy.simulation.tdf.TDFWriter.inv_mobility_to_scan", false]], "inverse_mobility_to_scan() (imspy.timstof.data.timsdataset method)": [[12, "imspy.timstof.data.TimsDataset.inverse_mobility_to_scan", false]], "irt_to_rts_numba() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.irt_to_rts_numba", false]], "is_unimod_end() (in module imspy.utility.utilities)": [[14, "imspy.utility.utilities.is_unimod_end", false]], "is_unimod_start() (in module imspy.utility.utilities)": [[14, "imspy.utility.utilities.is_unimod_start", false]], "isotope_distribution() (imspy.data.peptide.peptideproduction method)": [[8, "imspy.data.peptide.PeptideProductIon.isotope_distribution", false]], "isotope_peak (imspy.simulation.annotation.signalattributes property)": [[9, "imspy.simulation.annotation.SignalAttributes.isotope_peak", false]], "isotope_peaks_first_only (imspy.simulation.annotation.timsframeannotated property)": [[9, "imspy.simulation.annotation.TimsFrameAnnotated.isotope_peaks_first_only", false]], "json_string_to_python_list() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.json_string_to_python_list", false]], "jsons (imspy.utility.utilities.tokensequence property)": [[14, "imspy.utility.utilities.TokenSequence.jsons", false]], "kind (imspy.data.peptide.peptideproduction property)": [[8, "imspy.data.peptide.PeptideProductIon.kind", false]], "last_frame_id (imspy.timstof.slice.timsslice property)": [[12, "imspy.timstof.slice.TimsSlice.last_frame_id", false]], "last_frame_id (imspy.timstof.slice.timsslicevectorized property)": [[12, "imspy.timstof.slice.TimsSliceVectorized.last_frame_id", false]], "list_columns() (imspy.simulation.experiment.syntheticexperimentdatahandle method)": [[9, "imspy.simulation.experiment.SyntheticExperimentDataHandle.list_columns", false]], "list_tables() (imspy.simulation.experiment.syntheticexperimentdatahandle method)": [[9, "imspy.simulation.experiment.SyntheticExperimentDataHandle.list_tables", false]], "load_tokenizer_from_resources() (in module imspy.algorithm.utility)": [[1, "imspy.algorithm.utility.load_tokenizer_from_resources", false]], "mobilities (imspy.timstof.slice.timsplane property)": [[12, "imspy.timstof.slice.TimsPlane.mobilities", false]], "mobility (imspy.data.spectrum.timsspectrum property)": [[8, "imspy.data.spectrum.TimsSpectrum.mobility", false]], "mobility (imspy.timstof.frame.timsframe property)": [[12, "imspy.timstof.frame.TimsFrame.mobility", false]], "mobility (imspy.timstof.frame.timsframevectorized property)": [[12, "imspy.timstof.frame.TimsFrameVectorized.mobility", false]], "mode (imspy.timstof.data.acquisitionmode property)": [[12, "imspy.timstof.data.AcquisitionMode.mode", false]], "modify_tofs() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.modify_tofs", false]], "module": [[0, "module-imspy", false], [1, "module-imspy.algorithm.utility", false], [6, "module-imspy.algorithm.rt", false], [7, "module-imspy.chemistry", false], [7, "module-imspy.chemistry.amino_acids", false], [7, "module-imspy.chemistry.constants", false], [7, "module-imspy.chemistry.elements", false], [7, "module-imspy.chemistry.mobility", false], [7, "module-imspy.chemistry.unimod", false], [7, "module-imspy.chemistry.utility", false], [8, "module-imspy.data", false], [8, "module-imspy.data.peptide", false], [8, "module-imspy.data.spectrum", false], [9, "module-imspy.simulation", false], [9, "module-imspy.simulation.annotation", false], [9, "module-imspy.simulation.experiment", false], [9, "module-imspy.simulation.handle", false], [9, "module-imspy.simulation.noise", false], [9, "module-imspy.simulation.proteome", false], [9, "module-imspy.simulation.tdf", false], [9, "module-imspy.simulation.utility", false], [10, "module-imspy.simulation.timsim", false], [11, "module-imspy.simulation.timsim.jobs", false], [11, "module-imspy.simulation.timsim.jobs.simulate_frame_distributions", false], [11, "module-imspy.simulation.timsim.jobs.simulate_frame_distributions_emg", false], [11, "module-imspy.simulation.timsim.jobs.simulate_occurrences", false], [11, "module-imspy.simulation.timsim.jobs.simulate_scan_distributions", false], [11, "module-imspy.simulation.timsim.jobs.utility", false], [12, "module-imspy.timstof.data", false], [12, "module-imspy.timstof.dia", false], [12, "module-imspy.timstof.frame", false], [12, "module-imspy.timstof.slice", false], [14, "module-imspy.utility", false], [14, "module-imspy.utility.sequence", false], [14, "module-imspy.utility.utilities", false], [15, "module-imspy.vis", false]], "mono_isotopic_mass (imspy.data.peptide.peptideproduction property)": [[8, "imspy.data.peptide.PeptideProductIon.mono_isotopic_mass", false]], "mono_isotopic_mass (imspy.data.peptide.peptidesequence property)": [[8, "imspy.data.peptide.PeptideSequence.mono_isotopic_mass", false]], "ms_type (imspy.data.spectrum.timsspectrum property)": [[8, "imspy.data.spectrum.TimsSpectrum.ms_type", false]], "ms_type (imspy.simulation.annotation.timsframeannotated property)": [[9, "imspy.simulation.annotation.TimsFrameAnnotated.ms_type", false]], "ms_type (imspy.timstof.frame.timsframe property)": [[12, "imspy.timstof.frame.TimsFrame.ms_type", false]], "ms_type (imspy.timstof.frame.timsframevectorized property)": [[12, "imspy.timstof.frame.TimsFrameVectorized.ms_type", false]], "ms_type_as_string (imspy.timstof.frame.timsframe property)": [[12, "imspy.timstof.frame.TimsFrame.ms_type_as_string", false]], "ms_type_numeric (imspy.simulation.annotation.timsframeannotated property)": [[9, "imspy.simulation.annotation.TimsFrameAnnotated.ms_type_numeric", false]], "mu_function_normal_default() (in module imspy.simulation.noise)": [[9, "imspy.simulation.noise.mu_function_normal_default", false]], "mu_function_poisson_default() (in module imspy.simulation.noise)": [[9, "imspy.simulation.noise.mu_function_poisson_default", false]], "mz (imspy.data.peptide.peptideion property)": [[8, "imspy.data.peptide.PeptideIon.mz", false]], "mz (imspy.data.peptide.peptideproduction property)": [[8, "imspy.data.peptide.PeptideProductIon.mz", false]], "mz (imspy.data.spectrum.indexedmzspectrum property)": [[8, "imspy.data.spectrum.IndexedMzSpectrum.mz", false]], "mz (imspy.data.spectrum.mzspectrum property)": [[8, "imspy.data.spectrum.MzSpectrum.mz", false]], "mz (imspy.data.spectrum.timsspectrum property)": [[8, "imspy.data.spectrum.TimsSpectrum.mz", false]], "mz (imspy.simulation.annotation.mzspectrumannotated property)": [[9, "imspy.simulation.annotation.MzSpectrumAnnotated.mz", false]], "mz (imspy.simulation.annotation.timsframeannotated property)": [[9, "imspy.simulation.annotation.TimsFrameAnnotated.mz", false]], "mz (imspy.timstof.frame.timsframe property)": [[12, "imspy.timstof.frame.TimsFrame.mz", false]], "mz_lower (imspy.timstof.data.timsdataset property)": [[12, "imspy.timstof.data.TimsDataset.mz_lower", false]], "mz_mean (imspy.timstof.slice.timsplane property)": [[12, "imspy.timstof.slice.TimsPlane.mz_mean", false]], "mz_spectrum (imspy.data.spectrum.timsspectrum property)": [[8, "imspy.data.spectrum.TimsSpectrum.mz_spectrum", false]], "mz_std (imspy.timstof.slice.timsplane property)": [[12, "imspy.timstof.slice.TimsPlane.mz_std", false]], "mz_to_tof() (imspy.simulation.tdf.tdfwriter method)": [[9, "imspy.simulation.tdf.TDFWriter.mz_to_tof", false]], "mz_to_tof() (imspy.timstof.data.timsdataset method)": [[12, "imspy.timstof.data.TimsDataset.mz_to_tof", false]], "mz_upper (imspy.timstof.data.timsdataset property)": [[12, "imspy.timstof.data.TimsDataset.mz_upper", false]], "mzspectrum (class in imspy.data.spectrum)": [[8, "imspy.data.spectrum.MzSpectrum", false]], "mzspectrumannotated (class in imspy.simulation.annotation)": [[9, "imspy.simulation.annotation.MzSpectrumAnnotated", false]], "mzspectrumvectorized (class in imspy.data.spectrum)": [[8, "imspy.data.spectrum.MzSpectrumVectorized", false]], "n_ions (imspy.data.peptide.peptideproductionseries property)": [[8, "imspy.data.peptide.PeptideProductIonSeries.n_ions", false]], "normal_pdf() (in module imspy.utility.utilities)": [[14, "imspy.utility.utilities.normal_pdf", false]], "normaldistribution (class in imspy.utility.utilities)": [[14, "imspy.utility.utilities.NormalDistribution", false]], "np_zip() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.np_zip", false]], "num_points (imspy.timstof.slice.timsplane property)": [[12, "imspy.timstof.slice.TimsPlane.num_points", false]], "num_scans (imspy.timstof.data.timsdataset property)": [[12, "imspy.timstof.data.TimsDataset.num_scans", false]], "on_epoch_end() (imspy.algorithm.utility.inmemorycheckpoint method)": [[1, "imspy.algorithm.utility.InMemoryCheckpoint.on_epoch_end", false]], "on_train_begin() (imspy.algorithm.utility.inmemorycheckpoint method)": [[1, "imspy.algorithm.utility.InMemoryCheckpoint.on_train_begin", false]], "on_train_end() (imspy.algorithm.utility.inmemorycheckpoint method)": [[1, "imspy.algorithm.utility.InMemoryCheckpoint.on_train_end", false]], "one_over_k0_to_ccs() (in module imspy.chemistry.mobility)": [[7, "imspy.chemistry.mobility.one_over_k0_to_ccs", false]], "peakannotation (class in imspy.simulation.annotation)": [[9, "imspy.simulation.annotation.PeakAnnotation", false]], "peptide_id (imspy.data.peptide.peptideion property)": [[8, "imspy.data.peptide.PeptideIon.peptide_id", false]], "peptide_id (imspy.data.peptide.peptidesequence property)": [[8, "imspy.data.peptide.PeptideSequence.peptide_id", false]], "peptide_id (imspy.simulation.annotation.signalattributes property)": [[9, "imspy.simulation.annotation.SignalAttributes.peptide_id", false]], "peptide_ids_first_only (imspy.simulation.annotation.timsframeannotated property)": [[9, "imspy.simulation.annotation.TimsFrameAnnotated.peptide_ids_first_only", false]], "peptidedigest (class in imspy.simulation.proteome)": [[9, "imspy.simulation.proteome.PeptideDigest", false]], "peptideion (class in imspy.data.peptide)": [[8, "imspy.data.peptide.PeptideIon", false]], "peptideproduction (class in imspy.data.peptide)": [[8, "imspy.data.peptide.PeptideProductIon", false]], "peptideproductionseries (class in imspy.data.peptide)": [[8, "imspy.data.peptide.PeptideProductIonSeries", false]], "peptideproductionseriescollection (class in imspy.data.peptide)": [[8, "imspy.data.peptide.PeptideProductIonSeriesCollection", false]], "peptidesequence (class in imspy.data.peptide)": [[8, "imspy.data.peptide.PeptideSequence", false]], "precursors (imspy.timstof.slice.timsslice property)": [[12, "imspy.timstof.slice.TimsSlice.precursors", false]], "precursors (imspy.timstof.slice.timsslicevectorized property)": [[12, "imspy.timstof.slice.TimsSliceVectorized.precursors", false]], "python_list_to_json_string() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.python_list_to_json_string", false]], "random_subsample_frame() (imspy.timstof.frame.timsframe method)": [[12, "imspy.timstof.frame.TimsFrame.random_subsample_frame", false]], "re_index_indices() (in module imspy.utility.utilities)": [[14, "imspy.utility.utilities.re_index_indices", false]], "read_acquisition_config() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.read_acquisition_config", false]], "read_compressed_data_full() (imspy.timstof.dia.timsdatasetdia method)": [[12, "imspy.timstof.dia.TimsDatasetDIA.read_compressed_data_full", false]], "resolution (imspy.data.spectrum.mzspectrumvectorized property)": [[8, "imspy.data.spectrum.MzSpectrumVectorized.resolution", false]], "retention_time (imspy.data.spectrum.timsspectrum property)": [[8, "imspy.data.spectrum.TimsSpectrum.retention_time", false]], "retention_time (imspy.simulation.annotation.timsframeannotated property)": [[9, "imspy.simulation.annotation.TimsFrameAnnotated.retention_time", false]], "retention_time (imspy.timstof.frame.timsframe property)": [[12, "imspy.timstof.frame.TimsFrame.retention_time", false]], "retention_time (imspy.timstof.frame.timsframevectorized property)": [[12, "imspy.timstof.frame.TimsFrameVectorized.retention_time", false]], "retention_times (imspy.timstof.slice.timsplane property)": [[12, "imspy.timstof.slice.TimsPlane.retention_times", false]], "rustwrapperobject (class in imspy.simulation.annotation)": [[9, "imspy.simulation.annotation.RustWrapperObject", false]], "sample_fragment_signal() (imspy.timstof.dia.timsdatasetdia method)": [[12, "imspy.timstof.dia.TimsDatasetDIA.sample_fragment_signal", false]], "sample_parameters_rejection() (in module imspy.simulation.timsim.jobs.simulate_frame_distributions_emg)": [[11, "imspy.simulation.timsim.jobs.simulate_frame_distributions_emg.sample_parameters_rejection", false]], "sample_precursor_signal() (imspy.timstof.dia.timsdatasetdia method)": [[12, "imspy.timstof.dia.TimsDatasetDIA.sample_precursor_signal", false]], "scan (imspy.data.spectrum.timsspectrum property)": [[8, "imspy.data.spectrum.TimsSpectrum.scan", false]], "scan (imspy.simulation.annotation.timsframeannotated property)": [[9, "imspy.simulation.annotation.TimsFrameAnnotated.scan", false]], "scan (imspy.timstof.frame.timsframe property)": [[12, "imspy.timstof.frame.TimsFrame.scan", false]], "scan (imspy.timstof.frame.timsframevectorized property)": [[12, "imspy.timstof.frame.TimsFrameVectorized.scan", false]], "scan_to_inv_mobility() (imspy.simulation.tdf.tdfwriter method)": [[9, "imspy.simulation.tdf.TDFWriter.scan_to_inv_mobility", false]], "scan_to_inverse_mobility() (imspy.timstof.data.timsdataset method)": [[12, "imspy.timstof.data.TimsDataset.scan_to_inverse_mobility", false]], "scans (imspy.timstof.slice.timsplane property)": [[12, "imspy.timstof.slice.TimsPlane.scans", false]], "sequence (imspy.data.peptide.peptideion property)": [[8, "imspy.data.peptide.PeptideIon.sequence", false]], "sequence (imspy.data.peptide.peptideproduction property)": [[8, "imspy.data.peptide.PeptideProductIon.sequence", false]], "sequence (imspy.data.peptide.peptidesequence property)": [[8, "imspy.data.peptide.PeptideSequence.sequence", false]], "sequence_to_all_ions() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.sequence_to_all_ions", false]], "sequence_to_numpy() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.sequence_to_numpy", false]], "sequences_to_all_ions() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.sequences_to_all_ions", false]], "series (imspy.data.peptide.peptideproductionseriescollection property)": [[8, "imspy.data.peptide.PeptideProductIonSeriesCollection.series", false]], "set_percentage_to_zero() (in module imspy.simulation.utility)": [[9, "imspy.simulation.utility.set_percentage_to_zero", false]], "sigma_function_normal_default() (in module imspy.simulation.noise)": [[9, "imspy.simulation.noise.sigma_function_normal_default", false]], "signal_attributes (imspy.simulation.annotation.contributionsource property)": [[9, "imspy.simulation.annotation.ContributionSource.signal_attributes", false]], "signalattributes (class in imspy.simulation.annotation)": [[9, "imspy.simulation.annotation.SignalAttributes", false]], "simulate_frame_distributions() (in module imspy.simulation.timsim.jobs.simulate_frame_distributions)": [[11, "imspy.simulation.timsim.jobs.simulate_frame_distributions.simulate_frame_distributions", false]], "simulate_frame_distributions_emg() (in module imspy.simulation.timsim.jobs.simulate_frame_distributions_emg)": [[11, "imspy.simulation.timsim.jobs.simulate_frame_distributions_emg.simulate_frame_distributions_emg", false]], "simulate_peptide_occurrences() (in module imspy.simulation.timsim.jobs.simulate_occurrences)": [[11, "imspy.simulation.timsim.jobs.simulate_occurrences.simulate_peptide_occurrences", false]], "simulate_scan_distributions() (in module imspy.simulation.timsim.jobs.simulate_scan_distributions)": [[11, "imspy.simulation.timsim.jobs.simulate_scan_distributions.simulate_scan_distributions", false]], "source_type (imspy.simulation.annotation.contributionsource property)": [[9, "imspy.simulation.annotation.ContributionSource.source_type", false]], "source_type (imspy.simulation.annotation.sourcetype property)": [[9, "imspy.simulation.annotation.SourceType.source_type", false]], "sourcetype (class in imspy.simulation.annotation)": [[9, "imspy.simulation.annotation.SourceType", false]], "syntheticexperimentdatahandle (class in imspy.simulation.experiment)": [[9, "imspy.simulation.experiment.SyntheticExperimentDataHandle", false]], "syntheticexperimentdatahandledia (class in imspy.simulation.experiment)": [[9, "imspy.simulation.experiment.SyntheticExperimentDataHandleDIA", false]], "tdfwriter (class in imspy.simulation.tdf)": [[9, "imspy.simulation.tdf.TDFWriter", false]], "timsdataset (class in imspy.timstof.data)": [[12, "imspy.timstof.data.TimsDataset", false]], "timsdatasetdia (class in imspy.timstof.dia)": [[12, "imspy.timstof.dia.TimsDatasetDIA", false]], "timsframe (class in imspy.timstof.frame)": [[12, "imspy.timstof.frame.TimsFrame", false]], "timsframeannotated (class in imspy.simulation.annotation)": [[9, "imspy.simulation.annotation.TimsFrameAnnotated", false]], "timsframevectorized (class in imspy.timstof.frame)": [[12, "imspy.timstof.frame.TimsFrameVectorized", false]], "timsplane (class in imspy.timstof.slice)": [[12, "imspy.timstof.slice.TimsPlane", false]], "timsslice (class in imspy.timstof.slice)": [[12, "imspy.timstof.slice.TimsSlice", false]], "timsslicevectorized (class in imspy.timstof.slice)": [[12, "imspy.timstof.slice.TimsSliceVectorized", false]], "timsspectrum (class in imspy.data.spectrum)": [[8, "imspy.data.spectrum.TimsSpectrum", false]], "timstofsyntheticframebuilderdia (class in imspy.simulation.experiment)": [[9, "imspy.simulation.experiment.TimsTofSyntheticFrameBuilderDIA", false]], "timstofsyntheticprecursorframebuilder (class in imspy.simulation.experiment)": [[9, "imspy.simulation.experiment.TimsTofSyntheticPrecursorFrameBuilder", false]], "timstofsyntheticsdatahandlerust (class in imspy.simulation.handle)": [[9, "imspy.simulation.handle.TimsTofSyntheticsDataHandleRust", false]], "to_centroided() (imspy.data.spectrum.mzspectrum method)": [[8, "imspy.data.spectrum.MzSpectrum.to_centroided", false]], "to_centroided() (imspy.data.spectrum.mzspectrumvectorized method)": [[8, "imspy.data.spectrum.MzSpectrumVectorized.to_centroided", false]], "to_dense_windows() (imspy.timstof.frame.timsframe method)": [[12, "imspy.timstof.frame.TimsFrame.to_dense_windows", false]], "to_dense_windows() (imspy.timstof.slice.timsslice method)": [[12, "imspy.timstof.slice.TimsSlice.to_dense_windows", false]], "to_indexed_mz_spectrum() (imspy.timstof.frame.timsframe method)": [[12, "imspy.timstof.frame.TimsFrame.to_indexed_mz_spectrum", false]], "to_json() (imspy.data.peptide.peptideion method)": [[8, "imspy.data.peptide.PeptideIon.to_json", false]], "to_json() (imspy.data.peptide.peptideproduction method)": [[8, "imspy.data.peptide.PeptideProductIon.to_json", false]], "to_json() (imspy.data.peptide.peptideproductionseries method)": [[8, "imspy.data.peptide.PeptideProductIonSeries.to_json", false]], "to_json() (imspy.data.peptide.peptideproductionseriescollection method)": [[8, "imspy.data.peptide.PeptideProductIonSeriesCollection.to_json", false]], "to_json() (imspy.data.peptide.peptidesequence method)": [[8, "imspy.data.peptide.PeptideSequence.to_json", false]], "to_jsons() (imspy.data.spectrum.mzspectrum method)": [[8, "imspy.data.spectrum.MzSpectrum.to_jsons", false]], "to_noise_annotated_tims_frame() (imspy.timstof.frame.timsframe method)": [[12, "imspy.timstof.frame.TimsFrame.to_noise_annotated_tims_frame", false]], "to_resolution() (imspy.data.spectrum.mzspectrum method)": [[8, "imspy.data.spectrum.MzSpectrum.to_resolution", false]], "to_resolution() (imspy.timstof.frame.timsframe method)": [[12, "imspy.timstof.frame.TimsFrame.to_resolution", false]], "to_resolution() (imspy.timstof.slice.timsslice method)": [[12, "imspy.timstof.slice.TimsSlice.to_resolution", false]], "to_sage_representation() (imspy.data.peptide.peptidesequence method)": [[8, "imspy.data.peptide.PeptideSequence.to_sage_representation", false]], "to_tims_spectra() (imspy.timstof.frame.timsframe method)": [[12, "imspy.timstof.frame.TimsFrame.to_tims_spectra", false]], "to_tokens() (imspy.data.peptide.peptidesequence method)": [[8, "imspy.data.peptide.PeptideSequence.to_tokens", false]], "to_windows() (imspy.data.spectrum.mzspectrum method)": [[8, "imspy.data.spectrum.MzSpectrum.to_windows", false]], "to_windows() (imspy.timstof.frame.timsframe method)": [[12, "imspy.timstof.frame.TimsFrame.to_windows", false]], "to_windows() (imspy.timstof.slice.timsslice method)": [[12, "imspy.timstof.slice.TimsSlice.to_windows", false]], "tof (imspy.simulation.annotation.timsframeannotated property)": [[9, "imspy.simulation.annotation.TimsFrameAnnotated.tof", false]], "tof (imspy.timstof.frame.timsframe property)": [[12, "imspy.timstof.frame.TimsFrame.tof", false]], "tof (imspy.timstof.frame.timsframevectorized property)": [[12, "imspy.timstof.frame.TimsFrameVectorized.tof", false]], "tof_mean (imspy.timstof.slice.timsplane property)": [[12, "imspy.timstof.slice.TimsPlane.tof_mean", false]], "tof_std (imspy.timstof.slice.timsplane property)": [[12, "imspy.timstof.slice.TimsPlane.tof_std", false]], "tof_to_mz() (imspy.simulation.tdf.tdfwriter method)": [[9, "imspy.simulation.tdf.TDFWriter.tof_to_mz", false]], "tof_to_mz() (imspy.timstof.data.timsdataset method)": [[12, "imspy.timstof.data.TimsDataset.tof_to_mz", false]], "tokenize_proforma_sequence() (in module imspy.utility.utilities)": [[14, "imspy.utility.utilities.tokenize_proforma_sequence", false]], "tokenize_unimod_sequence() (in module imspy.utility.sequence)": [[14, "imspy.utility.sequence.tokenize_unimod_sequence", false]], "tokenizer_from_json() (in module imspy.utility.utilities)": [[14, "imspy.utility.utilities.tokenizer_from_json", false]], "tokenizer_to_json() (in module imspy.utility.utilities)": [[14, "imspy.utility.utilities.tokenizer_to_json", false]], "tokensequence (class in imspy.utility.utilities)": [[14, "imspy.utility.utilities.TokenSequence", false]], "values (imspy.data.spectrum.mzspectrumvectorized property)": [[8, "imspy.data.spectrum.MzSpectrumVectorized.values", false]], "vectorized() (imspy.data.spectrum.mzspectrum method)": [[8, "imspy.data.spectrum.MzSpectrum.vectorized", false]], "vectorized() (imspy.timstof.frame.timsframe method)": [[12, "imspy.timstof.frame.TimsFrame.vectorized", false]], "vectorized() (imspy.timstof.slice.timsslice method)": [[12, "imspy.timstof.slice.TimsSlice.vectorized", false]], "write_dia_ms_ms_info() (imspy.simulation.tdf.tdfwriter method)": [[9, "imspy.simulation.tdf.TDFWriter.write_dia_ms_ms_info", false]], "write_dia_ms_ms_windows() (imspy.simulation.tdf.tdfwriter method)": [[9, "imspy.simulation.tdf.TDFWriter.write_dia_ms_ms_windows", false]], "write_frame() (imspy.simulation.tdf.tdfwriter method)": [[9, "imspy.simulation.tdf.TDFWriter.write_frame", false]], "write_frame_meta_data() (imspy.simulation.tdf.tdfwriter method)": [[9, "imspy.simulation.tdf.TDFWriter.write_frame_meta_data", false]]}, "objects": {"": [[0, 0, 0, "-", "imspy"]], "imspy": [[7, 0, 0, "-", "chemistry"], [8, 0, 0, "-", "data"], [9, 0, 0, "-", "simulation"], [14, 0, 0, "-", "utility"], [15, 0, 0, "-", "vis"]], "imspy.algorithm": [[6, 0, 0, "-", "rt"], [1, 0, 0, "-", "utility"]], "imspy.algorithm.utility": [[1, 1, 1, "", "InMemoryCheckpoint"], [1, 3, 1, "", "get_model_path"], [1, 3, 1, "", "load_tokenizer_from_resources"]], "imspy.algorithm.utility.InMemoryCheckpoint": [[1, 2, 1, "", "on_epoch_end"], [1, 2, 1, "", "on_train_begin"], [1, 2, 1, "", "on_train_end"]], "imspy.chemistry": [[7, 0, 0, "-", "amino_acids"], [7, 0, 0, "-", "constants"], [7, 0, 0, "-", "elements"], [7, 0, 0, "-", "mobility"], [7, 0, 0, "-", "unimod"], [7, 0, 0, "-", "utility"]], "imspy.chemistry.mobility": [[7, 3, 1, "", "ccs_to_one_over_k0"], [7, 3, 1, "", "one_over_k0_to_ccs"]], "imspy.chemistry.utility": [[7, 3, 1, "", "calculate_mz"], [7, 3, 1, "", "calculate_transmission_dependent_fragment_ion_isotope_distribution"]], "imspy.data": [[8, 0, 0, "-", "peptide"], [8, 0, 0, "-", "spectrum"]], "imspy.data.peptide": [[8, 1, 1, "", "PeptideIon"], [8, 1, 1, "", "PeptideProductIon"], [8, 1, 1, "", "PeptideProductIonSeries"], [8, 1, 1, "", "PeptideProductIonSeriesCollection"], [8, 1, 1, "", "PeptideSequence"]], "imspy.data.peptide.PeptideIon": [[8, 4, 1, "", "atomic_composition"], [8, 2, 1, "", "calculate_isotopic_spectrum"], [8, 2, 1, "", "calculate_isotopic_spectrum_annotated"], [8, 4, 1, "", "charge"], [8, 2, 1, "", "from_py_ptr"], [8, 2, 1, "", "get_py_ptr"], [8, 4, 1, "", "intensity"], [8, 4, 1, "", "mz"], [8, 4, 1, "", "peptide_id"], [8, 4, 1, "", "sequence"], [8, 2, 1, "", "to_json"]], "imspy.data.peptide.PeptideProductIon": [[8, 2, 1, "", "atomic_composition"], [8, 4, 1, "", "charge"], [8, 2, 1, "", "from_py_ptr"], [8, 2, 1, "", "get_py_ptr"], [8, 4, 1, "", "intensity"], [8, 2, 1, "", "isotope_distribution"], [8, 4, 1, "", "kind"], [8, 4, 1, "", "mono_isotopic_mass"], [8, 4, 1, "", "mz"], [8, 4, 1, "", "sequence"], [8, 2, 1, "", "to_json"]], "imspy.data.peptide.PeptideProductIonSeries": [[8, 4, 1, "", "c_ions"], [8, 4, 1, "", "charge"], [8, 2, 1, "", "from_py_ptr"], [8, 2, 1, "", "get_py_ptr"], [8, 4, 1, "", "n_ions"], [8, 2, 1, "", "to_json"]], "imspy.data.peptide.PeptideProductIonSeriesCollection": [[8, 2, 1, "", "find_series"], [8, 2, 1, "", "from_py_ptr"], [8, 2, 1, "", "generate_isotopic_spectrum"], [8, 2, 1, "", "generate_isotopic_spectrum_annotated"], [8, 2, 1, "", "get_py_ptr"], [8, 4, 1, "", "series"], [8, 2, 1, "", "to_json"]], "imspy.data.peptide.PeptideSequence": [[8, 4, 1, "", "amino_acid_count"], [8, 2, 1, "", "associate_fragment_ion_series_with_prosit_intensities"], [8, 4, 1, "", "atomic_composition"], [8, 2, 1, "", "calculate_isotopic_product_ion_spectrum_annotated"], [8, 2, 1, "", "calculate_mono_isotopic_product_ion_spectrum"], [8, 2, 1, "", "calculate_mono_isotopic_product_ion_spectrum_annotated"], [8, 2, 1, "", "calculate_product_ion_series"], [8, 2, 1, "", "from_py_ptr"], [8, 2, 1, "", "get_py_ptr"], [8, 4, 1, "", "mono_isotopic_mass"], [8, 4, 1, "", "peptide_id"], [8, 4, 1, "", "sequence"], [8, 2, 1, "", "to_json"], [8, 2, 1, "", "to_sage_representation"], [8, 2, 1, "", "to_tokens"]], "imspy.data.spectrum": [[8, 1, 1, "", "IndexedMzSpectrum"], [8, 1, 1, "", "MzSpectrum"], [8, 1, 1, "", "MzSpectrumVectorized"], [8, 1, 1, "", "TimsSpectrum"], [8, 3, 1, "", "get_peak_integral"]], "imspy.data.spectrum.IndexedMzSpectrum": [[8, 4, 1, "", "df"], [8, 2, 1, "", "filter"], [8, 2, 1, "", "from_py_ptr"], [8, 2, 1, "", "get_py_ptr"], [8, 4, 1, "", "index"], [8, 4, 1, "", "intensity"], [8, 4, 1, "", "mz"]], "imspy.data.spectrum.MzSpectrum": [[8, 2, 1, "", "add_mz_noise_normal"], [8, 2, 1, "", "add_mz_noise_uniform"], [8, 4, 1, "", "df"], [8, 2, 1, "", "filter"], [8, 2, 1, "", "from_jsons"], [8, 2, 1, "", "from_mz_spectra_list"], [8, 2, 1, "", "from_py_ptr"], [8, 2, 1, "", "get_py_ptr"], [8, 4, 1, "", "intensity"], [8, 4, 1, "", "mz"], [8, 2, 1, "", "to_centroided"], [8, 2, 1, "", "to_jsons"], [8, 2, 1, "", "to_resolution"], [8, 2, 1, "", "to_windows"], [8, 2, 1, "", "vectorized"]], "imspy.data.spectrum.MzSpectrumVectorized": [[8, 2, 1, "", "from_py_ptr"], [8, 2, 1, "", "get_py_ptr"], [8, 4, 1, "", "indices"], [8, 4, 1, "", "resolution"], [8, 2, 1, "", "to_centroided"], [8, 4, 1, "", "values"]], "imspy.data.spectrum.TimsSpectrum": [[8, 4, 1, "", "df"], [8, 2, 1, "", "filter"], [8, 4, 1, "", "frame_id"], [8, 2, 1, "", "from_py_ptr"], [8, 2, 1, "", "get_py_ptr"], [8, 4, 1, "", "index"], [8, 4, 1, "", "intensity"], [8, 4, 1, "", "mobility"], [8, 4, 1, "", "ms_type"], [8, 4, 1, "", "mz"], [8, 4, 1, "", "mz_spectrum"], [8, 4, 1, "", "retention_time"], [8, 4, 1, "", "scan"]], "imspy.simulation": [[9, 0, 0, "-", "annotation"], [9, 0, 0, "-", "experiment"], [9, 0, 0, "-", "handle"], [9, 0, 0, "-", "noise"], [9, 0, 0, "-", "proteome"], [9, 0, 0, "-", "tdf"], [10, 0, 0, "-", "timsim"], [9, 0, 0, "-", "utility"]], "imspy.simulation.annotation": [[9, 1, 1, "", "ContributionSource"], [9, 1, 1, "", "MzSpectrumAnnotated"], [9, 1, 1, "", "PeakAnnotation"], [9, 1, 1, "", "RustWrapperObject"], [9, 1, 1, "", "SignalAttributes"], [9, 1, 1, "", "SourceType"], [9, 1, 1, "", "TimsFrameAnnotated"]], "imspy.simulation.annotation.ContributionSource": [[9, 2, 1, "", "from_py_ptr"], [9, 2, 1, "", "get_py_ptr"], [9, 4, 1, "", "intensity_contribution"], [9, 4, 1, "", "signal_attributes"], [9, 4, 1, "", "source_type"]], "imspy.simulation.annotation.MzSpectrumAnnotated": [[9, 4, 1, "", "annotations"], [9, 2, 1, "", "filter"], [9, 2, 1, "", "from_py_ptr"], [9, 2, 1, "", "get_py_ptr"], [9, 4, 1, "", "intensity"], [9, 4, 1, "", "mz"]], "imspy.simulation.annotation.PeakAnnotation": [[9, 4, 1, "", "contributions"], [9, 2, 1, "", "from_py_ptr"], [9, 2, 1, "", "get_py_ptr"]], "imspy.simulation.annotation.RustWrapperObject": [[9, 2, 1, "", "from_py_ptr"], [9, 2, 1, "", "get_py_ptr"]], "imspy.simulation.annotation.SignalAttributes": [[9, 4, 1, "", "charge_state"], [9, 4, 1, "", "description"], [9, 2, 1, "", "from_py_ptr"], [9, 2, 1, "", "get_py_ptr"], [9, 4, 1, "", "isotope_peak"], [9, 4, 1, "", "peptide_id"]], "imspy.simulation.annotation.SourceType": [[9, 2, 1, "", "from_py_ptr"], [9, 2, 1, "", "get_py_ptr"], [9, 4, 1, "", "source_type"]], "imspy.simulation.annotation.TimsFrameAnnotated": [[9, 4, 1, "", "annotations"], [9, 4, 1, "", "charge_states_first_only"], [9, 4, 1, "", "df"], [9, 2, 1, "", "filter"], [9, 4, 1, "", "frame_id"], [9, 2, 1, "", "from_py_ptr"], [9, 2, 1, "", "get_py_ptr"], [9, 4, 1, "", "intensity"], [9, 4, 1, "", "inv_mobility"], [9, 4, 1, "", "isotope_peaks_first_only"], [9, 4, 1, "", "ms_type"], [9, 4, 1, "", "ms_type_numeric"], [9, 4, 1, "", "mz"], [9, 4, 1, "", "peptide_ids_first_only"], [9, 4, 1, "", "retention_time"], [9, 4, 1, "", "scan"], [9, 4, 1, "", "tof"]], "imspy.simulation.experiment": [[9, 1, 1, "", "SyntheticExperimentDataHandle"], [9, 1, 1, "", "SyntheticExperimentDataHandleDIA"], [9, 1, 1, "", "TimsTofSyntheticFrameBuilderDIA"], [9, 1, 1, "", "TimsTofSyntheticPrecursorFrameBuilder"]], "imspy.simulation.experiment.SyntheticExperimentDataHandle": [[9, 2, 1, "", "append_table"], [9, 2, 1, "", "close"], [9, 2, 1, "", "create_table"], [9, 2, 1, "", "create_table_sql"], [9, 2, 1, "", "get_table"], [9, 2, 1, "", "list_columns"], [9, 2, 1, "", "list_tables"]], "imspy.simulation.experiment.SyntheticExperimentDataHandleDIA": [[9, 2, 1, "", "get_frame_to_window_group"], [9, 2, 1, "", "get_window_group_settings"]], "imspy.simulation.experiment.TimsTofSyntheticFrameBuilderDIA": [[9, 2, 1, "", "build_frame"], [9, 2, 1, "", "build_frame_annotated"], [9, 2, 1, "", "build_frames"], [9, 2, 1, "", "build_frames_annotated"], [9, 2, 1, "", "count_number_transmissions"], [9, 2, 1, "", "count_number_transmissions_parallel"], [9, 2, 1, "", "from_py_ptr"], [9, 2, 1, "", "get_collision_energies"], [9, 2, 1, "", "get_collision_energy"], [9, 2, 1, "", "get_ion_transmission_matrix"], [9, 2, 1, "", "get_py_ptr"]], "imspy.simulation.experiment.TimsTofSyntheticPrecursorFrameBuilder": [[9, 2, 1, "", "build_precursor_frame"], [9, 2, 1, "", "build_precursor_frame_annotated"], [9, 2, 1, "", "build_precursor_frames"], [9, 2, 1, "", "build_precursor_frames_annotated"], [9, 2, 1, "", "from_py_ptr"], [9, 2, 1, "", "get_py_ptr"]], "imspy.simulation.handle": [[9, 1, 1, "", "TimsTofSyntheticsDataHandleRust"]], "imspy.simulation.handle.TimsTofSyntheticsDataHandleRust": [[9, 2, 1, "", "get_py_ptr"], [9, 2, 1, "", "get_transmitted_ions"]], "imspy.simulation.noise": [[9, 3, 1, "", "baseline_noise"], [9, 3, 1, "", "baseline_shot_noise"], [9, 3, 1, "", "baseline_shot_noise_window"], [9, 3, 1, "", "detection_noise"], [9, 3, 1, "", "generate_noise_peak"], [9, 3, 1, "", "mu_function_normal_default"], [9, 3, 1, "", "mu_function_poisson_default"], [9, 3, 1, "", "sigma_function_normal_default"]], "imspy.simulation.proteome": [[9, 1, 1, "", "PeptideDigest"]], "imspy.simulation.tdf": [[9, 1, 1, "", "TDFWriter"]], "imspy.simulation.tdf.TDFWriter": [[9, 2, 1, "", "build_frame_meta_row"], [9, 2, 1, "", "compress_frame"], [9, 2, 1, "", "get_frame_meta_data"], [9, 2, 1, "", "inv_mobility_to_scan"], [9, 2, 1, "", "mz_to_tof"], [9, 2, 1, "", "scan_to_inv_mobility"], [9, 2, 1, "", "tof_to_mz"], [9, 2, 1, "", "write_dia_ms_ms_info"], [9, 2, 1, "", "write_dia_ms_ms_windows"], [9, 2, 1, "", "write_frame"], [9, 2, 1, "", "write_frame_meta_data"]], "imspy.simulation.timsim": [[11, 0, 0, "-", "jobs"]], "imspy.simulation.timsim.jobs": [[11, 0, 0, "-", "simulate_frame_distributions"], [11, 0, 0, "-", "simulate_frame_distributions_emg"], [11, 0, 0, "-", "simulate_occurrences"], [11, 0, 0, "-", "simulate_scan_distributions"], [11, 0, 0, "-", "utility"]], "imspy.simulation.timsim.jobs.simulate_frame_distributions": [[11, 3, 1, "", "simulate_frame_distributions"]], "imspy.simulation.timsim.jobs.simulate_frame_distributions_emg": [[11, 3, 1, "", "sample_parameters_rejection"], [11, 3, 1, "", "simulate_frame_distributions_emg"]], "imspy.simulation.timsim.jobs.simulate_occurrences": [[11, 3, 1, "", "simulate_peptide_occurrences"]], "imspy.simulation.timsim.jobs.simulate_scan_distributions": [[11, 3, 1, "", "simulate_scan_distributions"]], "imspy.simulation.timsim.jobs.utility": [[11, 3, 1, "", "check_path"]], "imspy.simulation.utility": [[9, 3, 1, "", "accumulated_intensity_cdf_numba"], [9, 3, 1, "", "add_uniform_noise"], [9, 3, 1, "", "calculate_b_y_fragment_mz"], [9, 3, 1, "", "calculate_b_y_ion_series_ims"], [9, 3, 1, "", "calculate_bounds_numba"], [9, 3, 1, "", "calculate_mobility_spacing"], [9, 3, 1, "", "calculate_number_frames"], [9, 3, 1, "", "custom_cdf"], [9, 3, 1, "", "flat_intensity_to_sparse"], [9, 3, 1, "", "flatten_prosit_array"], [9, 3, 1, "", "generate_events"], [9, 3, 1, "", "get_acquisition_builder_resource_path"], [9, 3, 1, "", "get_compressible_data"], [9, 3, 1, "", "get_dilution_factors"], [9, 3, 1, "", "get_fasta_file_paths"], [9, 3, 1, "", "get_frames_numba"], [9, 3, 1, "", "get_ms_ms_window_layout_resource_path"], [9, 3, 1, "", "get_native_dataset_path"], [9, 3, 1, "", "get_peak_cnts"], [9, 3, 1, "", "get_realdata"], [9, 3, 1, "", "get_realdata_loop"], [9, 3, 1, "", "get_scans_numba"], [9, 3, 1, "", "get_z_score_for_percentile"], [9, 3, 1, "", "irt_to_rts_numba"], [9, 3, 1, "", "json_string_to_python_list"], [9, 3, 1, "", "modify_tofs"], [9, 3, 1, "", "np_zip"], [9, 3, 1, "", "python_list_to_json_string"], [9, 3, 1, "", "read_acquisition_config"], [9, 3, 1, "", "sequence_to_all_ions"], [9, 3, 1, "", "sequence_to_numpy"], [9, 3, 1, "", "sequences_to_all_ions"], [9, 3, 1, "", "set_percentage_to_zero"]], "imspy.timstof": [[12, 0, 0, "-", "data"], [12, 0, 0, "-", "dia"], [12, 0, 0, "-", "frame"], [12, 0, 0, "-", "slice"]], "imspy.timstof.data": [[12, 1, 1, "", "AcquisitionMode"], [12, 1, 1, "", "TimsDataset"]], "imspy.timstof.data.AcquisitionMode": [[12, 2, 1, "", "from_py_ptr"], [12, 2, 1, "", "get_py_ptr"], [12, 4, 1, "", "mode"]], "imspy.timstof.data.TimsDataset": [[12, 4, 1, "", "acquisition_mode"], [12, 4, 1, "", "acquisition_mode_numeric"], [12, 4, 1, "", "average_cycle_length"], [12, 2, 1, "", "bytes_to_indexed_values"], [12, 2, 1, "", "compress_frames"], [12, 2, 1, "", "compress_zstd"], [12, 2, 1, "", "decompress_zstd"], [12, 4, 1, "", "description"], [12, 4, 1, "", "frame_count"], [12, 2, 1, "", "get_table"], [12, 2, 1, "", "get_tims_frame"], [12, 2, 1, "", "get_tims_slice"], [12, 4, 1, "", "im_lower"], [12, 4, 1, "", "im_upper"], [12, 2, 1, "", "indexed_values_to_compressed_bytes"], [12, 2, 1, "", "inverse_mobility_to_scan"], [12, 4, 1, "", "mz_lower"], [12, 2, 1, "", "mz_to_tof"], [12, 4, 1, "", "mz_upper"], [12, 4, 1, "", "num_scans"], [12, 2, 1, "", "scan_to_inverse_mobility"], [12, 2, 1, "", "tof_to_mz"]], "imspy.timstof.dia": [[12, 1, 1, "", "TimsDatasetDIA"]], "imspy.timstof.dia.TimsDatasetDIA": [[12, 4, 1, "", "dia_ms_ms_info"], [12, 4, 1, "", "dia_ms_ms_windows"], [12, 2, 1, "", "from_py_ptr"], [12, 2, 1, "", "get_py_ptr"], [12, 2, 1, "", "read_compressed_data_full"], [12, 2, 1, "", "sample_fragment_signal"], [12, 2, 1, "", "sample_precursor_signal"]], "imspy.timstof.frame": [[12, 1, 1, "", "TimsFrame"], [12, 1, 1, "", "TimsFrameVectorized"]], "imspy.timstof.frame.TimsFrame": [[12, 4, 1, "", "df"], [12, 2, 1, "", "filter"], [12, 4, 1, "", "frame_id"], [12, 2, 1, "", "from_py_ptr"], [12, 2, 1, "", "from_tims_spectra"], [12, 2, 1, "", "from_windows"], [12, 2, 1, "", "get_inverse_mobility_along_scan_marginal"], [12, 2, 1, "", "get_mobility_mean_and_variance"], [12, 2, 1, "", "get_py_ptr"], [12, 4, 1, "", "intensity"], [12, 4, 1, "", "mobility"], [12, 4, 1, "", "ms_type"], [12, 4, 1, "", "ms_type_as_string"], [12, 4, 1, "", "mz"], [12, 2, 1, "", "random_subsample_frame"], [12, 4, 1, "", "retention_time"], [12, 4, 1, "", "scan"], [12, 2, 1, "", "to_dense_windows"], [12, 2, 1, "", "to_indexed_mz_spectrum"], [12, 2, 1, "", "to_noise_annotated_tims_frame"], [12, 2, 1, "", "to_resolution"], [12, 2, 1, "", "to_tims_spectra"], [12, 2, 1, "", "to_windows"], [12, 4, 1, "", "tof"], [12, 2, 1, "", "vectorized"]], "imspy.timstof.frame.TimsFrameVectorized": [[12, 4, 1, "", "df"], [12, 2, 1, "", "filter"], [12, 4, 1, "", "frame_id"], [12, 2, 1, "", "from_py_ptr"], [12, 2, 1, "", "get_arrays_at_index"], [12, 2, 1, "", "get_py_ptr"], [12, 2, 1, "", "get_tensor_repr"], [12, 4, 1, "", "indices"], [12, 4, 1, "", "intensity"], [12, 4, 1, "", "mobility"], [12, 4, 1, "", "ms_type"], [12, 4, 1, "", "retention_time"], [12, 4, 1, "", "scan"], [12, 4, 1, "", "tof"]], "imspy.timstof.slice": [[12, 1, 1, "", "TimsPlane"], [12, 1, 1, "", "TimsSlice"], [12, 1, 1, "", "TimsSliceVectorized"]], "imspy.timstof.slice.TimsPlane": [[12, 4, 1, "", "df"], [12, 4, 1, "", "frame_ids"], [12, 2, 1, "", "from_py_tims_plane"], [12, 4, 1, "", "intensities"], [12, 4, 1, "", "mobilities"], [12, 4, 1, "", "mz_mean"], [12, 4, 1, "", "mz_std"], [12, 4, 1, "", "num_points"], [12, 4, 1, "", "retention_times"], [12, 4, 1, "", "scans"], [12, 4, 1, "", "tof_mean"], [12, 4, 1, "", "tof_std"]], "imspy.timstof.slice.TimsSlice": [[12, 4, 1, "", "df"], [12, 2, 1, "", "filter"], [12, 2, 1, "", "filter_by_type"], [12, 4, 1, "", "first_frame_id"], [12, 4, 1, "", "fragments"], [12, 4, 1, "", "frames"], [12, 2, 1, "", "from_frames"], [12, 2, 1, "", "from_py_tims_slice"], [12, 2, 1, "", "get_tims_planes"], [12, 4, 1, "", "last_frame_id"], [12, 4, 1, "", "precursors"], [12, 2, 1, "", "to_dense_windows"], [12, 2, 1, "", "to_resolution"], [12, 2, 1, "", "to_windows"], [12, 2, 1, "", "vectorized"]], "imspy.timstof.slice.TimsSliceVectorized": [[12, 4, 1, "", "df"], [12, 2, 1, "", "filter"], [12, 4, 1, "", "first_frame_id"], [12, 4, 1, "", "fragments"], [12, 4, 1, "", "frames"], [12, 2, 1, "", "from_vectorized_py_tims_slice"], [12, 2, 1, "", "get_py_ptr"], [12, 2, 1, "", "get_tensor_repr"], [12, 4, 1, "", "last_frame_id"], [12, 4, 1, "", "precursors"]], "imspy.utility": [[14, 0, 0, "-", "sequence"], [14, 0, 0, "-", "utilities"]], "imspy.utility.sequence": [[14, 3, 1, "", "tokenize_unimod_sequence"]], "imspy.utility.utilities": [[14, 1, 1, "", "ExponentialGaussianDistribution"], [14, 1, 1, "", "NormalDistribution"], [14, 1, 1, "", "TokenSequence"], [14, 3, 1, "", "exp_distribution"], [14, 3, 1, "", "exp_gaussian"], [14, 3, 1, "", "gaussian"], [14, 3, 1, "", "get_aa_num_proforma_sequence"], [14, 3, 1, "", "is_unimod_end"], [14, 3, 1, "", "is_unimod_start"], [14, 3, 1, "", "normal_pdf"], [14, 3, 1, "", "re_index_indices"], [14, 3, 1, "", "tokenize_proforma_sequence"], [14, 3, 1, "", "tokenizer_from_json"], [14, 3, 1, "", "tokenizer_to_json"]], "imspy.utility.utilities.TokenSequence": [[14, 4, 1, "", "jsons"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "function", "Python function"], "4": ["py", "property", "Python property"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:function", "4": "py:property"}, "terms": {"": [1, 8, 9, 14], "0": [1, 8, 9, 11, 12, 14], "0001": 8, "001": [8, 9, 14], "01": 11, "013": 7, "06": 8, "08": 8, "1": [7, 8, 9, 11, 12, 14], "10": [8, 9, 12], "1000": [9, 11, 12], "1000000": 11, "1000000000": [8, 9, 12], "120": 9, "15": 7, "1700": 9, "174": 9, "1e": 8, "1e9": [8, 12], "2": [1, 8, 9, 12], "200": 8, "2000": [8, 12], "25": [12, 14], "273": 7, "28": 7, "3": [8, 9, 14], "30": 9, "31": 7, "35": 9, "3989422804014327": 14, "4": [9, 11, 12], "400000": 12, "5": [8, 9, 12], "50": 9, "64": 9, "7": [1, 9, 12], "8": 12, "85": 7, "95": 9, "A": [8, 14], "For": 1, "If": 8, "The": [0, 1, 8, 9, 17], "_nestedsequ": [9, 14], "_scalartype_co": [9, 11, 12], "_supportsarrai": [9, 14], "aa": 14, "abc": [9, 12], "abstract": 9, "abund": [8, 11], "abundance_threshold": 8, "accord": 8, "accumul": 9, "accumulated_intensity_cdf_numba": 9, "accuraci": 1, "acid": 14, "acquir": 9, "acquisit": [12, 17], "acquisition_mod": [9, 12], "acquisition_mode_numer": 12, "acquisition_nam": 9, "acquisitionmod": 12, "action": 1, "ad": [8, 9], "add": [8, 11], "add_mz_noise_norm": 8, "add_mz_noise_uniform": 8, "add_nois": 11, "add_noise_from_real_data": [9, 10], "add_uniform_nois": 9, "algorithm": [16, 17], "all": [8, 9], "along": 12, "amino": 14, "amino_acid": 17, "amino_acid_count": 8, "amount": 9, "an": [0, 1, 9, 12], "ani": [1, 8, 9, 11, 12, 14], "annot": [12, 17], "api": 17, "append_t": 9, "appli": 9, "ar": [1, 8], "arbitrari": 9, "arg": 12, "argument": 1, "arrai": [9, 12], "as_float": 9, "assemble_fram": [9, 10], "associ": 8, "associate_fragment_ion_series_with_prosit_intens": 8, "atomic_composit": 8, "average_cycle_length": 12, "b": [8, 9], "back_data": 9, "base": [1, 8, 9, 12, 14], "baselin": 9, "baseline_nois": 9, "baseline_noise_level": 8, "baseline_shot_nois": 9, "baseline_shot_noise_window": 9, "begin": 1, "being": 9, "between": 9, "bin": 8, "binari": 9, "bool": [8, 9, 11, 12, 14], "bound": [9, 11, 12], "bracket": 14, "build": 9, "build_acquisit": [9, 10], "build_fram": 9, "build_frame_annot": 9, "build_frame_meta_row": 9, "build_frames_annot": 9, "build_precursor_fram": 9, "build_precursor_frame_annot": 9, "build_precursor_frames_annot": 9, "byte": [9, 12, 14], "bytes_to_indexed_valu": 12, "c": [7, 8, 9], "c_ion": 8, "c_termin": 9, "calcul": [7, 8, 9], "calculate_b_y_fragment_mz": 9, "calculate_b_y_ion_series_im": 9, "calculate_bounds_numba": 9, "calculate_isotopic_product_ion_spectrum_annot": 8, "calculate_isotopic_spectrum": 8, "calculate_isotopic_spectrum_annot": 8, "calculate_mobility_spac": 9, "calculate_mono_isotopic_product_ion_spectrum": 8, "calculate_mono_isotopic_product_ion_spectrum_annot": 8, "calculate_mz": 7, "calculate_number_fram": 9, "calculate_product_ion_seri": 8, "calculate_transmission_dependent_fragment_ion_isotope_distribut": 7, "calibr": 9, "call": 1, "callabl": 9, "callback": 1, "can": [9, 14], "caution": 9, "cc": [1, 7], "ccs_to_one_over_k0": 7, "cdf": 9, "centroid": 8, "chang": 1, "char": 14, "charact": [9, 14], "charg": [7, 8, 9], "charge_st": 9, "charge_states_first_onli": 9, "check": [8, 9], "check_path": [10, 11], "chemistri": [16, 17], "class": [1, 8, 9, 12, 14], "classmethod": [8, 9, 12], "cleave_at": 9, "close": 9, "collect": [8, 12], "collis": [7, 9, 17], "complement": 7, "complement_spec": 7, "complex": [9, 14], "compress": [9, 12], "compress_fram": [9, 12], "compress_zstd": 12, "consecut": 14, "constant": 17, "contain": [9, 17], "content": [16, 17], "contribut": [9, 11], "contribution_sourc": 9, "contributionsourc": 9, "convert": [7, 8, 9, 12], "convolut": 8, "count_number_transmiss": 9, "count_number_transmissions_parallel": 9, "covari": [9, 11, 12], "creat": [8, 9, 12], "create_t": 9, "create_table_sql": 9, "cross": 7, "current": 1, "custom": 9, "custom_cdf": 9, "custom_mu_funct": 9, "custom_sigma_funct": 9, "cycl": [9, 11], "d": 9, "data": [1, 9, 16, 17], "data_path": 12, "database_nam": 9, "database_path": 9, "datafram": [8, 9, 11, 12], "dataset": 9, "db": 9, "db_path": 9, "dbsearch": 12, "dda": 17, "decad": 8, "decai": 14, "decompress": 12, "decompress_zstd": 12, "default": [8, 12], "dens": 12, "depend": 7, "descript": [9, 12], "desir": 8, "detect": 9, "detection_nois": 9, "deviat": [9, 11], "df": [8, 9, 12], "dia": [9, 17], "dia_ms_ms_info": [9, 12], "dia_ms_ms_window": [9, 12], "dict": [1, 8, 9], "differ": 12, "digest_fasta": [9, 10], "distribut": [7, 8, 9, 11, 14], "divid": 9, "document": 17, "drift": 7, "ds_name": 9, "dtype": [8, 9, 11, 12, 14], "dure": [1, 9], "e": 14, "element": [9, 17], "end": [1, 14], "energi": 9, "epoch": 1, "exampl": 1, "exist": [9, 11], "exp_distribut": 14, "exp_gaussian": 14, "exp_nam": 9, "expected_noise_intens": 9, "expected_noise_peak": 9, "expected_noise_peaks_per_th": 9, "expected_noise_sigma": 9, "experi": 17, "exponenti": 14, "exponentialgaussiandistribut": 14, "factor": 7, "fals": [8, 9, 11, 12, 14], "fasta": 9, "fasta_path": 9, "featur": 17, "file": [9, 14], "filter": [8, 9, 12], "filter_by_typ": 12, "find": 8, "find_seri": 8, "first": 12, "first_frame_id": 12, "fit": 14, "fix": 9, "flat": 8, "flat_intens": 8, "flat_intensity_to_spars": 9, "flatten_prosit_arrai": 9, "flight": 12, "float": [7, 8, 9, 11, 12, 14], "float64": [8, 12], "folder": 9, "follow": 17, "format": 14, "found": 8, "fragment": [7, 9, 12], "fragment_noise_ppm": 9, "fragment_typ": 8, "frame": [8, 9, 11, 14, 17], "frame_count": 12, "frame_id": [8, 9, 12], "frame_max": 12, "frame_start_po": 9, "from": [1, 7, 8, 9, 12, 14], "from_exist": 11, "from_fram": 12, "from_json": 8, "from_mz_spectra_list": 8, "from_py_ptr": [8, 9, 12], "from_py_tims_plan": 12, "from_py_tims_slic": 12, "from_tims_spectra": 12, "from_vectorized_py_tims_slic": 12, "from_window": 12, "function": [1, 8, 14], "futur": 1, "g": 14, "ga": 7, "gap": 14, "gaussian": 14, "gener": [8, 9, 11, 12], "generate_decoi": 9, "generate_ev": 9, "generate_isotopic_spectrum": 8, "generate_isotopic_spectrum_annot": 8, "generate_noise_peak": 9, "get": [1, 8, 9, 12, 14], "get_aa_num_proforma_sequ": 14, "get_acquisition_builder_resource_path": 9, "get_arrays_at_index": 12, "get_collision_energi": 9, "get_compressible_data": 9, "get_dilution_factor": 9, "get_fasta_file_path": 9, "get_frame_meta_data": 9, "get_frame_to_window_group": 9, "get_frames_numba": 9, "get_inverse_mobility_along_scan_margin": 12, "get_ion_transmission_matrix": 9, "get_mobility_mean_and_vari": 12, "get_model_path": 1, "get_ms_ms_window_layout_resource_path": 9, "get_native_dataset_path": 9, "get_peak_cnt": 9, "get_peak_integr": 8, "get_py_ptr": [8, 9, 12], "get_realdata": 9, "get_realdata_loop": 9, "get_scans_numba": 9, "get_tabl": [9, 12], "get_tensor_repr": 12, "get_tims_fram": 12, "get_tims_plan": 12, "get_tims_slic": 12, "get_transmitted_ion": 9, "get_window_group_set": 9, "get_z_score_for_percentil": 9, "give": 0, "given": [8, 9, 12], "gradient": 9, "gradient_length": 9, "group": 12, "group_modif": 8, "half": 8, "half_charge_on": [8, 9], "handl": [8, 17], "hash": 17, "have": 9, "helper": 9, "helper_handl": 9, "how": 8, "i": [1, 9, 14, 16], "id": [8, 9, 12, 14], "ignor": 12, "ignore_first_n": 12, "im": 9, "im_low": 12, "im_upp": 12, "im_valu": [9, 12], "implement": 9, "ims_arrai": 9, "imspy_dda": 12, "imspy_rescore_sag": 12, "in_memori": 12, "include_precursor_fram": 9, "index": [1, 8, 12, 14, 16], "index_max": 12, "indexed_values_to_compressed_byt": 12, "indexedmzspectrum": [8, 12], "indic": [8, 9, 12, 14], "info": [8, 12], "inmemorycheckpoint": 1, "input": 9, "int": [7, 8, 9, 11, 12, 14], "int32": [8, 12], "integ": 1, "integr": 8, "integrate_method": 8, "intens": [1, 8, 9, 11, 12], "intensities_flat": 9, "intensity_contribut": 9, "intensity_flat": 9, "intensity_max": [8, 9, 11, 12], "intensity_max_ms1": 12, "intensity_max_ms2": 12, "intensity_mean": 11, "intensity_min": [8, 9, 11, 12], "intensity_min_ms1": 12, "intensity_min_ms2": 12, "intensity_valu": [11, 12], "interleav": 9, "introduc": 0, "inv_mob": 9, "inv_mob_max_ms1": 12, "inv_mob_max_ms2": 12, "inv_mob_min_ms1": 12, "inv_mob_min_ms2": 12, "inv_mobility_max": 9, "inv_mobility_min": 9, "inv_mobility_to_scan": 9, "inv_mobl": 9, "inv_sqrt_2pi": 14, "invers": [8, 9, 12], "inverse_mobility_to_scan": 12, "ion": [7, 8, 9, 11], "ioniz": 1, "irt": 9, "irt_to_rts_numba": 9, "is_i": 9, "is_unimod_end": 14, "is_unimod_start": 14, "isol": 9, "isotop": [7, 8, 17], "isotope_distribut": 8, "isotope_peak": 9, "isotope_peaks_first_onli": 9, "its": [0, 9], "job": [9, 10], "json": [8, 14], "json_str": 9, "json_string_to_python_list": 9, "k": 7, "k0": 7, "kei": 1, "kera": 14, "kind": 8, "kr": 9, "lambda": 11, "lambda_mean": 11, "lambda_vari": 11, "laplacian": 14, "last": [1, 12], "last_frame_id": 12, "later": 14, "length": [8, 9, 11, 12], "list": [8, 9, 12, 14], "list_column": 9, "list_tabl": 9, "load": [1, 9, 14], "load_tokenizer_from_resourc": 1, "log": 1, "logarithm": 8, "loss": 1, "lower": 9, "lst": 9, "m": [7, 8, 9, 12], "mai": 1, "main": 0, "margin": 12, "mass": [7, 8, 14], "mass_ga": 7, "mass_toler": 8, "max_intens": 12, "max_isotop": 7, "max_len": 9, "max_length": 9, "max_result": 8, "max_val": 9, "maximum": [7, 8, 9, 11, 12], "mean": [8, 9, 11, 12], "mean_scew": 11, "mean_std_im": 11, "mean_std_rt": 11, "meta": [9, 12], "method": [1, 9], "metric": 1, "min_intens": [8, 9, 12], "min_len": 9, "min_num_peak": [8, 12], "min_val": 9, "minimum": [8, 9, 11, 12], "missed_cleavag": 9, "mixtur": [11, 17], "mixture_contribut": [9, 11], "mobil": [8, 9, 11, 12, 17], "mobility_max": [9, 12], "mobility_min": [9, 12], "mode": [1, 12], "model": [1, 9], "model_nam": 1, "modif": [9, 14], "modifi": [9, 14], "modify_tof": 9, "modul": 0, "mono": 8, "mono_isotopic_mass": 8, "ms1": 12, "ms2": 12, "ms_type": [8, 9, 12], "ms_type_as_str": 12, "ms_type_numer": 9, "mu_function_normal_default": 9, "mu_function_poisson_default": 9, "must": 8, "mz": [7, 8, 9, 12], "mz_lower": 12, "mz_max": [8, 9, 12], "mz_max_ms1": 12, "mz_max_ms2": 12, "mz_mean": 12, "mz_min": [8, 9, 12], "mz_min_ms1": 12, "mz_min_ms2": 12, "mz_noise_frag": 9, "mz_noise_precursor": 9, "mz_noise_uniform": 9, "mz_spectrum": 8, "mz_spectrum_annot": 9, "mz_std": 12, "mz_to_tof": [9, 12], "mz_upper": 12, "mz_valu": 12, "mzspectrum": [7, 8, 9, 12], "mzspectrumannot": [8, 9], "mzspectrumvector": 8, "n": [9, 11], "n_ion": 8, "n_step": 11, "name": [1, 9, 12], "nativ": 9, "ndarrai": [8, 9, 11, 12], "neg": 8, "new": [8, 9], "new_max": 9, "new_min": 9, "nois": [8, 11, 12, 17], "noise_level": 9, "noise_ppm": 8, "non": 9, "none": [1, 8, 9, 11, 12, 14], "normal": [8, 9, 11, 14], "normal_pdf": 14, "normaldistribut": 14, "np": [8, 9, 12], "np_zip": 9, "num_chunk": 12, "num_decim": 9, "num_el": 9, "num_fram": 12, "num_point": 12, "num_scan": [9, 12], "num_thead": 12, "num_thread": [9, 11, 12], "number": [8, 9, 11, 12, 14], "numer": 12, "numpi": 9, "obj": [8, 9, 12], "object": [9, 12, 14], "occupi": 9, "occurr": 11, "offset_byt": 9, "on_epoch_end": 1, "on_train_begin": 1, "on_train_end": 1, "one": 8, "one_over_k0": 7, "one_over_k0_to_cc": 7, "onli": 1, "only_frame_on": 9, "option": [8, 9, 12], "origin": 9, "other": 9, "otherwis": 9, "output": 1, "over": 7, "overlap": [8, 12], "overrid": 1, "overview": 0, "p": [9, 11], "packag": [16, 17], "page": [0, 16], "panda": 12, "param": [9, 14], "paramet": [1, 7, 8, 9, 11, 12, 14], "pasef": 12, "pass": 1, "path": [1, 9, 14], "pd": [8, 11, 12], "peak": [8, 12], "peak_annot": 9, "peak_cnt": 9, "peak_info": 8, "peakannot": 9, "peptid": [9, 11, 17], "peptide_id": [8, 9], "peptide_ids_first_onli": 9, "peptidedigest": 9, "peptideion": 8, "peptideproduct": 8, "peptideproductionseri": 8, "peptideproductionseriescollect": 8, "peptidesequ": 8, "percentag": 9, "perform": 1, "pim": [8, 12], "plane": 12, "po": 9, "point": 9, "pointcloud": 17, "pointer": 12, "poisson": 9, "potenti": 9, "ppm": [8, 9], "pre": 14, "precursor": [9, 12, 14], "precursor_noise_ppm": 9, "predict": 8, "predictor": 1, "prefix": 1, "pretrain": [1, 9], "probabl": [9, 12], "product": 8, "product_ion": 8, "proforma": 14, "properti": [8, 9, 12, 14], "proport": 9, "prosit": 8, "proteom": 17, "provid": [0, 9], "ptr": 12, "py_ptr": 9, "pycontributionsourc": 9, "pyindexedmzspectrum": 8, "pymzspectrum": 8, "pymzspectrumannot": 9, "pymzspectrumvector": 8, "pypeakannot": 9, "pysignalattribut": 9, "pysourcetyp": 9, "python": 9, "python_list_to_json_str": 9, "pytimsfram": 12, "pytimsframeannot": 9, "pytimsframevector": 12, "pytimsplan": 12, "pytimsslic": 12, "pytimsspectrum": 8, "pytimstofsyntheticsframebuilderdia": 9, "pytimstofsyntheticsprecursorframebuild": 9, "quadrupol": [9, 17], "random_subsample_fram": 12, "randomli": 12, "rang": [8, 9, 12], "raw": 9, "re": 14, "re_index": 12, "re_index_indic": 14, "read": 12, "read_acquisition_config": 9, "read_compressed_data_ful": 12, "real_data": 9, "reduc": 7, "refer": 9, "rel": 9, "replac": 14, "repres": 14, "represent": 8, "resolut": [8, 9, 12], "resourc": 1, "restrict": 9, "result": [1, 8], "retent": [8, 9, 11, 12], "retention_tim": [8, 9, 12], "return": [1, 7, 8, 9, 11, 12, 14], "right": [8, 9], "right_drag": [8, 9], "row": 9, "rt": [1, 9], "rt_abu": 9, "rt_cycle_length": [9, 11], "rt_valu": 9, "run": 1, "rustwrapperobject": [8, 9, 12], "sage_output_util": 12, "sampl": [8, 11, 12], "sample_end": 9, "sample_fragment_sign": 12, "sample_occurr": 11, "sample_parameters_reject": [10, 11], "sample_precursor_sign": 12, "sample_start": 9, "save": 14, "scale": 9, "scan": [8, 9, 11, 12], "scan_id": 9, "scan_max": [9, 12], "scan_max_ms1": 12, "scan_max_ms2": 12, "scan_min": [9, 12], "scan_min_ms1": 12, "scan_min_ms2": 12, "scan_mod": 9, "scan_to_inv_mobl": 9, "scan_to_inverse_mobl": 12, "scan_valu": 12, "scans_arrai": 9, "scew": 11, "score": [9, 11], "search": 16, "second": [9, 11], "section": 7, "sequenc": [8, 9, 17], "sequence_to_all_ion": 9, "sequence_to_numpi": 9, "sequence_token": 14, "sequences_to_all_ion": 9, "seri": [8, 9], "set": 9, "set_percentage_to_zero": 9, "sever": 9, "shift": [8, 9], "shot": 9, "should": [1, 8, 12], "sigma": [8, 9, 11], "sigma_function_normal_default": 9, "sigma_mean": 11, "sigma_vari": 11, "signal": [9, 12], "signal_attribut": 9, "signalattribut": 9, "simul": [16, 17], "simulate_charge_st": [9, 10], "simulate_fragment_intens": [9, 10], "simulate_frame_distribut": [9, 10], "simulate_frame_distributions_emg": [9, 10], "simulate_ion_mobl": [9, 10], "simulate_occurr": [9, 10], "simulate_peptide_occurr": [10, 11], "simulate_precursor_spectra": [9, 10], "simulate_retention_tim": [9, 10], "simulate_scan_distribut": [9, 10], "singl": 9, "size": [8, 11], "slice": 17, "source_typ": 9, "sourcetyp": 9, "space": 9, "spec": 8, "spec_ptr": 8, "specifi": 9, "spectra": [8, 12], "spectra_list": 8, "spectrum": [7, 9, 17], "sql": 9, "standard": [9, 11], "start": 14, "state": [7, 9], "static_mod": 9, "std": [8, 9], "std_dev": 9, "std_im": 9, "std_mean": 11, "std_rt": [9, 11], "step": 11, "step_siz": 11, "still": 9, "str": [1, 8, 9, 11, 12, 14], "string": [8, 9, 14], "subclass": 1, "submodul": [0, 17], "subpackag": 17, "subsampl": 12, "sum": 8, "sum_formula": 17, "synthet": 9, "synthetic_data": 9, "syntheticexperimentdatahandl": 9, "syntheticexperimentdatahandledia": 9, "t_diff": 7, "tabl": [9, 12], "table_nam": [9, 12], "take": 12, "take_prob": 12, "taken": 9, "target": [7, 11], "target_p": 11, "target_scor": 9, "target_spec": 7, "tdf": 17, "tdfwriter": 9, "temp": 7, "temperatur": 7, "test": 14, "thi": [0, 1, 9, 16], "thread": [9, 11, 12], "threshold": 8, "time": [8, 9, 11, 12], "times_arrai": 9, "tims_frame_annot": 9, "tims_slic": 12, "timsdataset": 12, "timsdatasetdia": 12, "timsfram": [9, 12], "timsframeannot": [9, 12], "timsframevector": 12, "timsim": 9, "timsplan": 12, "timsslic": 12, "timsslicevector": 12, "timsspectrum": [8, 12], "timstof": [16, 17], "timstofsyntheticframebuilderdia": 9, "timstofsyntheticprecursorframebuild": 9, "timstofsyntheticsdatahandlerust": 9, "to_centroid": 8, "to_dense_window": 12, "to_indexed_mz_spectrum": 12, "to_json": 8, "to_noise_annotated_tims_fram": 12, "to_resolut": [8, 12], "to_sage_represent": 8, "to_tims_spectra": 12, "to_token": 8, "to_window": [8, 12], "todo": 8, "tof": [9, 12], "tof_max_valu": 12, "tof_mean": 12, "tof_std": 12, "tof_to_mz": [9, 12], "tof_valu": 12, "token": [1, 14], "tokenize_proforma_sequ": 14, "tokenize_unimod_sequ": 14, "tokenizer_from_json": 14, "tokenizer_nam": 1, "tokenizer_to_json": 14, "tokensequ": 14, "toler": 8, "tool": 0, "total": 12, "total_scan": [9, 12], "train": 1, "translat": [7, 9], "transmiss": 7, "transmit": 7, "transmitted_isotop": 7, "travers": [1, 9], "true": [8, 9, 11, 12], "tupl": [8, 9, 12], "two": 9, "type": [1, 7, 8, 9, 11, 12, 14], "typevar": [9, 11, 12], "uint8": 12, "undergo": 9, "uniform": 8, "uniformli": 9, "unimod": [9, 14, 17], "unimod_sequ": 14, "union": [9, 14], "us": [8, 9, 11, 12, 14], "use_bruker_sdk": 12, "util": [10, 12, 16, 17], "val_": 1, "val_loss": 1, "valid": 1, "validation_target": 1, "valu": [1, 7, 8, 9, 11, 12], "variable_mod": 9, "varianc": [11, 12], "variance_scew": 11, "variance_std_im": 11, "variance_std_rt": 11, "vector": [8, 9, 12], "verbos": [9, 11], "version": 12, "vi": [16, 17], "visual": 14, "where": [8, 9], "whether": [8, 9, 12, 14], "window": [8, 9, 12], "window_group": 12, "window_length": [8, 12], "window_s": 9, "window_theoretical_mz_max": 9, "window_theoretical_mz_min": 9, "with_annot": 9, "write": 9, "write_dia_ms_ms_info": 9, "write_dia_ms_ms_window": 9, "write_fram": 9, "write_frame_meta_data": 9, "x": [0, 8, 9, 14], "xx": 9, "y": [0, 8, 9], "yy": 9, "z": [0, 7, 8, 9, 11, 12], "z_score": [9, 11], "zero": 9, "zero_index": 12, "zstd": [9, 12], "\u03bb": 14, "\u03bc": 14, "\u03c3": 14}, "titles": ["imspy Package", "imspy.algorithm package", "imspy.algorithm.ccs package", "imspy.algorithm.intensity package", "imspy.algorithm.ionization package", "imspy.algorithm.pretrained package", "imspy.algorithm.rt package", "imspy.chemistry package", "imspy.data package", "imspy.simulation package", "imspy.simulation.timsim package", "imspy.simulation.timsim.jobs package", "imspy.timstof package", "imspy.timstof.dbsearch package", "imspy.utility package", "imspy.vis package", "Welcome to imspy\u2019s documentation!", "imspy Modules"], "titleterms": {"": 16, "acquisit": 9, "add_noise_from_real_data": 11, "algorithm": [1, 2, 3, 4, 5, 6], "amino_acid": 7, "annot": 9, "api": 0, "assemble_fram": 11, "build_acquisit": 11, "cc": 2, "chemistri": 7, "collis": 12, "constant": 7, "content": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "data": [8, 12], "dbsearch": 13, "dda": 12, "dia": 12, "digest_fasta": 11, "document": [0, 16], "element": 7, "experi": 9, "featur": 9, "frame": 12, "handl": 9, "hash": 1, "imspi": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "imspy_dda": 13, "imspy_rescore_sag": 13, "indic": 16, "intens": 3, "ioniz": 4, "isotop": 9, "job": 11, "main": 16, "mixtur": 1, "mobil": 7, "modul": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "nois": 9, "packag": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "peptid": 8, "pointcloud": 15, "predictor": [2, 3, 4, 6], "pretrain": 5, "proteom": 9, "quadrupol": 12, "rt": 6, "sage_output_util": 13, "sequenc": 14, "simul": [9, 10, 11], "simulate_charge_st": 11, "simulate_fragment_intens": 11, "simulate_frame_distribut": 11, "simulate_frame_distributions_emg": 11, "simulate_ion_mobl": 11, "simulate_occurr": 11, "simulate_precursor_spectra": 11, "simulate_retention_tim": 11, "simulate_scan_distribut": 11, "slice": 12, "spectrum": 8, "submodul": [1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "subpackag": [1, 9, 10, 12], "sum_formula": 7, "tabl": 16, "tdf": 9, "timsim": [10, 11], "timstof": [12, 13], "unimod": 7, "util": [1, 3, 7, 9, 11, 13, 14], "vi": 15, "welcom": 16}})
\ No newline at end of file