AllenInstitute / AllenInstitute/MIES

Problematic decimation in DC_PlaceDataInITCDataWave

Open
#87 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Backlog DataAcquisition Testpulse
Dominant language
IGOR Pro
Stars
30
Forks
11
Avg merge
1d 40m
Merged PRs (30d)
8

Description

Sampling rate gets decimated by MultiThread ITCDataWave[singleInsertStart, singleInsertStart + singleSetLength - 1][activeColumn] = limit(TTLWave[decimationFactor * (p - singleInsertStart)], SIGNED_INT_16BIT_MIN, SIGNED_INT_16BIT_MAX) which basically just drops sample points in TTLWave.

Better: Apply digital filter that limits frequency to f(ITCDataWave)/2 with a step function.
See https://en.wikipedia.org/wiki/Decimation_(signal_processing)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at DC_PlaceDataInITCDataWave and inspect the decimation expression that reads TTLWave into ITCDataWave. Read the linked decimation reference to determine the required digital-filter behavior and define how the frequency limit and step function should be validated. Done means decimation no longer only drops sample points and the resulting signal meets the stated frequency limit.

Written by the indexing model from the issue text.

Assessment

Domain
data
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.