-
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 #19 from CSymes/develop
Release v1.0.1
- Loading branch information
Showing
9 changed files
with
100 additions
and
73 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# quickDDM [![Build Status](https://dev.azure.com/s3550167/quickDDM/_apis/build/status/CSymes.quickDDM?branchName=develop)](https://dev.azure.com/s3550167/quickDDM/_build/latest?definitionId=1&branchName=develop) | ||
Efficient processing of Differential Dynamic Microscopy (DDM) allowing both | ||
traditional CPU-based and GPU-accelerated processing, with a GUI for analysis. | ||
traditional CPU-based, and GPU-accelerated processing, with a GUI for analysis. | ||
|
||
## Contributors | ||
Cary Symes ([email protected]) | ||
|
@@ -21,26 +21,40 @@ matplotlib==3.0.3 | |
numpy==1.16.2 | ||
opencv-python==4.0.0.21 | ||
Pillow==6.0.0 | ||
scipy==1.3.0 | ||
[Optionally for OpenCL utilisation] | ||
pyopencl==2018.2.5 | ||
reikna==0.7.2 | ||
scipy==1.3.0 | ||
``` | ||
|
||
These may be installed easily by running `pip install -r requirements.txt` | ||
from in the source directory, assuming pip is already installed. | ||
It is recommended that a virtual environment is used to separate this from the | ||
system environment. | ||
|
||
## Running | ||
|
||
To launch the UI from the command line, navigate to the 'quickDDM' directory | ||
within the source directory and execute `python ui_tk.py`. Alternativly, | ||
download and run a binary build from [Releases](https://github.com/CSymes/quickDDM/releases) | ||
To launch the UI from the command line, navigate to the project directory | ||
and execute `python launcher.py`. | ||
Alternatively, download and run a binary build from | ||
[Releases](https://github.com/CSymes/quickDDM/releases) | ||
or a build artifact from [Azure](dev.azure.com/s3550167/quickDDM/_build). | ||
|
||
## Testing | ||
|
||
There are a series of tests in the `tests` directory. | ||
They can be run by calling | ||
`python -m unittest [-v]`. | ||
Individual tests may be run as such: | ||
(e.g.) `python -m unittest tests.testFourierTransforms` | ||
|
||
## Building | ||
|
||
If you need a binary build, run `publish.py` from the project root. | ||
Creates a portable executable `ui_tk.exe` in a `dist` folder, with all | ||
necessary libraries bundled. | ||
Creates a portable build of the program in a `dist` folder, with all | ||
necessary libraries bundled. It can be run by executing the `quickDDM.exe` | ||
file inside it. | ||
Requires the `PyInstaller` packaged to be installed. | ||
|
||
## Credits | ||
|
@@ -55,6 +69,6 @@ The flow of "sequentialChunkerMain" in "processingCore.py" and | |
"sequentialGPUChunker" in "gpuCore.py" in paricular are | ||
closely based on the GPU memory management technique detailed therein. | ||
|
||
Our understanding of the core process was heaviy informed by: | ||
Our understanding of the core process was heavily informed by: | ||
L. G. Wilson et al., "Differential Dynamic Microscopy of Bacterial Motility," | ||
Physical Review Letters, vol. 106, no. 1, p. 4, Jan 2011. |
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,14 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
#quickDDM.py | ||
''' | ||
Program launcher | ||
@created: 2019-06-22 | ||
@author: Cary | ||
''' | ||
|
||
if __name__ == '__main__': | ||
from quickDDM.ui_tk import launch | ||
|
||
print('Launching TK-based UI') | ||
launch() |
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 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