Skip to content

Releases: alexrockhill/pd-parser

Compatibility

19 Sep 23:13
Compare
Choose a tag to compare

This release fixes issues created by package dependency updates. It is just a regular release maintaining the package.

Usability

17 May 16:44
Compare
Choose a tag to compare

This version fixes handles of 'n/a's in the behavioral events used to synchronize with the photodiode. This may occur when the task suffers an error or a user goes in and removes some trials that they don't want to sync or don't have photodiode data to sync.

Additionally, the reporting of errors was improved: the number of samples will be reported if it's less than 3 times the resync amount. This had previously caused errors that were greater than resync to be reported as "none found" although an event could clearly be seen in the diagnostic plots. Now, the amount different is reported which makes more sense.

In noisy photodiode channels, there was additionally a problem with crossing and recrossing the zscore threshold. This was fixed by removing all events within max_flip_i of a found event.

Lastly, events were not recovered properly due to the same repeated events issues and not looking for events smartly as improved before. This was changed to match the process of looking for events during the alignment (examine every event greater than zscore but not immediately following another event greater than zscore and exclude events max_flip_i away from any found photodiode events).

StablizeZScore

12 May 00:11
Compare
Choose a tag to compare

Using zscores was stabilized by having the baseline be a global median-of-sections baselines so that events with more noise had the same zscore.

The events are looked through more efficiently by finding events greater than zscore and basing the search indices on that rather than uniformly spaced chunks. This also caused less events to be missed or mis-classified.

AlignBetter

07 May 06:07
Compare
Choose a tag to compare

In this release, using the event differences to align events was eschewed in favor of a histogram-style alignment that had better accuracy.

Internal functions were cleaned up and separated into modular parts better.

Tests were better separated into specific modules.

The plotting was cleaned up and enhanced with lines to show exclusions.

Event recovering was fixed not to have so much arrow clicking and instead find the events and ask y/N.

DeltaV

02 May 07:45
Compare
Choose a tag to compare

This release changes the dependency on the photodiode square wave being zscore above the baseline to depending on the change in voltage being above the baseline. For very long photodiode deflections, voltage was trending back to baseline, making pd-parser not usable for this.

Cleaning up plotting by making longer events accepted was also added.

Several small bugs, including an issue with negative deflections were fixed.

:func:pd_parser.add_off_events was fixed so that it always found the off event corresponding to the on event.

BIDS functionality was updated to the latest mne-bids version.

parser

23 Oct 16:49
Compare
Choose a tag to compare

The first official release of pd-parser, a software tool for matching photodiode deflections to computer-recorded time stamps.