BIOPAC® Systems, Inc. Logo

Script 004 – Custom multiple measurements at marker




BIOPAC Developer - scripting, network data transfer, API, support 

The following script allows the user to obtain desired measurements before and after a stimulus event marker. Using this script the user can, for example, obtain the mean heart rate for the five one-second intervals preceding each stimulus event and five one second intervals following each stimulus event (10 measurements total). The measurements will be output to an Excel spreadsheet where each row accounts for stimulus events and each column accounts for the specified time period (binned analysis). In this example each column would be the mean heart rate for each second of our specific interval (5 seconds before stimulus to five seconds after stimulus).

This script can be used for other measurements as well. These can be specified via the following dialog boxes:

  1. The channel for the measurement. (In addition, the measurement type can be defined)

  2. The type of event marker that the measurement will be based on.

  3. The number of time intervals before and after the stimulus that the measurement should be performed for.

  4. The duration of the measurement time intervals.

Script download contains sample data file and BIOPAC Basic Script.

Associated Products

Spotlight On
free BIOPAC webinar

Effort & Motivation: Using a Hand Dynamometer in the MRI and in the Lab

Many studies use hand dynamometry to objectively quantify exerted effort during experiments most commonly related to the study of motivation.
We’ll focus on this topic and go over everything you need to know to record dynamometry data in the MRI or in the lab. Topics include
– Calibrating for maximum voluntary contraction (MVC)
– Real-time access to the dynamometer signal by third-party applications
– How researchers have used this equipment
– Creating a visual task that gives feedback on exerted effort as well as rewards to the participant

On Demand Playback

Register Now
Latest News

New Citations | BIOPAC in Motivation Studies

Discovering and understanding what motivates humans to produce better results has intrigued many researchers. Many researchers have explored the psychophysiological processes that drive our behavior. Here are some recent studies that have used BIOPAC systems to research motivation… Motivation and Pleasure Deficits Undermine the Benefits of Social Affiliation in Psychosis. Blanchard, J. J., Smith, J. […]

New Citations | BIOPAC in Eye Tracking Studies

Eye tracking technology has come a long way and has enabled researchers to conduct mobile experiments and track participants in real world scenarios. These featured studies demonstrate some of the use cases for mobile eye tracking technology. Here are some recent studies that have used BIOPAC systems for eye tracking research… Drivers’ gaze patterns when resuming […]

Read All
Request a Demonstration
Request a Demonstration