-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mayor improvements in the documentation. First steps in Dispertech ex…
…periment model
- Loading branch information
Showing
91 changed files
with
932 additions
and
737 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# http://editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
end_of_line = lf | ||
charset = utf-8 | ||
|
||
# Docstrings and comments use max_line_length = 79 | ||
[*.py] | ||
max_line_length = 119 | ||
|
||
[*.rst] | ||
indent_size = 3 | ||
|
||
# Use 2 spaces for the HTML files | ||
[*.html] | ||
indent_size = 2 | ||
|
||
# The JSON files contain newlines inconsistently | ||
[*.json] | ||
indent_size = 2 | ||
insert_final_newline = false | ||
|
||
# Makefiles always use tabs for indentation | ||
[Makefile] | ||
indent_style = tab | ||
|
||
# Batch files use tabs for indentation | ||
[*.bat] | ||
indent_style = 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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Authors | ||
------- | ||
|
||
Aquiles Carattino <aquiles@aquicarattino.com> | ||
Aquiles Carattino <aquiles@uetke.com> | ||
Sanli Faez <[email protected]> |
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,72 @@ | ||
%YAML 1.2 | ||
--- | ||
# Default parameters for the Tracking program | ||
# All parameters can be changed to accommodate user needs. | ||
# All parameters can be changed at runtime with the appropriate config window | ||
user: | ||
name: Aquiles | ||
|
||
saving: | ||
auto_save: False | ||
auto_save_waterfall: True | ||
directory: C:\Users\carat002\Data | ||
filename_video: Video # Can be the same filename for video and photo | ||
filename_photo: Snap | ||
filename_tracks: Tracks | ||
filename_waterfall: Waterfall | ||
filename_trajectory: Trajectory | ||
filename_log: Log | ||
max_memory: 200 # In megabytes | ||
|
||
GUI: | ||
length_waterfall: 20 # Total length of the Waterfall (lines) | ||
refresh_time: 50 # Refresh rate of the GUI (in ms) | ||
|
||
camera: | ||
model: dummy_camera # Should be a python file in model/cameras | ||
init: 0 # Initial arguments to pass when creating the camera | ||
#extra_args: [extra, arguments] # Extra arguments that can be passed when constructing the model | ||
model_camera: Orca Flash # To keep a registry of which camera was used in the experiment | ||
exposure_time: 30ms # Initial exposure time (in ms) | ||
fps: 30 # Frames per second, should either be defined by the camera or within the model based on timing | ||
binning_x: 1 # Binning | ||
binning_y: 1 | ||
roi_x1: 0 | ||
roi_x2: 599 | ||
roi_y1: 0 | ||
roi_y2: 399 | ||
background: '' # Full path to background file, or empty for none. | ||
background_method: [Method1, Method2] | ||
|
||
waterfall: # Parameters for calculating the waterfall plot | ||
length: 20 # The total length of the waterfall (lines) | ||
vertical_bin: 10 # Total number of lines of the CCD to integrate | ||
|
||
movie: | ||
buffer_length: 1000 # Frames | ||
|
||
tracking: | ||
locate: | ||
diameter: 11 # Diameter of the particles (in pixels) to track, has to be an odd number | ||
invert: False | ||
minmass: 100 | ||
link: | ||
memory: 3 | ||
search_range: 4 | ||
filter: # Filter spurious trajectories | ||
min_length: 25 | ||
process: | ||
compute_drift: False | ||
um_pixel: 0.01 # Microns per pixel (calibration of the microscope) | ||
min_traj_length: 2 | ||
min_mass: 0.05 | ||
max_size: 50.0 | ||
max_ecc: 1 | ||
fps: 30 | ||
param_1: 0. | ||
param_2: 0 | ||
|
||
debug: | ||
logging_level: Nothing # One of Nothing, Debug, Info, Warning, Error | ||
queue_memory: False | ||
to_screen: True |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,4 @@ | ||
.. automodule:: pynta.controller.devices.hamamatsu.hamamatsu_camera | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
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,13 @@ | ||
.. automodule:: pynta.controller.devices | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: List of available devices | ||
|
||
hamamatsu | ||
keysight | ||
photonicscience |
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,7 @@ | ||
Keysight | ||
======== | ||
|
||
.. automodule:: pynta.controller.devices.keysight.infiniivision | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
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,4 @@ | ||
.. automodule:: pynta.controller.devices.photonicscience.scmoscam | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
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,13 @@ | ||
Pynta Controllers | ||
================= | ||
|
||
.. automodule:: pynta.controller | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:caption: Contents | ||
|
||
devices/index |
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,4 @@ | ||
.. automodule:: pynta.model.cameras.base_camera | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
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,4 @@ | ||
.. automodule:: pynta.model.cameras.basler | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
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,4 @@ | ||
.. automodule:: pynta.model.cameras.dummy_camera | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
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,4 @@ | ||
.. automodule:: pynta.model.cameras.hamamatsu | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
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,16 @@ | ||
Camera Models | ||
============= | ||
.. automodule:: pynta.model.cameras | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
base_camera | ||
simulate_brownian | ||
dummy_camera | ||
basler | ||
hamamatsu | ||
psi |
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,4 @@ | ||
.. automodule:: pynta.model.cameras.psi | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
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,4 @@ | ||
.. automodule:: pynta.model.cameras.simulate_brownian | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
29 changes: 8 additions & 21 deletions
29
docs/developers/pynta.model.daqs.rst → docs/developers/model/daqs/index.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,25 @@ | ||
pynta.model.daqs package | ||
======================== | ||
|
||
Submodules | ||
---------- | ||
|
||
pynta.model.daqs.NI module | ||
-------------------------- | ||
|
||
.. automodule:: pynta.model.daqs.NI | ||
Data Acquisition Cards Models | ||
============================= | ||
.. automodule:: pynta.model.daqs | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
pynta.model.daqs.daq\_dummy module | ||
---------------------------------- | ||
Available DAQS | ||
--------------- | ||
|
||
.. automodule:: pynta.model.daqs.daq_dummy | ||
.. automodule:: pynta.model.daqs.NI | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
pynta.model.daqs.skeleton module | ||
-------------------------------- | ||
|
||
.. automodule:: pynta.model.daqs.skeleton | ||
.. automodule:: pynta.model.daqs.daq_dummy | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: pynta.model.daqs | ||
.. automodule:: pynta.model.daqs.skeleton | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
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,4 @@ | ||
.. automodule:: pynta.model.experiment.dispertech.fiber_tracking | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
37 changes: 15 additions & 22 deletions
37
docs/developers/pynta.model.experiment.rst → docs/developers/model/experiments/index.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,38 @@ | ||
pynta.model.experiment package | ||
============================== | ||
|
||
Subpackages | ||
----------- | ||
Model for Experiments | ||
===================== | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:caption: Available Experiments | ||
|
||
pynta.model.experiment.nano_cet | ||
|
||
Submodules | ||
---------- | ||
fiber_tracking | ||
np_tracking | ||
|
||
pynta.model.experiment.base\_experiment module | ||
---------------------------------------------- | ||
.. automodule:: pynta.model.experiment | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
.. automodule:: pynta.model.experiment.base_experiment | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
pynta.model.experiment.publisher module | ||
--------------------------------------- | ||
|
||
.. automodule:: pynta.model.experiment.publisher | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
pynta.model.experiment.subscriber module | ||
---------------------------------------- | ||
|
||
.. automodule:: pynta.model.experiment.subscriber | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: pynta.model.experiment | ||
.. automodule:: pynta.model.experiment.config | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
|
||
|
||
|
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,4 @@ | ||
.. automodule:: pynta.model.experiment.nanoparticle_tracking.np_tracking | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
Oops, something went wrong.