spike.Interactive package¶
Submodules¶
spike.Interactive.FTICR_INTER module¶
A tool to display 2D FT-ICR data-sets
to be embedded in jupyter notebook
First version MAD jan 2019 preliminary and not fully tested !
-
class
spike.Interactive.FTICR_INTER.
Calib
(data)[source]¶ Bases:
object
a simple tool to show and modify calibration cste
-
class
spike.Interactive.FTICR_INTER.
MR
(name, report=True, Debug=False)[source]¶ Bases:
object
this class handles multiresolution datasets
-
to_display
(zoom=((0, 10000000.0), (0, 10000000.0)), verbose=False)[source]¶ computes and return which dataset to display at a given zoom and scale level” in: zoom = ((F1low, F1up), (F2low,F2up)) - in m/z
out: a tuple (data, zoomwindow), where data is a NPKData and zoomwindow an eventually recalibrated zoom window
so, if DATA is an MR() object and Zoom a defined window in m/z ((F1low, F1up), (F2low,F2up)) the sequence:
datasel, zz = DATA.to_display(Zoom) datasel.display(zoom=zz, scale=…)will display the selected zone with the best possible resolution
-
-
class
spike.Interactive.FTICR_INTER.
MR2
(name, figsize=None, report=True, show=True, Debug=False)[source]¶
-
class
spike.Interactive.FTICR_INTER.
MR_interact
(name, figsize=None, report=True, show=True, Debug=False)[source]¶ Bases:
spike.Interactive.FTICR_INTER.MR
-
zoom
¶
-
zoom_in
(b, factor=1.44)[source]¶ - z_in: waft = wbef/factor => waft*factor = wbef
- dw = wbef/factor-wbef = wbef*(1-factor) dw = waft*factor*(1-factor)
-
-
class
spike.Interactive.FTICR_INTER.
MSPeaker
(npkd, pkname)[source]¶ Bases:
object
a peak-picker for MS experiments
spike.Interactive.INTER module¶
A set of utilities to use spike in NMR or FTMS within jupyter
First version MAD june 2017 preliminary and not fully tested !
-
class
spike.Interactive.INTER.
AvProc1D
(filename='')[source]¶ Bases:
object
Detailed 1D NMR Processing
-
class
spike.Interactive.INTER.
FileChooser
(base=None, filetype=['fid', 'ser'], mode='r', show=True)[source]¶ Bases:
object
a simple file chooser for Jupyter
-
basename
¶ the basename of the chosen file
-
dirname
¶ the final dirname containing the chosen file
-
file
¶ the chosen complete filename
-
nmrname
¶ the final dirname containing the chosen file for TopSpin files
-
-
class
spike.Interactive.INTER.
Phaser1D
(data)[source]¶ Bases:
object
An interactive phaser in 1D NMR
Phaser1D(spectrum)best when in %matplotlib inline