Headstage Configuration
The Headstage palette group configures the acquisition signal chain: filter cutoffs, mode, and baseline behavior.
important
All blocks (except H-bit get/set) are Setup-only and must run before ACQ start.
Block Reference
Headstage
CHIP_MODE setmodeHW
Headstage
lower bandwidthHz300
Headstage
upper bandwidthHz7500
Headstage
DSP cutoffHz250
Headstage
H-bit setenabletrue
Headstage
H-bit get→h_state
CHIP_MODE set
| Value | Description |
|---|---|
HW | Real hardware — acquires from the connected headstage |
SIM | Simulation — generates synthetic data without hardware |
Use SIM to test your script logic before connecting a headstage.
Filter cutoffs
| Block | Filter | Typical value |
|---|---|---|
| lower bandwidth | Analog high-pass | 300 Hz (spikes) / 1 Hz (LFP) |
| upper bandwidth | Analog low-pass | 7500 Hz (spikes) / 300 Hz (LFP) |
| DSP cutoff | Digital high-pass | 250 Hz; set 0.1 Hz to disable |
Filter blocks only take effect when headstage setup runs after them.
H-bit
Controls periodic baseline reset of channel amplifiers — corrects slow DC drift.
| Parameter | Meaning |
|---|---|
true | Enable baseline reset |
false | Disable (use for continuous DC tracking) |
Example Setup — spike recording
SETUP
Headstage
CHIP_MODE setmodeHW
Headstage
lower bandwidthHz300
Headstage
upper bandwidthHz7500
Headstage
DSP cutoffHz250
Acquisition
headstage setup
Acquisition
SPEEDrate1000
Acquisition
RMS on
Acquisition
ACQ start
Example Setup — LFP recording
SETUP
Headstage
lower bandwidthHz1
Headstage
upper bandwidthHz300
Headstage
DSP cutoffHz0.1
Acquisition
headstage setup
Acquisition
SPEEDrate1000
Acquisition
ACQ start