edfcore 0.2.24 → 0.2.25
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 +19 -0
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/package.json +1 -1
- package/src/constants.ts +1 -1
package/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.2.25
|
|
10
|
+
|
|
11
|
+
- **Added** a property test pinning the ONE timebase invariant across every public function that
|
|
12
|
+
reports a time, against a single EDF+D fixture whose true onsets are known independently of
|
|
13
|
+
edfcore. Four releases — 0.1.4, 0.2.10, 0.2.18, 0.2.19 — were the same defect wearing different
|
|
14
|
+
clothes: a function deriving a time from the nominal `recordIndex * recordDuration` grid while
|
|
15
|
+
the rest of the package used the record's true onset. Fixing them one at a time did not stop the
|
|
16
|
+
next one, because a contiguous fixture agrees with both rules and every test used one.
|
|
17
|
+
`index.onsetTicks`, `index.segments`, `index.locate`, `readRecords`, `readWindow`,
|
|
18
|
+
`streamRecords`, `readEnvelope`, `readEnvelopeAtResolution`, `segmentAt`, `gapAt`,
|
|
19
|
+
`readAnnotations` and `filterAnnotationsByTime` are now all asserted against the same fixture,
|
|
20
|
+
plus a second file with a sub-second start offset.
|
|
21
|
+
- **Found**, by running it: a fifth instance. `sampleIndexAt`, `sampleStartTicks` and
|
|
22
|
+
`sampleStartSeconds` are all on the nominal grid — `sampleStartSeconds(signal, 12, d)` answers
|
|
23
|
+
3 s for a sample that starts at 10 s, and `sampleIndexAt(signal, 10, d)` returns record 10 of a
|
|
24
|
+
six-record file. They take no index and so cannot see a gap from their arguments, which makes it
|
|
25
|
+
a signature problem rather than an arithmetic one; the fix is the next release, and the property
|
|
26
|
+
test says out loud that they are not yet covered.
|
|
27
|
+
|
|
9
28
|
## 0.2.24
|
|
10
29
|
|
|
11
30
|
- **Changed** `envelopeOfSamples` to bound its reduction by `sampleCount` rather than by
|
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.2.
|
|
112
|
+
export declare const VERSION = "0.2.25";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/package.json
CHANGED
package/src/constants.ts
CHANGED