Skip to content

Commit

Permalink
examples: fix rendering of RST code-blocks in notebooks (#179) (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
luisfabib authored Jun 24, 2021
1 parent ed2df2a commit eb08e50
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 43 deletions.
12 changes: 6 additions & 6 deletions examples/basic/ex_bootstrapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
import deerlab as dl

# %% [markdown]
# Uncomment and use the following lines if you have experimental data:
#
# t,Vexp = dl.deerload('my\path\4pdeer_data.DTA')
# Vexp = dl.correctphase(Vexp)
# t = dl.correctzerotime(Vexp,t)
#
# Uncomment and use the following lines if you have experimental data::
#
# t,Vexp = dl.deerload('my\path\4pdeer_data.DTA')
# Vexp = dl.correctphase(Vexp)
# t = dl.correctzerotime(Vexp,t)
#

# %% [markdown]
# In this example we will use simulated data instead:
Expand Down
12 changes: 6 additions & 6 deletions examples/basic/ex_fitting_4pdeer.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
# Load and pre-process data
# ---------------------------
#
# Uncomment and use the following lines if you have experimental data:
#
# t, Vexp = dl.deerload('my\path\4pdeer_data.DTA')
# Vexp = dl.correctphase(Vexp)
# t = dl.correctzerotime(Vexp,t)
#
# Uncomment and use the following lines if you have experimental data::
#
# t, Vexp = dl.deerload('my\path\4pdeer_data.DTA')
# Vexp = dl.correctphase(Vexp)
# t = dl.correctzerotime(Vexp,t)
#
# In this example we will use simulated data instead.

# %% [markdown]
Expand Down
12 changes: 6 additions & 6 deletions examples/basic/ex_fitting_4pdeer_2p1.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
# Load and pre-process data
# ---------------------------
#
# Uncomment and use the following lines if you have experimental data:
#
# t,Vexp = dl.deerload('my\path\4pdeer_data.DTA')
# Vexp = dl.correctphase(Vexp)
# t = dl.correctzerotime(Vexp,t)
#
# Uncomment and use the following lines if you have experimental data::
#
# t,Vexp = dl.deerload('my\path\4pdeer_data.DTA')
# Vexp = dl.correctphase(Vexp)
# t = dl.correctzerotime(Vexp,t)
#
# In this example we will use simulated data instead:

# %%
Expand Down
12 changes: 6 additions & 6 deletions examples/basic/ex_fitting_5pdeer.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
# Load and pre-process data
# ---------------------------
#
# Uncomment and use the following lines if you have experimental data:
#
# t,Vexp = dl.deerload('my\path\5pdeer_data.DTA')
# Vexp = dl.correctphase(Vexp)
# t = dl.correctzerotime(Vexp,t)
#
# Uncomment and use the following lines if you have experimental data::
#
# t,Vexp = dl.deerload('my\path\5pdeer_data.DTA')
# Vexp = dl.correctphase(Vexp)
# t = dl.correctzerotime(Vexp,t)
#
# In this example we will use simulated data instead.

# %%
Expand Down
14 changes: 7 additions & 7 deletions examples/basic/ex_global_different_deer.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
# Load and pre-process data
# ---------------------------
#
# Uncomment and use the following lines if you have experimental data:
#
# datasets = ('file1.DTA','file2.DTA','file3.DTA')
# data = [dl.deerload(ds) for ds in datasets]
# t = [_[0] for _ in data]
# V = [_[1] for _ in data]
#
# Uncomment and use the following lines if you have experimental data::
#
# datasets = ('file1.DTA','file2.DTA','file3.DTA')
# data = [dl.deerload(ds) for ds in datasets]
# t = [_[0] for _ in data]
# V = [_[1] for _ in data]
#

# %% [markdown]
# Simulate data
Expand Down
14 changes: 7 additions & 7 deletions examples/basic/ex_global_fitting_4pdeer.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
# Load and pre-process data
# ---------------------------
#
# Uncomment and use the following lines if you have experimental data:
#
# datasets = ('file1.DTA','file2.DTA','file3.DTA')
# data = [dl.deerload(ds) for ds in datasets]
# t = [_[0] for _ in data]
# V = [_[1] for _ in data]
#
# Uncomment and use the following lines if you have experimental data::
#
# datasets = ('file1.DTA','file2.DTA','file3.DTA')
# data = [dl.deerload(ds) for ds in datasets]
# t = [_[0] for _ in data]
# V = [_[1] for _ in data]
#

# %% [markdown]
# Simulate data
Expand Down
10 changes: 5 additions & 5 deletions examples/basic/ex_restraints_4pdeer.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
import deerlab as dl

# %% [markdown]
# Uncomment and use the following lines if you have experimental data:
#
# t,Vexp = dl.deerload('my\path\4pdeer_data.DTA')
# Vexp = dl.correctphase(Vexp)
# t = dl.correctzerotime(Vexp,t)
# Uncomment and use the following lines if you have experimental data::
#
# t,Vexp = dl.deerload('my\path\4pdeer_data.DTA')
# Vexp = dl.correctphase(Vexp)
# t = dl.correctzerotime(Vexp,t)
#

# %% [markdown]#
Expand Down

0 comments on commit eb08e50

Please sign in to comment.