Exemplo n.º 1
0
                                                      sys.version_info.minor)
    sys.path = [local] + sys.path

# %%
# %%capture
# load all python and interactive tools
# %matplotlib widget
# %xmode Plain
# Plain or Minimal.
import spike

# %%
if os.uname(
).nodename == 'madMacBook':  # a switch for the development environment
    from spike.Interactive import INTER
    INTER.hidecode(initial='hide', message=False)

# %%
import EUFT_Spike.Tools.FTICR_INTER as FI
from EUFT_Spike.Tools import DocEUFT
DocEUFT.Howto_display('1D')

# %%
# launch
#display(Markdown('## ... program is Ready'))
#I.hidecode(initial='show', message=False)
from importlib import reload
reload(FI)
w = FI.IFTMS()

# %% [markdown]
Exemplo n.º 2
0
# %% [markdown]
# ## To use it, 
# execute each executable cell (marked with the `In[]`) either by cliking on the Run icon on the top of the window, or by hitting *shift-Return* on the keyboard

# %% [markdown]
# ### Initialization of the environment
# the following cell should be run only once, at the beginning of the processing

# %%
from IPython.display import display, HTML, Markdown, Image
display(Markdown('## STARTING Environment...'))
# %matplotlib notebook
import spike.Interactive.INTER as I
from spike.Interactive.FTICR_INTER import MR, MR_interact
from spike.Interactive.ipyfilechooser import FileChooser
I.hidecode()

# %% [markdown]
# ### Choose the file
# Use `FileChooser()` to choose a file on your disk - The optional `base` argument, starts the exploration on a given location.
#
# 2D processed files are `*.msh5` files.

# %%
FC = FileChooser('/DATA',filetype='y*.msh5', mode='r')
display(FC)

# %% [markdown]
# the `MR` tool simply loads and describe the content of the file

# %%