@neilberkman/sidereon 1.0.1 → 1.1.1
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 +30 -1
- package/THIRD-PARTY-NOTICES.md +2 -2
- package/package.json +1 -1
- package/pkg/sidereon.d.ts +2060 -1953
- package/pkg/sidereon.js +26 -5
- package/pkg/sidereon_bg.wasm +0 -0
- package/pkg/sidereon_bg.wasm.d.ts +1945 -1944
- package/pkg-node/sidereon.d.ts +115 -9
- package/pkg-node/sidereon.js +27 -5
- package/pkg-node/sidereon_bg.wasm +0 -0
- package/pkg-node/sidereon_bg.wasm.d.ts +1945 -1944
package/pkg/sidereon.js
CHANGED
|
@@ -22505,11 +22505,9 @@ export function cfarCaThreshold(searched_cells, false_alarm_probability, noise_l
|
|
|
22505
22505
|
}
|
|
22506
22506
|
|
|
22507
22507
|
/**
|
|
22508
|
-
*
|
|
22508
|
+
* Deprecated alias for [`closed_form_initial_guess`].
|
|
22509
22509
|
*
|
|
22510
|
-
*
|
|
22511
|
-
* Per-sensor speed overrides are not used by the closed-form equations, but
|
|
22512
|
-
* they are used by [`locateSource`] during iterative refinement.
|
|
22510
|
+
* @deprecated Use `closedFormInitialGuess` instead.
|
|
22513
22511
|
* @param {any} sensors
|
|
22514
22512
|
* @param {any} arrival_times_s
|
|
22515
22513
|
* @param {number} propagation_speed_m_s
|
|
@@ -22552,6 +22550,26 @@ export function civilToJ2000Seconds(year, month, day, hour, minute, second) {
|
|
|
22552
22550
|
return ret;
|
|
22553
22551
|
}
|
|
22554
22552
|
|
|
22553
|
+
/**
|
|
22554
|
+
* Compute the closed-form spherical-intersection seed used by [`locateSource`].
|
|
22555
|
+
*
|
|
22556
|
+
* `mode` is `"toa"`, `"tdoa"`, or `{ mode: "tdoa", referenceSensor }`.
|
|
22557
|
+
* Per-sensor speed overrides are not used by the closed-form equations, but
|
|
22558
|
+
* they are used by [`locateSource`] during iterative refinement.
|
|
22559
|
+
* @param {any} sensors
|
|
22560
|
+
* @param {any} arrival_times_s
|
|
22561
|
+
* @param {number} propagation_speed_m_s
|
|
22562
|
+
* @param {any} mode
|
|
22563
|
+
* @returns {any}
|
|
22564
|
+
*/
|
|
22565
|
+
export function closedFormInitialGuess(sensors, arrival_times_s, propagation_speed_m_s, mode) {
|
|
22566
|
+
const ret = wasm.closedFormInitialGuess(sensors, arrival_times_s, propagation_speed_m_s, mode);
|
|
22567
|
+
if (ret[2]) {
|
|
22568
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
22569
|
+
}
|
|
22570
|
+
return takeFromExternrefTable0(ret[0]);
|
|
22571
|
+
}
|
|
22572
|
+
|
|
22555
22573
|
/**
|
|
22556
22574
|
* Carrier-to-noise-density ratio, dB-Hz. `otherLossesDb` defaults to 0.
|
|
22557
22575
|
* @param {number} eirp_dbw
|
|
@@ -26029,7 +26047,10 @@ export function loadSp3(bytes) {
|
|
|
26029
26047
|
* the same dimension. `arrivalTimesS` is an aligned seconds array,
|
|
26030
26048
|
* `propagationSpeedMS` is the call-level speed in metres per second, and
|
|
26031
26049
|
* `options` may include `mode`, `referenceSensor`, `timingSigmaS`, `loss`,
|
|
26032
|
-
* `fScaleS`, `ftol`, `xtol`, `gtol`, and `
|
|
26050
|
+
* `fScaleS`, `ftol`, `xtol`, `gtol`, `maxNfev`, and `includeInfluence`.
|
|
26051
|
+
* `includeInfluence` defaults to `true`; set it to `false` to skip the
|
|
26052
|
+
* per-sensor leave-one-out re-solves and return an empty `perSensorInfluence`
|
|
26053
|
+
* array without changing any other output.
|
|
26033
26054
|
* @param {any} sensors
|
|
26034
26055
|
* @param {any} arrival_times_s
|
|
26035
26056
|
* @param {number} propagation_speed_m_s
|
package/pkg/sidereon_bg.wasm
CHANGED
|
Binary file
|