Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
nghia-vo committed Sep 1, 2022
1 parent b410c3a commit 53d813a
Show file tree
Hide file tree
Showing 87 changed files with 1,667 additions and 119 deletions.
21 changes: 13 additions & 8 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
]

bibtex_bibfiles = [
'bibtex/ref.bib',
'bibtex/cite.bib'
'toc/bibtex/ref.bib',
'toc/bibtex/cite.bib'
]

# Napoleon settings
Expand Down Expand Up @@ -72,9 +72,10 @@
master_doc = 'index'

# General information about the project.
Affiliation = u'Diamond Light Source, UK'
project = u'Algotom-Reference'
copyright = u'2021, Nghia T. Vo ' + Affiliation
Affiliation1 = u' Diamond Light Source, UK'
Affiliation2 = u'; NSLS-II, Brookhaven National Lab, US'
project = u'Algotom'
copyright = u'2021, Nghia T. Vo ' + Affiliation1 + Affiliation2

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down Expand Up @@ -242,7 +243,7 @@
('index',
project + '.tex',
project + u' Documentation',
Affiliation, 'manual'),
Affiliation1 + Affiliation2, 'manual'),
]

# The name of an image file (relative to this directory) to place at the top of
Expand Down Expand Up @@ -273,7 +274,7 @@
man_pages = [
('index', project,
project + u' Documentation',
[Affiliation, ], 1)
[Affiliation1 + Affiliation2, ], 1)
]

# If true, show URL addresses after external links.
Expand All @@ -289,7 +290,7 @@
('index',
project,
project + u' Documentation',
Affiliation,
Affiliation1 + Affiliation2,
project,
'Algotom'),
]
Expand Down Expand Up @@ -319,3 +320,7 @@
'scipy'
]
autodoc_member_order = 'bysource'


numfig = True
numfig_secnum_depth = 2
1 change: 0 additions & 1 deletion docs/source/credits.rst

This file was deleted.

Binary file added docs/source/favicon.ico
Binary file not shown.
6 changes: 0 additions & 6 deletions docs/source/features.rst

This file was deleted.

Binary file removed docs/source/img/logo2.png
Binary file not shown.
Binary file removed docs/source/img/thumbnail.png
Binary file not shown.
57 changes: 24 additions & 33 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
@@ -1,40 +1,31 @@
.. image:: img/logo.png
:width: 30%
:align: right
.. figure:: toc/figs/logo.jpg
:figwidth: 35 %
:align: right

=======
Algotom
=======
Data processing algorithms for tomography
=========================================

Data processing (**ALGO**)rithms for (**TOM**)ography
Welcome to Algotom's documentation about data processing algorithms for tomography.
This documentation is not only to explain functions available in the Algotom
package but also to present tomography-related tutorials,
technical notes, and applications.

**Algotom** is a Python package implementing methods for processing tomographic
data acquired by non-standard scanning techniques such as grid scans, helical
scans, half-acquisition scans, or their combinations. Certainly, Algotom can
also be used for standard scans. The software includes methods in a full
pipeline of data processing: reading-writing data, pre-processing, tomographic
reconstruction, post-processing, and data simulation. Many utility methods are
provided to help users quickly develop prototype-methods or build a pipeline for
processing their own data. From version 1.1, methods for speckle-based phase-contrast
tomography were added to the package.
**Source code:** https://github.com/algotom/algotom

The software is made available for the paper in :cite:`Vo:21`.

**Source Code:** https://github.com/algotom/algotom

**Documentation main page:** https://algotom.github.io

This page is for Algotom functions reference.

Content
-------
Table of Contents
=================

.. toctree::
:maxdepth: 1
:numbered:
:maxdepth: 4

toc/section1
toc/section2
toc/section3
toc/section4
toc/section5
toc/section6
toc/api
toc/credits
toc/highlights

api
install
usage
features
highlights
credits
7 changes: 0 additions & 7 deletions docs/source/install.rst

This file was deleted.

27 changes: 13 additions & 14 deletions docs/source/api.rst → docs/source/toc/api.rst
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
=============
API reference
API Reference
=============

1. Input-output
---------------
Input-output
------------

.. toctree::
api/algotom.io.converter
api/algotom.io.loadersaver

2. Pre-processing
-----------------
Pre-processing
--------------

.. toctree::

Expand All @@ -21,28 +20,28 @@ API reference
api/algotom.prep.removal
api/algotom.prep.phase

3. Reconstruction
-----------------
Reconstruction
--------------

.. toctree::
api/algotom.rec.reconstruction

4. Post-processing
------------------
Post-processing
---------------

.. toctree::
api/algotom.post.postprocessing

5. Utility
----------
Utility
-------

.. toctree::
api/algotom.util.calibration
api/algotom.util.simulation
api/algotom.util.utility
api/algotom.util.correlation

.. automodule:: algotom
:members:
:undoc-members:
:show-inheritance:
:show-inheritance:
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:mod:`algotom.util.correlation`
==============================
===============================

.. automodule:: algotom.util.correlation
:members:
Expand All @@ -11,8 +11,8 @@
.. autosummary::

normalize_image
generate_correlation_map
locate_peak
find_shift_based_correlation_map
find_local_shifts
find_global_shift_based_local_shifts
generate_correlation_map
locate_peak
find_shift_based_correlation_map
find_local_shifts
find_global_shift_based_local_shifts
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
25 changes: 25 additions & 0 deletions docs/source/toc/credits.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Credits
=======

Citations
---------

If Algotom is useful for your project, citing the following article :cite:`Vo:21` is very much
appreciated.

.. bibliography:: bibtex/cite.bib
:style: plain
:labelprefix: R

Algorithms, methods, or techniques implemented in a scientific software package
are crucial for its success. This is the same for Algotom. Acknowledging
algorithms you use through Algotom is also very much appreciated.


References
----------

.. bibliography:: bibtex/ref.bib
:style: unsrt
:labelprefix: M
:all:
Binary file added docs/source/toc/figs/logo.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes.
8 changes: 8 additions & 0 deletions docs/source/toc/section1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Basic tutorials
===============

.. toctree::
section1/section1_1.rst
section1/section1_2.rst
section1/section1_3.rst
section1/section1_4.rst

0 comments on commit 53d813a

Please sign in to comment.