Skip to content

Commit df6b704

Browse files
authored
Merge branch 'master' into dash-cytoscape-phylogeny
2 parents 14a9d15 + 8f81b33 commit df6b704

File tree

17 files changed

+4236
-0
lines changed

17 files changed

+4236
-0
lines changed

apps/dash-daq-iv-tracer/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*.pyc
2+
.DS_Store
3+
venv/
4+
venv
5+
.vscode/settings.json

apps/dash-daq-iv-tracer/Procfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: gunicorn --pythonpath apps/dash-daq-iv-tracer demo:server

apps/dash-daq-iv-tracer/README.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# Dash DAQ IV Curve Tracer
2+
3+
Dash abstracts away all of the technologies and protocols required to build an interactive web-based application, and
4+
is a simple and effective way to bind a user interface around your Python code. To learn more about Dash, check out our
5+
[documentation](https://dash.plot.ly/).
6+
7+
## About the app
8+
9+
`dash-daq-iv-tracer` uses the graphic elements of Dash DAQ to create an interface for acquiring current-voltage I-V curves with a Keithley 2400 SourceMeter.
10+
[Try this demo app](https://github.com/plotly/dash-sample-apps/tree/master/apps/dash-daq-iv-tracer) on the Dash Deployment Server], and read more about the code in [our blog post](https://www.dashdaq.io/build-an-i-v-curve-tracer-with-a-keithley-2400-sourcemeter-in-python).
11+
12+
### IV Curves
13+
14+
I-V curve is a good way to characterize electronic components (diode, transistor or solar cells) and extract their operating properties. It is widely used in electrical engineering and physics.
15+
The Keithley 2400 SourceMeter provides precision voltage and current sourcing as well as measurement.
16+
17+
### dash-daq
18+
19+
[Dash-DAQ](http://dash-daq.netlify.com/#about) is a data acquisition and control package built on top of Plotly's
20+
[Dash](https://plot.ly/products/dash/). It comprises a robust set of controls that make it simpler to integrate data
21+
acquisition and controls into your Dash applications.
22+
23+
## Getting Started
24+
25+
### Controls
26+
27+
- Single measurement mode: Adjust the value of the source with the knob at the bottom of the graph area and click on the `SINGLE MEASURE` button, the measured value will be displayed. Repetition of this procedure for different source values will reveal the full IV curve.
28+
29+
- Sweep mode: Set the sweep parameters `start`, `stop` and `step` as well as the timevspent on each step, then click on the button `START SWEEP`, the result of the sweep will be displayed on the graph. The data is never erased unless the button `CLEAR GRAPH` is pressed, or if the source type is changed.
30+
31+
- Dark/light theme: Click on theme toggle on top of the page to view dark/light layout.
32+
33+
### Running the app locally
34+
35+
First create a virtual environment with conda or venv inside a temp folder, then activate it.
36+
37+
```
38+
virtualenv venv
39+
40+
# Windows
41+
venv\Scripts\activate
42+
# Or Linux
43+
source venv/bin/activate
44+
45+
```
46+
47+
Clone the git repo, then install the requirements with pip
48+
49+
```
50+
51+
git clone https://github.com/plotly/dash-sample-apps
52+
cd dash-sample-apps/apps/dash-daq-iv-tracer
53+
pip install -r requirements.txt
54+
55+
```
56+
57+
Run the app
58+
59+
```
60+
61+
python demo.py
62+
63+
```
64+
65+
## Screenshots
66+
67+
![IV Curve Tracer](screenshots/iv-tracer-screenshot.png)
68+
69+
![IV Curve Tracer](screenshots/iv-tracer-dark.png)
70+
71+
![animated](screenshots/iv-tracer-demo.gif)

0 commit comments

Comments
 (0)