planktoscope/scripts
2020-10-07 12:22:52 +02:00
..
planktoscope segmenter: bugfixes 2020-10-07 12:22:52 +02:00
main.py Extraction and refactor of the python code from node-red flow 2020-09-28 11:05:27 +02:00
README.md update README.md 2020-02-09 00:20:14 -08:00


Focusing

focus.py nb_step orientation
  • nb_step : integer (from 1 to 100000) - number of step to perform by the stage (about 31um/step)
  • orientation : string - orientation of the focus either up or down

Example:

python3.7 $HOME/PlanktonScope/scripts/focus.py 650 up

Pumping

pump.py volume flowrate action
  • volume : integer
  • flowrate : float
  • action : string

Example:

python3.7 $HOME/PlanktonScope/scripts/pump.py 1 10 suck

Image

image.py in_path sample_project sample_id acq_id volume flowrate
  • in_path : string - directory to store acquisitions the path has to end with /
  • sample_project : string
  • sample_id : string
  • acq_id : string
  • volume : integer
  • flowrate : float

Example:

python3.7 $HOME/PlanktonScope/scripts/image.py $HOME/PlanktonScope/Acquisitions/ tara_pacific station_125 exp_1 24 3.2

Light

light.py state
  • state : string - on OR off

Example:

python3.7 $HOME/PlanktonScope/scripts/light.py on

Fan

fan.py state
  • state : string - on OR off

Example:

python3.7 $HOME/PlanktonScope/scripts/fan.py on