Skip to content

Commit 9350e49

Browse files
committed
Improved Docs
1 parent 4dc6a76 commit 9350e49

12 files changed

Lines changed: 50 additions & 4 deletions

.github/workflows/build_wheels.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1-
name: Build
1+
name: Build and Test
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
410

511
jobs:
612
build_wheels:

.readthedocs.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
3+
python:
4+
version: 3.8
5+
install:
6+
- requierments: docs/source/requirements.txt
7+
- method: pip
8+
path: .
9+
system_packages: true
10+
11+
sphinx:
12+
builder: html
13+
configuration: docs/source/conf.py

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# H2MM_C
22

3-
![Build and Test](https://github.com/harripd/H2MMpythonlib/actions/workflows/build_wheels.yml/badge.svg)
3+
[![Build and Test](https://github.com/harripd/H2MMpythonlib/actions/workflows/build_wheels.yml/badge.svg)](https://github.com/harripd/H2MMpythonlib/actions)
44

55
## Project Desciption
66
H2MM_C is a python extension module that implements the H<sup>2</sup>MM algorithm originally developed by [Pirchi et. al. J. Phys. Chem B. 2016, 120, 13065-12075](http://dx.doi.org/10.1371/journal.pone.0160716) in a highly efficent and multithreaded manner, along with functions for posterior analysis with the *Viterbi* algorithm.

docs/source/CustomPrint.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Customizing Optimization Progress Display
88
This can also be viewed as a Jupyter Notebook
99
Downlaod :download:`H2MM_DisplayProgress.ipynb <notebooks/H2MM_DisplayProgress.ipynb>`
1010

11+
The data file can be downloaded here: :download:`sample_data_3det.txt <notebooks/sample_data_3det.txt>`
12+
1113
As always, lets get the imports and loading data out of the way:
1214

1315
.. code-block::

docs/source/FBoundingTutorial.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Bounding |H2MM|
88
This can also be viewed as a Jupyter Notebook
99
Downlaod :download:`H2MM_Bounds_Tutorial.ipynb <notebooks/H2MM_Bounds_Tutorial.ipynb>`
1010

11+
The data file can be downloaded here: :download:`sample_data_3det.txt <notebooks/sample_data_3det.txt>`
12+
1113
Let's get our obligatory imports in order, this time we'll start with the 3 detector data.
1214

1315
.. code-block::

docs/source/FOptimizationTutorial.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ Basic Optimizations with H2MM_C
88
This can also be viewed as a Jupyter Notebook
99
Downlaod :download:`H2MM_Optimization_Tutorial.ipynb <notebooks/H2MM_Optimization_Tutorial.ipynb>`
1010

11+
The data files can be downloaded here: :download:`sample_data_2det.txt <notebooks/sample_data_2det.txt>` :download:`sample_data_3det.txt <notebooks/sample_data_3det.txt>`
12+
13+
1114
First let's import some standard modules:
1215

1316
.. code-block::

docs/source/OBoundingTutorial.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Bounding |H2MM|
88
This can also be viewed as a Jupyter Notebook
99
Downlaod :download:`H2MM_Bounds_Tutorial-OOP.ipynb <notebooks/H2MM_Bounds_Tutorial-OOP.ipynb>`
1010

11+
The data file can be downloaded here: :download:`sample_data_3det.txt <notebooks/sample_data_3det.txt>`
12+
1113
Let's get our obligatory imports in order, this time we'll start with the 3 detector data.
1214

1315
.. code-block::

docs/source/OOptimizationTutorial.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ Basic Optimizations with H2MM_C
33

44
.. currentmodule:: H2MM_C
55

6+
.. seealso::
7+
8+
This can also be viewed as a Jupyter Notebook
9+
Downlaod :download:`H2MM_Optimization_Tutorial-OOP.ipynb <notebooks/H2MM_Optimization_Tutorial-OOP.ipynb>`
10+
11+
The data files can be downloaded here: :download:`sample_data_2det.txt <notebooks/sample_data_2det.txt>` :download:`sample_data_3det.txt <notebooks/sample_data_3det.txt>`
12+
613
First let's import some standard modules:
714

815
.. code-block::

docs/source/SecondaryControl.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ H2MM_C Secondary Control Features
88
This can also be viewed as a Jupyter Notebook
99
Downlaod :download:`H2MM_Control_Optimization.ipynb <notebooks/H2MM_Control_Optimization.ipynb>`
1010

11+
Download the data file here: :download:`sample_data_3det.txt <notebooks/sample_data_3det.txt>`
12+
1113
First, our obligatory imports and loading of 3 detector data:
1214

1315
.. code-block::

docs/source/SimTutorial.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Simulations Tutorial
88
This can also be viewed as a Jupyter Notebook
99
Downlaod :download:`H2MM_Simulation_Tutorial.ipynb <notebooks/H2MM_Simulation_Tutorial.ipynb>`
1010

11+
Download data file here: :download:`sample_data_3det.txt <notebooks/sample_data_3det.txt>`
12+
1113
The other side of H2MM_C is a set of functions for producing simulated data.
1214

1315
The simulation functions of H2MM_C are starte with :code:`sim_`.

0 commit comments

Comments
 (0)