While the specific content can vary, .stim files often follow a similar structure:
It tells the tester which electrical signals to "push" into the chip’s pins.
STIM files aren't written by hand. They are the final product of a complex design-to-test workflow:
Explain that it is a high-level circuit description format used for fast simulations of error-prone quantum circuits [12]. Creating Your First Circuit:
Stimulus files (“stim files”) are structured data files used to define, sequence, and time stimuli in cognitive and systems neuroscience experiments. They serve as a critical bridge between experimental design and data acquisition systems, ensuring reproducibility and synchronization with recorded neural signals. This paper reviews common formats (e.g., MATLAB .mat structures, JSON, CSV, and proprietary formats like Presentation .sce or Psychtoolbox .m scripts), their essential components (event codes, onset times, durations, parameters), and best practices for version control and sharing. We highlight how proper stim file design reduces analysis errors and improves cross-laboratory replication.
Measured in Hertz (Hz), frequency refers to how many pulses are delivered per second. Traditional SCS uses low frequencies (40–100 Hz) to create a tingling sensation that masks pain. Modern "high-frequency" stim files (e.g., 10 kHz) deliver sub-perception therapy—pain relief without the tingling sensation.