forked from sirocco-rt/sirocco
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request sirocco-rt#1076 from smangham/issue1075-sphinx-pyp…
…rogs Document `py_progs` using Sphinx
- Loading branch information
Showing
122 changed files
with
2,105 additions
and
977 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
Python Scripts | ||
############## | ||
################################ | ||
|
||
There are several `Python` (the scripting language) scripts written to prepare input for | ||
There are several `Python` scripts written to prepare input for | ||
and analyse the output of *python* (the C code). | ||
|
||
Some of the more useful scripts/modules are documented below. Alternatively, you can generate documentation | ||
for all the scripts by navigating to :code:`docs/pydocs` and running :code:`write_docs.py`. The resulting output file can be found `here <../../pydocs/doc_index.html>`_. | ||
Some of the more useful scripts/modules are documented below. | ||
Alternatively, you can generate documentation for all the scripts by navigating to :code:`docs/pydocs` and running :code:`write_docs.py`. | ||
The resulting output file can be found `here <../../pydocs/doc_index.html>`_. | ||
|
||
.. admonition :: Warning to user | ||
The scripts documented here form an incomplete and inhomogenous list, in the sense that they have been developed by different people at different times and do not fit nicely together as a single python package. Some of the scripts should still be useful, particularly if you consult example notebookes, but use with caution! | ||
The scripts documented here form an incomplete and inhomogenous list, in the sense that they have been developed by different people at different times and do not fit nicely together as a single python package. | ||
Some of the scripts should still be useful, particularly if you consult example notebookes, but use with caution! | ||
.. todo:: Finish adding modules below. | ||
.. toctree:: | ||
:maxdepth: 2 | ||
:glob: | ||
|
||
py_progs/plotting | ||
py_progs/testing | ||
py_progs/utilities | ||
py_progs/py4py | ||
py_progs/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Macro2Simple |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
MacroCombine | ||
============ | ||
|
||
.. automodule:: MacroCombine | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Functions | ||
|
||
.. autosummary:: | ||
|
||
add_gtot | ||
plot_xsec | ||
read_phot | ||
redo_lines | ||
redo_phot | ||
reweight | ||
steer | ||
write_phot | ||
xguess | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
MakeMacro | ||
========= | ||
|
||
.. automodule:: MakeMacro | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Functions | ||
|
||
.. autosummary:: | ||
|
||
calculate_oscillator_strength | ||
doit | ||
get_collisions | ||
get_f | ||
get_levels | ||
get_lines | ||
get_phot | ||
make_phot | ||
print_elvlc | ||
write_phot | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
RedoPhot | ||
======== | ||
|
||
.. automodule:: RedoPhot | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Functions | ||
|
||
.. autosummary:: | ||
|
||
extrap | ||
plot_phot | ||
read_phot | ||
redo_one | ||
steer | ||
write_phot_tab | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Developer Tools | ||
--------------- | ||
|
||
Several scripts have been written to assist in developing and documenting **Python**. | ||
|
||
|
||
Documentation | ||
============= | ||
|
||
.. autosummary:: | ||
:toctree: development | ||
|
||
autogenerate_parameter_docs | ||
autogenerate_rtd_pages | ||
dox | ||
dox_check | ||
|
||
|
||
|
||
Development | ||
=========== | ||
|
||
.. autosummary:: | ||
:toctree: development | ||
|
||
add_param | ||
update_param | ||
run_indent | ||
init_extern | ||
make_rtheta | ||
pf_check | ||
CheckAtomic | ||
retro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
CheckAtomic | ||
=========== | ||
|
||
.. automodule:: CheckAtomic | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Functions | ||
|
||
.. autosummary:: | ||
|
||
analyze_lines | ||
doit | ||
get_element_table | ||
get_ion_tab | ||
get_level_tab | ||
get_line_tab | ||
xread | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
add\_param | ||
========== | ||
|
||
.. automodule:: add_param | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Functions | ||
|
||
.. autosummary:: | ||
|
||
do_one | ||
doit | ||
read_file | ||
read_table | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Oops, something went wrong.