edf2csv 0.5.69 → 0.5.70

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,28 @@
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.5.70
7
+
8
+ ### Fixed: the page that defines `time_s` said zero is the first sample
9
+
10
+ "`time_s` is seconds elapsed since the start of the recording. Zero is the first sample of the
11
+ first data record." The second sentence has been false since 0.4.9 made the first data record's
12
+ timekeeping annotation the origin: `fractional-start.edf` writes its first row as `0.500` and
13
+ `late-start.edf` as `30.000`.
14
+
15
+ The page's only other mention of record start times is the bullet headed "On a discontinuous
16
+ recording it jumps", scoped to EDF+D — and `fractional-start.edf` is EDF+C. So a reader working
17
+ from output-files.md had no way to learn this, on the page whose job is to define the column,
18
+ while cli-reference.md, `--info`'s `Timed from` line and the 0.5.59 changelog all say the
19
+ opposite. The sentence beside it, "add `time_s` to `recording.start_datetime_local` to get an
20
+ absolute instant", is right and only makes sense once zero is the header's start time rather
21
+ than the first sample.
22
+
23
+ Rewritten to say what the tool does, and pinned rather than left as prose: a test now sweeps
24
+ every fixture and requires the first value in `signals.csv` to equal what `--info` prints as
25
+ `Timed from`, or zero where it prints no such line. Behaviour is unchanged — it was correct
26
+ throughout, and only the page was wrong.
27
+
6
28
  ## 0.5.69
7
29
 
8
30
  ### Fixed: metadata.json described a long table with the wide layout's contract
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edf2csv",
3
- "version": "0.5.69",
3
+ "version": "0.5.70",
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",