edfcore 0.5.6 → 0.5.7
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/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/docs/CHANGELOG.md +19 -0
- package/package.json +1 -1
- package/src/constants.ts +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -109,5 +109,5 @@ export declare const SIGNAL_FIELD_BLOCK_OFFSETS: {
|
|
|
109
109
|
readonly reserved: 224;
|
|
110
110
|
};
|
|
111
111
|
/** Published package version. Kept in sync with package.json by a test. */
|
|
112
|
-
export declare const VERSION = "0.5.
|
|
112
|
+
export declare const VERSION = "0.5.7";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/docs/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,25 @@ alone does not tell you whether you were affected.
|
|
|
6
6
|
edfcore is pre-1.0. Patch releases have carried behaviour changes where the old behaviour was a
|
|
7
7
|
defect; those are called out below.
|
|
8
8
|
|
|
9
|
+
## 0.5.7
|
|
10
|
+
|
|
11
|
+
- **Added** the one worked `readWindow` result on `api-reading.md`, built and run. The page shows a
|
|
12
|
+
65-second window over a discontinuous file coming back as two chunks — `{ start: 498, count: 2 }`
|
|
13
|
+
at 498 s and `{ start: 500, count: 3 }` at 560 s with a gap before it — and it is the only place
|
|
14
|
+
the page shows what "one chunk per contiguous run" produces. Every figure in it was prose.
|
|
15
|
+
- The counts are the part worth running. 2 and 3 are not the same number and neither is 5, so a
|
|
16
|
+
reader can see from them that the window did not return every record between its ends. Both fall
|
|
17
|
+
out of the half-open rule: record 499 ends exactly at 500 s and is in, record 503 starts exactly
|
|
18
|
+
at 563 s and is out — the rule that decides whether consecutive epochs partition or overlap. The
|
|
19
|
+
run asserts the excluded record starts exactly at the window's end.
|
|
20
|
+
- `startSeconds: 560` is the other half: sixty seconds of the window lie inside the gap, so the
|
|
21
|
+
second chunk starts 62 seconds after the first while being only 2 records later. A consumer that
|
|
22
|
+
assumed `startSeconds` advanced with the record number would place three records a minute early.
|
|
23
|
+
- The window and both chunks are parsed out of the page, anchored to the printed line rather than
|
|
24
|
+
to the first `startSeconds` on it — an unanchored pattern picked up an earlier example's window
|
|
25
|
+
and built one nothing on the page describes, which passed its own parse and tested a different
|
|
26
|
+
file.
|
|
27
|
+
|
|
9
28
|
## 0.5.6
|
|
10
29
|
|
|
11
30
|
- **Fixed** two lines of the `EdfSignal` block on `api-types.md` describing a different file from
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED