Skip to content

Commit

Permalink
Update installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Allard Hendriksen committed May 10, 2019
1 parent 7e1200b commit 73ba1de
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 68 deletions.
27 changes: 16 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ is required.
To install this package, use conda and clone this GitHub project.
To install the package into a new conda environment named `otf`, execute the following in the terminal:
```
conda create -y -n otf python=3.6
conda create -n otf python=3.6
source activate otf
conda install -c astra-toolbox/label/dev -c aahendriksen -c pytorch -c conda-forge -c owlas \
msd_pytorch \
cudatoolkit=9.0 \
flexdata \
tomopy \
dxchange \
astra-toolbox=1.9.0.dev10 \
cone_balls=0.2.2
msd_pytorch \
cudatoolkit=9.0 \
flexdata \
tomopy \
dxchange \
astra-toolbox=1.9.0.dev10 \
cone_balls=0.2.2
conda install h5py ipython matplotlib numexpr pyopengl pyqtgraph scikit-image tqdm
# Now install the package using pip
Expand All @@ -55,13 +55,15 @@ examples
├── cone_foam_fast
│   ├── cone_balls_spec.txt
│   ├── geometries
│   ── Makefile
│   ── Makefile
├── cone_foam_full
│   ├── cone_balls_spec.txt
│   └── geometries
│   ├── geometries
│   └── Makefile
└── cone_foam_just_roi
├── cone_balls_spec.txt
└── geometries
├── geometries
└── Makefile
```

The examples directory contains three directories with a Makefile. The
Expand Down Expand Up @@ -147,6 +149,9 @@ make test/output-msd-A9/.dirstamp
make test/output-bicubic/.dirstamp
```

Another option is to bicubically upsample the whole volume. This is
performed on the last line.

## Authors and contributors

* **Allard Hendriksen** - *Initial work*
Expand Down
41 changes: 16 additions & 25 deletions docs/_sources/readme.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,6 @@ machine learning for improving image resolution in tomography".
* Documentation: [https://ahendriksen.github.io/on_the_fly]


## Readiness

The author of this package is in the process of setting up this
package for optimal usability. The following has already been completed:

- [ ] Documentation
- A package description has been written in the README
- Documentation has been generated using `make docs`, committed,
and pushed to GitHub.
- GitHub pages have been setup in the project settings
with the "source" set to "master branch /docs folder".

## Getting Started

It takes a few steps to setup On the fly machine learning for improving image resolution in tomography on your
Expand All @@ -38,16 +26,16 @@ is required.
To install this package, use conda and clone this GitHub project.
To install the package into a new conda environment named `otf`, execute the following in the terminal:
```
conda create -y -n otf python=3.6
conda create -n otf python=3.6
source activate otf
conda install -c astra-toolbox/label/dev -c aahendriksen -c pytorch -c conda-forge -c owlas \
msd_pytorch \
cudatoolkit=9.0 \
flexdata \
tomopy \
dxchange \
astra-toolbox=1.9.0.dev10 \
cone_balls=0.2.2
msd_pytorch \
cudatoolkit=9.0 \
flexdata \
tomopy \
dxchange \
astra-toolbox=1.9.0.dev10 \
cone_balls=0.2.2
conda install h5py ipython matplotlib numexpr pyopengl pyqtgraph scikit-image tqdm

# Now install the package using pip
Expand All @@ -67,13 +55,15 @@ examples
├── cone_foam_fast
│   ├── cone_balls_spec.txt
│   ├── geometries
│   ── Makefile
│   ── Makefile
├── cone_foam_full
│   ├── cone_balls_spec.txt
│   └── geometries
│   ├── geometries
│   └── Makefile
└── cone_foam_just_roi
├── cone_balls_spec.txt
└── geometries
├── geometries
└── Makefile
```

The examples directory contains three directories with a Makefile. The
Expand Down Expand Up @@ -159,6 +149,9 @@ make test/output-msd-A9/.dirstamp
make test/output-bicubic/.dirstamp
```

Another option is to bicubically upsample the whole volume. This is
performed on the last line.

## Authors and contributors

* **Allard Hendriksen** - *Initial work*
Expand All @@ -167,8 +160,6 @@ See also the list of [contributors](https://github.com/ahendriksen/on_the_fly/co

## How to contribute

Contributions are always welcome. Please submit pull requests against the `master` branch.

If you have any issues, questions, or remarks, then please open an issue on GitHub.

## License
Expand Down
Binary file modified docs/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/doctrees/readme.doctree
Binary file not shown.
1 change: 0 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ <h1>Welcome to the documentation of On the fly machine learning for improving im
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="readme.html">On-the-fly machine learning for improving image resolution in tomography</a><ul>
<li class="toctree-l2"><a class="reference internal" href="readme.html#readiness">Readiness</a></li>
<li class="toctree-l2"><a class="reference internal" href="readme.html#getting-started">Getting Started</a></li>
<li class="toctree-l2"><a class="reference internal" href="readme.html#authors-and-contributors">Authors and contributors</a></li>
<li class="toctree-l2"><a class="reference internal" href="readme.html#how-to-contribute">How to contribute</a></li>
Expand Down
44 changes: 15 additions & 29 deletions docs/readme.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@

<ul class="current">
<li class="toctree-l1 current"><a class="current reference internal" href="#">On-the-fly machine learning for improving image resolution in tomography</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#readiness">Readiness</a></li>
<li class="toctree-l2"><a class="reference internal" href="#getting-started">Getting Started</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#requirements">Requirements</a></li>
<li class="toctree-l3"><a class="reference internal" href="#installing">Installing</a></li>
Expand Down Expand Up @@ -175,22 +174,6 @@ <h1>On-the-fly machine learning for improving image resolution in tomography<a c
<li><p>Free software: GNU General Public License v3</p></li>
<li><p>Documentation: [https://ahendriksen.github.io/on_the_fly]</p></li>
</ul>
<div class="section" id="readiness">
<h2>Readiness<a class="headerlink" href="#readiness" title="Permalink to this headline"></a></h2>
<p>The author of this package is in the process of setting up this
package for optimal usability. The following has already been completed:</p>
<ul class="simple">
<li><p>[ ] Documentation</p>
<ul>
<li><p>A package description has been written in the README</p></li>
<li><p>Documentation has been generated using <code class="docutils literal notranslate"><span class="pre">make</span> <span class="pre">docs</span></code>, committed,
and pushed to GitHub.</p></li>
<li><p>GitHub pages have been setup in the project settings
with the “source” set to “master branch /docs folder”.</p></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="getting-started">
<h2>Getting Started<a class="headerlink" href="#getting-started" title="Permalink to this headline"></a></h2>
<p>It takes a few steps to setup On the fly machine learning for improving image resolution in tomography on your
Expand All @@ -207,16 +190,16 @@ <h3>Requirements<a class="headerlink" href="#requirements" title="Permalink to t
<h3>Installing<a class="headerlink" href="#installing" title="Permalink to this headline"></a></h3>
<p>To install this package, use conda and clone this GitHub project.
To install the package into a new conda environment named <code class="docutils literal notranslate"><span class="pre">otf</span></code>, execute the following in the terminal:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">conda</span> <span class="n">create</span> <span class="o">-</span><span class="n">y</span> <span class="o">-</span><span class="n">n</span> <span class="n">otf</span> <span class="n">python</span><span class="o">=</span><span class="mf">3.6</span>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">conda</span> <span class="n">create</span> <span class="o">-</span><span class="n">n</span> <span class="n">otf</span> <span class="n">python</span><span class="o">=</span><span class="mf">3.6</span>
<span class="n">source</span> <span class="n">activate</span> <span class="n">otf</span>
<span class="n">conda</span> <span class="n">install</span> <span class="o">-</span><span class="n">c</span> <span class="n">astra</span><span class="o">-</span><span class="n">toolbox</span><span class="o">/</span><span class="n">label</span><span class="o">/</span><span class="n">dev</span> <span class="o">-</span><span class="n">c</span> <span class="n">aahendriksen</span> <span class="o">-</span><span class="n">c</span> <span class="n">pytorch</span> <span class="o">-</span><span class="n">c</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="o">-</span><span class="n">c</span> <span class="n">owlas</span> \
<span class="n">msd_pytorch</span> \
<span class="n">cudatoolkit</span><span class="o">=</span><span class="mf">9.0</span> \
<span class="n">flexdata</span> \
<span class="n">tomopy</span> \
<span class="n">dxchange</span> \
<span class="n">astra</span><span class="o">-</span><span class="n">toolbox</span><span class="o">=</span><span class="mf">1.9</span><span class="o">.</span><span class="mf">0.</span><span class="n">dev10</span> \
<span class="n">cone_balls</span><span class="o">=</span><span class="mf">0.2</span><span class="o">.</span><span class="mi">2</span>
<span class="n">msd_pytorch</span> \
<span class="n">cudatoolkit</span><span class="o">=</span><span class="mf">9.0</span> \
<span class="n">flexdata</span> \
<span class="n">tomopy</span> \
<span class="n">dxchange</span> \
<span class="n">astra</span><span class="o">-</span><span class="n">toolbox</span><span class="o">=</span><span class="mf">1.9</span><span class="o">.</span><span class="mf">0.</span><span class="n">dev10</span> \
<span class="n">cone_balls</span><span class="o">=</span><span class="mf">0.2</span><span class="o">.</span><span class="mi">2</span>
<span class="n">conda</span> <span class="n">install</span> <span class="n">h5py</span> <span class="n">ipython</span> <span class="n">matplotlib</span> <span class="n">numexpr</span> <span class="n">pyopengl</span> <span class="n">pyqtgraph</span> <span class="n">scikit</span><span class="o">-</span><span class="n">image</span> <span class="n">tqdm</span>

<span class="c1"># Now install the package using pip</span>
Expand All @@ -235,13 +218,15 @@ <h3>Running the examples<a class="headerlink" href="#running-the-examples" title
├── cone_foam_fast
│   ├── cone_balls_spec.txt
│   ├── geometries
│   ── Makefile
│   ── Makefile
├── cone_foam_full
│   ├── cone_balls_spec.txt
│   └── geometries
│   ├── geometries
│   └── Makefile
└── cone_foam_just_roi
├── cone_balls_spec.txt
└── geometries
├── geometries
└── Makefile
</pre></div>
</div>
<p>The examples directory contains three directories with a Makefile. The
Expand Down Expand Up @@ -318,6 +303,8 @@ <h3>Testing<a class="headerlink" href="#testing" title="Permalink to this headli
make test/output-bicubic/.dirstamp
</pre></div>
</div>
<p>Another option is to bicubically upsample the whole volume. This is
performed on the last line.</p>
</div>
</div>
<div class="section" id="authors-and-contributors">
Expand All @@ -329,7 +316,6 @@ <h2>Authors and contributors<a class="headerlink" href="#authors-and-contributor
</div>
<div class="section" id="how-to-contribute">
<h2>How to contribute<a class="headerlink" href="#how-to-contribute" title="Permalink to this headline"></a></h2>
<p>Contributions are always welcome. Please submit pull requests against the <code class="docutils literal notranslate"><span class="pre">master</span></code> branch.</p>
<p>If you have any issues, questions, or remarks, then please open an issue on GitHub.</p>
</div>
<div class="section" id="license">
Expand Down
2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
requirements = [
# Add your project's requirements here, e.g.,
# 'astra-toolbox',
# 'sacred>=0.7.2',
'sacred>=0.7.2',
# 'tables==3.4.4',
]

Expand Down

0 comments on commit 73ba1de

Please sign in to comment.