Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples: Fix rendering of RST code-blocks in notebooks #184

Merged
merged 1 commit into from
Jun 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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