- Name
- elf_commander_python
- Version
- 2.0.0
- License
- BSD
- URL
- https://github.com/janelia-python/elf_commander_python
- Author
- Peter Polidoro
- peter@polidoro.io
This Python package (elfcommander) creates a class named ElfCommander to communcate with and control the Janelia Elf. The Elf uses two hardware control devices, the mixed_signal_controller modular_device, and the bioshake_device. The mixed_signal_controller both switches the valves and reads the analog signals from the cylinder hall effect sensors. The bioshake_device controls the heater/shaker.
Open a terminal and enter:
source ~/virtualenvs/elfcommander/bin/activate
elfcommander example_calibration.yaml example_config.yaml
https://github.com/janelia-python/python_setup
Open a terminal and enter:
sudo apt-get install git python-pip python-virtualenv python-dev build-essential -y
Open a terminal and enter:
mkdir ~/git
cd ~/git
git clone https://github.com/janelia-idf/elf_config.git
git clone https://github.com/janelia-idf/elf.git
cd elf
git submodule init
git submodule update
cd ~
mkdir ~/virtualenvs
cd ~/virtualenvs
virtualenv elfcommander
source ~/virtualenvs/elfcommander/bin/activate
pip install elfcommander
On linux, you may need to add yourself to the group ‘dialout’ in order to have write permissions on the USB port:
Open a terminal and enter:
sudo usermod -aG dialout $USER
sudo reboot
Open a terminal and enter:
virtualenv C:\virtualenvs\elfcommander
C:\virtualenvs\elfcommander\Scripts\activate
pip install ipython
pip install elfcommander