Copyright 2006-2010 BIOPAC Systems, Inc.
All Rights Reserved
This directory contains a Python language binding for the AcqKnowledge
network data transfer feature and several example programs illustrating
how to use this language binding to process data in Python applications
as it is being acquired by AcqKnowledge.
The language binding and sample applications are written for the
Python 2.x language and tested on Python 2.3 and higher. Programmers
using Python 3 will need to convert these files to make them compatible
with the incompatible language changes included in that langauge version.
The following example programs are available in the source/ directory:
simplesample.py
Loads a graph template into AcqKnowledge and starts the data
acquisition. Does not process any data within Python, rather
showing basics of locating an AcqKnoweldge server and issuing
rudimentary requests.
singleconnection.py
MP150 required.
Loads a graph template, prints the contents of data received
from AcqKnowledge to the console, and writes one channel of
data into a raw data file on disk. Illustrates basic
communication and data processing using the 'single' transfer
mode. Also illustrates usage of variable sampling rates.
multiconnect.py
MP150 required.
Loads a graph template and writes all channels of data to raw
binary files on disk. On Mac OS X, prints the received data
to the console. Illustrates basic communication and data
processing using the 'multiple' transfer mode, that is,
one network connection and one thread for each channel.
autothreshold.py
MP150 required. Connect UIM and 1/8" CBL100 between Analog
Out 0 and analog input 1.
Loads a graph template and begins acquiring data while
monitoring data in Python for amplitude jumps > 1 Volt,
at which point the data acquisition is halted. The MP150
analog output is used to change voltages on the input.
Illustrates analog output control and may be used as a
rudimentary measure of overall latency (which will vary
from system to system).
plotchan.py
Displays a graphical user interface that plots data received
for a sinusoidal calculation channel computed during data
acquisition. May be used to visually confirm accuracy of
data transfer from AcqKnowledge.
To run one of these examples, first make sure AcqKnowledge is running,
has the networking feature turned on, and is configured to respond to
auto-discovery requests in the Networking preference panel.
On Mac OS X open a Terminal, cd into the source/ directory, and issue
python example.py
replacing "example.py" with the naem of the example you wish to run.
On Windows you will need to install a Python environment such as
ActivePython 2:
http://www.activestate.com/activepython/downloads/
Run Python 2.6.4 shell via WIndows menu:
Start-->Programs-->Python 2.6-->IDLE (Python GUI)
Open one of the NDT samples of p.3.a via Python Shell menu: "File-->Open"
Opening sample application You will get another Python shell window with
source code of the sample.
Execute the sample via menu: "Run-->Run Module (F5)"
The language binding is included in source/biopacndt.py and generated
documentation is available in the docs/ subdirectory. The general
usage pattern for applications is as follows:
1) Create an AcqNdtServer object either by manually entering the
address and port, by locating servers with FindAcqNdtServers(), or
just connecting to the first available AcqKnoweldge server with
AcqNdtQuickConnect().
2) Load the hardware acquisition settings using the
AcqNdtServer.LoadTemplate() function and an AcqKnowledge graph
template file.
3) Construct an AcqNdtDataServer object and register the callbacks
used to process data.
4) Begin listening for data connections by using AcqNdtDataServer.Start()
5) Begin data acquisition with AcqNdtServer.toggleAcquisition()
6) Wait for the data acquisition to complete using
AcqNdtServer.WaitForAcquisitionEnd(). During this time incoming data
will continue to be processed on threads.
7) Release resources used and halt data processing with
AcqNdtDataServer.Stop().
See the generated documentation and the source code comments within
the example Python sample code for more details.
没有合适的资源?快使用搜索试试~ 我知道了~
Acknowledge4.2软件安装包
共638个文件
jpg:167个
dll:91个
bbs:75个
需积分: 45 32 下载量 35 浏览量
2018-09-25
10:46:04
上传
评论 1
收藏 132.3MB ZIP 举报
温馨提示
Acknowledge4.2安装包,包括AckSetup.exe直接运行安装即可。
资源推荐
资源详情
资源评论
收起资源包目录
Acknowledge4.2软件安装包 (638个子文件)
VMG right leg VL dynamic isometric.acq 9.75MB
NIBP-MRI sample data.acq 8.07MB
NIBP100D sample data.acq 7.19MB
EMG100C-MRI Forearm EMG.acq 7.11MB
NIBP200A small rat.acq 6MB
ECG100C-MRI sample data.acq 5.76MB
CO2, O2 and airflow.acq 4.58MB
ECG_RSP.acq 4.26MB
EMG100C-MRI-Eyeblink.acq 4.09MB
ICG sample data.acq 3.51MB
B-Alert EEG Sample.acq 2.74MB
VMG Squat Data.acq 1.64MB
SCR with events.acq 1.47MB
Rabbit BP.acq 1.42MB
EEGwithEOGremoval.acq 1.32MB
EDA Event-related.acq 1.1MB
ECG LeadII.acq 1.06MB
two channel rat VER averaged (2).acq 1.06MB
MAP guinea pig heart.acq 991KB
Untitled1.acq 979KB
Pulmonary2.acq 703KB
EMGdata.acq 665KB
MPMS100A beetle data.acq 644KB
EMG.acq 619KB
EDA.acq 619KB
Respiration.acq 619KB
demo data.acq 565KB
ECGdata.acq 524KB
EEGdata.acq 444KB
LVP data.acq 440KB
EOGsaccades.acq 409KB
P300-80%.acq 388KB
P300-20%.acq 388KB
ValidateMeasurements.ACQ 387KB
P300.AVG 72B
ICG Analysis.bbs 257KB
Event-related EDA Analysis.bbs 131KB
Left Ventricular Blood Pressure.bbs 113KB
Monophasic Action Potential.bbs 103KB
Compliance and Resistance.bbs 94KB
Pre-ejection Period.bbs 92KB
ECG Interval Extraction.bbs 81KB
Arterial Blood Pressure.bbs 79KB
Stim-Response Analysis.bbs 76KB
Pulmonary Airflow.bbs 63KB
Epoch Analysis.bbs 58KB
Respiratory Sinus Arrhythmia.bbs 55KB
EEG Frequency Analysis.bbs 53KB
Penh Analysis.bbs 53KB
Classify Spikes.bbs 51KB
dZ-dt Classifier.bbs 50KB
Locate Spike Episodes.bbs 48KB
Artifact Frequency Removal.bbs 48KB
MAP Classifier.bbs 46KB
Compute Approximate Entropy.bbs 41KB
Ensemble Average.bbs 39KB
Artifact Projection Removal.bbs 38KB
Ideal Body Weight.bbs 38KB
Locate SCRs.bbs 38KB
Remove EOG Artifacts.bbs 36KB
Digital Input to Stim Events.bbs 35KB
EMG Frequency and Power Analysis.bbs 35KB
Generate Spike Trains.bbs 32KB
Waterfall Plot.bbs 32KB
Signal Blanking.bbs 31KB
Delta Power Analysis.bbs 30KB
Body Surface Area.bbs 30KB
Dwell Time Histograms.bbs 29KB
Amplitude Histograms.bbs 29KB
LVP Classifier.bbs 26KB
VEPT.bbs 25KB
Spectral Subtraction.bbs 24KB
Locate Muscle Activation.bbs 24KB
Average Action Potentials.bbs 22KB
Derive EEG Frequency Bands.bbs 22KB
Find Overlapping Spike Episodes.bbs 19KB
Derive Alpha RMS.bbs 19KB
Wavelet Denoising.bbs 17KB
Slew Rate Limiter.bbs 17KB
Principal Component Denoising.bbs 17KB
Preferences.bbs 16KB
Derive Phasic EDA from Tonic.bbs 16KB
Detrended Fluctuation Analysis.bbs 15KB
Derive Integrated EMG.bbs 15KB
Correlation Coefficient.bbs 13KB
HRV Poincare Plot.bbs 12KB
Set Episode Width and Offset.bbs 11KB
Preferences.bbs 11KB
Remove dZ-dt Motion Artifacts.bbs 11KB
Optimal Embedding Dimension.bbs 10KB
Derive Average Rectified EMG.bbs 10KB
ABP Classifier.bbs 10KB
Derive Root Mean Square EMG.bbs 10KB
Optimal Time Delay.bbs 9KB
Remove Trend.bbs 8KB
Preferences.bbs 8KB
Plot Attractor.bbs 8KB
Derive dZ-dt from Raw Z.bbs 7KB
Rich Dialog Example.bbs 7KB
Preferences.bbs 6KB
共 638 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
资源评论
Miqiuha
- 粉丝: 22
- 资源: 10
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功