edfcore 0.4.363 → 0.4.364
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 +18 -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.4.
|
|
112
|
+
export declare const VERSION = "0.4.364";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/docs/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,24 @@ 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.4.364
|
|
10
|
+
|
|
11
|
+
- **Added** checks for three claims in the README's "Design in one page", each of which is an
|
|
12
|
+
absence and therefore hard to notice. There is no recording-wide rate — a header field holding
|
|
13
|
+
one would be the obvious convenience and can only ever be right for one channel, so its
|
|
14
|
+
non-existence is asserted alongside the three per-signal rates the README names.
|
|
15
|
+
- `sampleRateHz` is `undefined` when the record duration is zero, which is legal EDF and which
|
|
16
|
+
PhysioNet's hypnograms really declare. `Infinity` is what an unguarded division gives, would pass
|
|
17
|
+
every `typeof` check, and would make `NaN` of every time converted through it — so the check is
|
|
18
|
+
that it is neither a number nor that number.
|
|
19
|
+
- And there is no gap-filling option, checked as an absence across every option name the public
|
|
20
|
+
types declare. An option to fill a gap is an option to fabricate samples the amplifier never
|
|
21
|
+
recorded, and once it exists somebody's config turns it on.
|
|
22
|
+
- Also pinned: that a window is measured on `onsetTicksFromFirstRecord` rather than `onsetTicks`.
|
|
23
|
+
The fixture puts the two axes in different records on purpose — a half-second offset leaves both
|
|
24
|
+
inside the same record-aligned chunk, which is how this advice would look correct while being
|
|
25
|
+
untestable.
|
|
26
|
+
|
|
9
27
|
## 0.4.363
|
|
10
28
|
|
|
11
29
|
- **Corrected** the README's promise about diagnostics and widened 0.4.325's check to cover it. It
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED