-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Broke large modules into multiple files. Fixed broken demo notebooks. Added Azure Pipelines as a CI service. Used YAPF to format all code.
- Loading branch information
Showing
46 changed files
with
2,406 additions
and
1,933 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Python package | ||
# Create and test a Python package on multiple Python versions. | ||
# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more: | ||
# https://docs.microsoft.com/azure/devops/pipelines/languages/python | ||
|
||
jobs: | ||
|
||
- job: 'Test' | ||
pool: | ||
vmImage: 'Ubuntu-16.04' | ||
strategy: | ||
matrix: | ||
Python35: | ||
python.version: '3.5' | ||
Python36: | ||
python.version: '3.6' | ||
Python37: | ||
python.version: '3.7' | ||
maxParallel: 4 | ||
|
||
steps: | ||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: '$(python.version)' | ||
architecture: 'x64' | ||
|
||
- script: python -m pip install --upgrade pip && pip install -r requirements.txt nose python-coveralls | ||
displayName: 'Install dependencies' | ||
|
||
- script: python setup.py install | ||
displayName: 'Install XDesign' | ||
|
||
- script: nosetests | ||
displayName: 'nosetests' |
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,14 @@ | ||
API | ||
=== | ||
|
||
.. rubric:: **XDesign Modules:** | ||
|
||
.. toctree:: | ||
|
||
api/xdesign.acquisition | ||
api/xdesign.algorithms | ||
api/xdesign.geometry | ||
api/xdesign.constants | ||
api/xdesign.formats | ||
api/xdesign.material | ||
api/xdesign.metrics | ||
api/xdesign.phantom | ||
api/xdesign.plot | ||
API Documentation | ||
================= | ||
|
||
.. automodule:: xdesign | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
.. toctree:: | ||
:maxdepth: 4 | ||
:hidden: | ||
:glob: | ||
|
||
api/* |
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 |
---|---|---|
|
@@ -2,3 +2,6 @@ | |
======================== | ||
|
||
.. automodule:: xdesign.constants | ||
:members: | ||
:show-inheritance: | ||
:undoc-members: |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,59 @@ | ||
:mod:`xdesign.phantom` | ||
======================= | ||
====================== | ||
|
||
.. automodule:: xdesign.phantom | ||
:members: | ||
:show-inheritance: | ||
:undoc-members: | ||
|
||
.. rubric:: **Classes:** | ||
|
||
.. autosummary:: | ||
|
||
Phantom | ||
save_phantom | ||
load_phantom | ||
pickle_phantom | ||
unpickle_phantom | ||
XDesignDefault | ||
HyperbolicConcentric | ||
DynamicRange | ||
DogaCircles | ||
SlantedSquares | ||
UnitCircle | ||
Soil | ||
WetCircles | ||
SiemensStar | ||
Foam | ||
Softwood | ||
:members: | ||
:show-inheritance: | ||
:undoc-members: | ||
|
||
|
||
Phantoms | ||
-------- | ||
|
||
.. automodule:: xdesign.phantom.phantom | ||
:members: | ||
:show-inheritance: | ||
:undoc-members: | ||
|
||
.. autosummary:: | ||
|
||
Phantom | ||
save_phantom | ||
load_phantom | ||
pickle_phantom | ||
unpickle_phantom | ||
|
||
|
||
Standard phantoms | ||
----------------- | ||
|
||
.. automodule:: xdesign.phantom.standards | ||
:members: | ||
:show-inheritance: | ||
:undoc-members: | ||
|
||
.. autosummary:: | ||
|
||
XDesignDefault | ||
HyperbolicConcentric | ||
DynamicRange | ||
DogaCircles | ||
SlantedSquares | ||
UnitCircle | ||
SiemensStar | ||
|
||
|
||
Custom phantoms | ||
--------------- | ||
|
||
.. automodule:: xdesign.phantom.custom | ||
:members: | ||
:show-inheritance: | ||
:undoc-members: | ||
|
||
.. autosummary:: | ||
|
||
Soil | ||
WetCircles | ||
Foam | ||
Softwood |
4 changes: 2 additions & 2 deletions
4
docs/source/api/xdesign.algorithms.rst → docs/source/api/xdesign.recon.rst
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
Oops, something went wrong.