edf2csv 0.4.74 → 0.4.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
3
3
|
Notable changes to edf2csv. Versions follow [semantic versioning](https://semver.org); while the
|
|
4
4
|
major version is 0, a minor bump may contain breaking changes.
|
|
5
5
|
|
|
6
|
+
## 0.4.75
|
|
7
|
+
|
|
8
|
+
### Fixed: the buffer-reuse warning described something the obvious test disproves
|
|
9
|
+
|
|
10
|
+
api.md calls the reused batch buffer "the one contract in the API that fails silently if you
|
|
11
|
+
get it wrong", and then described it as "kept[0], kept[1] and kept[2] are all identical, and
|
|
12
|
+
all hold the last batch read." Neither half survives being checked. `kept[0] === kept[1]` is
|
|
13
|
+
false — each iteration hands out its own `Uint8Array` — so a reader who tests the warning
|
|
14
|
+
the obvious way is told it does not apply and keeps the references. And they do not all hold
|
|
15
|
+
the last batch: the final batch is usually short, so an early view shows the last batch's
|
|
16
|
+
bytes for as far as they go and the *previous* batch's beyond that. A seam between two
|
|
17
|
+
batches, which produces plausible numbers rather than an error.
|
|
18
|
+
|
|
19
|
+
The section now says what is actually shared — distinct views, one buffer, all at offset
|
|
20
|
+
zero — and what a stale view holds afterwards. A test reads a fixture in batches with a
|
|
21
|
+
short tail and asserts all of it, so the description and the reader cannot drift apart.
|
|
22
|
+
|
|
23
|
+
Also corrects `decimalsForSignal`'s documented default, which 0.4.74 moved from 20 to 100
|
|
24
|
+
and this page still gave as 20.
|
|
25
|
+
|
|
6
26
|
## 0.4.74
|
|
7
27
|
|
|
8
28
|
### Fixed: the decimal ceiling was 20 on a false premise, and cost a magnetometer 69% of its codes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "edf2csv",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.75",
|
|
4
4
|
"description": "Convert EDF, EDF+ and BDF biosignal recordings (European Data Format) to CSV from the command line. Local, streaming, and never resamples or alters units.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"edf",
|