@photivra/engine 1.1.0 → 1.3.0
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 +12 -1
- package/CITATION.cff +1 -1
- package/NOTICE +29 -0
- package/README.md +6 -6
- package/THIRD_PARTY.md +10 -0
- package/dist/composition/image-formation-plan.d.ts.map +1 -1
- package/dist/composition/image-formation-plan.js +17 -8
- package/dist/composition/image-formation-plan.js.map +1 -1
- package/dist/core/version.d.ts +1 -1
- package/dist/core/version.js +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/optics/complex-pupil-psf.d.ts +6 -0
- package/dist/optics/complex-pupil-psf.d.ts.map +1 -1
- package/dist/optics/complex-pupil-psf.js +10 -7
- package/dist/optics/complex-pupil-psf.js.map +1 -1
- package/dist/output/native-capture-sdr.d.ts +78 -0
- package/dist/output/native-capture-sdr.d.ts.map +1 -0
- package/dist/output/native-capture-sdr.js +171 -0
- package/dist/output/native-capture-sdr.js.map +1 -0
- package/dist/output/print-contrast-reference.d.ts +47 -0
- package/dist/output/print-contrast-reference.d.ts.map +1 -0
- package/dist/output/print-contrast-reference.js +95 -0
- package/dist/output/print-contrast-reference.js.map +1 -0
- package/dist/output/print-detail.d.ts +7 -0
- package/dist/output/print-detail.d.ts.map +1 -1
- package/dist/output/print-detail.js +20 -11
- package/dist/output/print-detail.js.map +1 -1
- package/dist/output/print-region-statistics.d.ts +92 -0
- package/dist/output/print-region-statistics.d.ts.map +1 -0
- package/dist/output/print-region-statistics.js +300 -0
- package/dist/output/print-region-statistics.js.map +1 -0
- package/dist/sensor/environment-photo-signal.d.ts +8 -1
- package/dist/sensor/environment-photo-signal.d.ts.map +1 -1
- package/dist/sensor/environment-photo-signal.js +16 -6
- package/dist/sensor/environment-photo-signal.js.map +1 -1
- package/docs/API_REFERENCE.md +52 -1
- package/docs/API_STYLE.md +1 -1
- package/docs/ARCHITECTURE.md +1 -1
- package/docs/AUTOMATION_COORDINATION.md +1 -1
- package/docs/CAPTURE_COLOR.md +1 -1
- package/docs/CAPTURE_CORRECTED_SDR.md +1 -1
- package/docs/CAPTURE_EXPORT_METADATA.md +1 -1
- package/docs/CAPTURE_SDR.md +3 -1
- package/docs/DEVELOPERS.md +6 -4
- package/docs/DIGITAL_OPTICS_FOUNDATION.md +1 -1
- package/docs/ENVIRONMENT_RAW_CAPTURE.md +23 -4
- package/docs/EXPORT_ACCEPTANCE.md +1 -1
- package/docs/GENERIC_TIER_PRESETS.md +1 -1
- package/docs/GEOMETRIC_PREPARATION_REUSE.md +1 -1
- package/docs/IMAGE_FORMATION.md +1 -1
- package/docs/LINEAR_CAPTURE_ENCODING.md +1 -1
- package/docs/MOTION_AND_SIGNAL.md +1 -1
- package/docs/NATIVE_CAPTURE_SDR.md +70 -0
- package/docs/NATIVE_CAPTURE_SDR_REVIEW.md +37 -0
- package/docs/NATIVE_CAPTURE_SDR_VALIDATION.md +34 -0
- package/docs/NUMERICAL_CORRECTNESS.md +1 -1
- package/docs/PERFORMANCE_BASELINE.md +1 -1
- package/docs/PHOTOGRAPHIC_EXPORT.md +1 -1
- package/docs/PHYSICS_FOUNDATION.md +1 -1
- package/docs/POC_API.md +1 -1
- package/docs/POC_PROJECTION_REUSE.md +1 -1
- package/docs/PRINT_195_196_REVIEW.md +93 -0
- package/docs/PRINT_196_ENGINE_ACCEPTANCE.md +45 -0
- package/docs/PRINT_CONTRAST_REFERENCE.md +43 -0
- package/docs/PRINT_DETAIL_ASSESSMENT.md +1 -1
- package/docs/PRINT_DETAIL_JPEG_EVIDENCE.md +36 -0
- package/docs/PRINT_DETAIL_VALIDATION.md +1 -1
- package/docs/PRINT_PLANNING.md +3 -1
- package/docs/PRINT_REGION_STATISTICS.md +38 -0
- package/docs/PROCESSED_OUTPUT.md +1 -1
- package/docs/PRODUCTION_COMPOSITION.md +1 -1
- package/docs/PRODUCTION_ENVIRONMENT_CAPTURE.md +1 -1
- package/docs/PROVENANCE.md +1 -1
- package/docs/PSF_FOUNDATION.md +11 -1
- package/docs/RAW_FRAME_ENVELOPE.md +1 -1
- package/docs/RAW_FRAME_RECONSTRUCTION.md +1 -1
- package/docs/RELEASE_1_2_0.md +51 -0
- package/docs/RELEASE_1_3_0.md +15 -0
- package/docs/SCENE_RADIANCE_AND_ILLUMINATION.md +1 -1
- package/docs/SCENE_SENSOR_QUADRATURE.md +1 -1
- package/docs/SCENE_SENSOR_TEMPORAL_EXPOSURE.md +1 -1
- package/docs/SCIENTIFIC_ASSURANCE.md +1 -1
- package/docs/SCIENTIFIC_CONFORMANCE.md +1 -1
- package/docs/SDR_RENDERING.md +1 -1
- package/docs/SENSOR_ENVIRONMENT_QUERY.md +1 -1
- package/docs/SENSOR_EQE_LOCAL_EXPOSURE.md +1 -1
- package/docs/SENSOR_EQE_TEMPORAL_EXPOSURE.md +1 -1
- package/docs/SENSOR_PSF_QUADRATURE.md +1 -1
- package/docs/SENSOR_RAW_FRAME.md +1 -1
- package/docs/SENSOR_RAW_PRODUCER.md +1 -1
- package/docs/SIGNAL_CONFORMANCE.md +1 -1
- package/docs/SIMULATED_CAPTURE.md +1 -1
- package/docs/STABILIZATION.md +1 -1
- package/docs/TEMPORAL_PHOTO_RAW.md +1 -1
- package/docs/TIER_ACCEPTANCE.md +1 -1
- package/docs/TIER_PRESET_ACCEPTANCE.md +1 -1
- package/docs/USAGE.md +3 -1
- package/docs/V1_COMPOSITION_MAP.md +1 -1
- package/docs/V1_HELPER_REUSE_REVIEW.md +1 -1
- package/docs/V1_PERFORMANCE_DISPOSITION.md +1 -1
- package/docs/api/camera-equivalent-focal-length.md +1 -1
- package/docs/api/camera-field-of-view.md +1 -1
- package/docs/api/camera-projected-object-size.md +1 -1
- package/docs/api/capture-capture-export-metadata.md +1 -1
- package/docs/api/capture-environment-raw-producer.md +1 -1
- package/docs/api/capture-focus-control.md +1 -1
- package/docs/api/capture-linear-encoding.md +1 -1
- package/docs/api/capture-photographic-export.md +1 -1
- package/docs/api/capture-raw-frame-reconstruction.md +1 -1
- package/docs/api/capture-release-sequence.md +1 -1
- package/docs/api/capture-sensor-raw-frame.md +1 -1
- package/docs/api/capture-sensor-raw-producer.md +1 -1
- package/docs/api/capture-simulated-capture.md +1 -1
- package/docs/api/color-capture-color.md +1 -1
- package/docs/api/color-white-balance.md +1 -1
- package/docs/api/composition-image-formation-plan.md +1 -1
- package/docs/api/composition-plan-consumer.md +1 -1
- package/docs/api/core-calculation-result.md +1 -1
- package/docs/api/core-configuration-error.md +1 -1
- package/docs/api/core-image-formation.md +1 -1
- package/docs/api/core-scientific-assurance.md +1 -1
- package/docs/api/core-spectral-composition.md +1 -1
- package/docs/api/core-spectral.md +1 -1
- package/docs/api/core-validation.md +1 -1
- package/docs/api/core-version.md +2 -2
- package/docs/api/equipment-exposure-capabilities.md +1 -1
- package/docs/api/equipment-generic-tier-assets.md +1 -1
- package/docs/api/equipment-generic-tier-presets.md +1 -1
- package/docs/api/equipment-iso-capabilities.md +1 -1
- package/docs/api/equipment-metering-capabilities.md +1 -1
- package/docs/api/equipment-release-capabilities.md +1 -1
- package/docs/api/exports.json +152 -2
- package/docs/api/exposure-exposure-duration-control.md +1 -1
- package/docs/api/exposure-exposure-mode-resolver.md +1 -1
- package/docs/api/exposure-exposure.md +1 -1
- package/docs/api/exposure-flash.md +1 -1
- package/docs/api/exposure-metering-scene-radiance.md +1 -1
- package/docs/api/exposure-metering-target.md +1 -1
- package/docs/api/exposure-metering-temporal.md +1 -1
- package/docs/api/exposure-metering.md +1 -1
- package/docs/api/exposure-program-line.md +1 -1
- package/docs/api/motion-camera-rotation.md +1 -1
- package/docs/api/motion-capture-rotation-inverse-mapping.md +1 -1
- package/docs/api/motion-capture-rotation-temporal-quadrature.md +1 -1
- package/docs/api/motion-capture-rotation-trajectory.md +1 -1
- package/docs/api/motion-capture-translation-parallax-temporal-quadrature.md +1 -1
- package/docs/api/motion-extended-object-projection.md +1 -1
- package/docs/api/motion-projected-motion.md +1 -1
- package/docs/api/optics-aperture.md +1 -1
- package/docs/api/optics-circle-of-confusion.md +1 -1
- package/docs/api/optics-complex-pupil-psf.md +7 -1
- package/docs/api/optics-depth-of-field.md +1 -1
- package/docs/api/optics-diffraction.md +1 -1
- package/docs/api/optics-focus-breathing.md +1 -1
- package/docs/api/optics-focus-state.md +1 -1
- package/docs/api/optics-front-of-lens-filter.md +1 -1
- package/docs/api/optics-illumination-vignetting.md +1 -1
- package/docs/api/optics-lateral-chromatic-aberration.md +1 -1
- package/docs/api/optics-lens-psf-profile.md +1 -1
- package/docs/api/optics-polygon-diffraction.md +1 -1
- package/docs/api/optics-profile-contract.md +1 -1
- package/docs/api/optics-psf-foundation.md +1 -1
- package/docs/api/optics-radial-distortion.md +1 -1
- package/docs/api/optics-scene-to-sensor-irradiance.md +1 -1
- package/docs/api/optics-scene-to-sensor-quadrature.md +1 -1
- package/docs/api/optics-sensor-environment-query.md +1 -1
- package/docs/api/optics-sensor-psf-quadrature.md +1 -1
- package/docs/api/optics-stray-light.md +1 -1
- package/docs/api/optics-thin-lens.md +1 -1
- package/docs/api/output-capture-corrected-sdr.md +1 -1
- package/docs/api/output-capture-geometry.md +1 -1
- package/docs/api/output-capture-sdr.md +1 -1
- package/docs/api/output-crop.md +1 -1
- package/docs/api/output-geometric-transforms.md +1 -1
- package/docs/api/output-lens-corrections.md +1 -1
- package/docs/api/output-native-capture-sdr.md +150 -0
- package/docs/api/output-print-contrast-reference.md +82 -0
- package/docs/api/output-print-detail.md +1 -1
- package/docs/api/output-print-plan.md +1 -1
- package/docs/api/output-print-region-statistics.md +165 -0
- package/docs/api/output-sdr-rendering.md +1 -1
- package/docs/api/output-subject-framing-crop.md +1 -1
- package/docs/api/schema-camera.md +1 -1
- package/docs/api/schema-illumination-spectral.md +1 -1
- package/docs/api/schema-illumination-temporal.md +1 -1
- package/docs/api/schema-illumination.md +1 -1
- package/docs/api/schema-scene-radiance-temporal.md +1 -1
- package/docs/api/schema-scene-radiance.md +1 -1
- package/docs/api/schema-scene.md +1 -1
- package/docs/api/schema-validation.md +1 -1
- package/docs/api/sensor-accumulated-charge.md +1 -1
- package/docs/api/sensor-architecture.md +1 -1
- package/docs/api/sensor-camera-saturation-capacity.md +1 -1
- package/docs/api/sensor-capture-color-sampling-binding.md +1 -1
- package/docs/api/sensor-capture-mode-timing.md +1 -1
- package/docs/api/sensor-capture-mode.md +1 -1
- package/docs/api/sensor-color-sampling.md +1 -1
- package/docs/api/sensor-constant-rate-temporal-integration.md +1 -1
- package/docs/api/sensor-dark-current.md +1 -1
- package/docs/api/sensor-environment-photo-signal.md +6 -3
- package/docs/api/sensor-eqe-electron-rate.md +1 -1
- package/docs/api/sensor-eqe-local-exposure.md +1 -1
- package/docs/api/sensor-eqe-temporal-exposure.md +1 -1
- package/docs/api/sensor-exposure-window.md +1 -1
- package/docs/api/sensor-iso-signal-chain.md +1 -1
- package/docs/api/sensor-local-exposure-binding.md +1 -1
- package/docs/api/sensor-optical-stack.md +1 -1
- package/docs/api/sensor-photon-energy.md +1 -1
- package/docs/api/sensor-physical-charge-capacity.md +1 -1
- package/docs/api/sensor-pixel-pitch.md +1 -1
- package/docs/api/sensor-radiometry-readiness.md +1 -1
- package/docs/api/sensor-raw-readout.md +1 -1
- package/docs/api/sensor-raw-reconstruction.md +1 -1
- package/docs/api/sensor-readout-exposure-linkage.md +1 -1
- package/docs/api/sensor-readout-timing.md +1 -1
- package/docs/api/sensor-response-application-compatibility.md +1 -1
- package/docs/api/sensor-response-operating-range.md +1 -1
- package/docs/api/sensor-responsivity-photocurrent.md +1 -1
- package/docs/api/sensor-sampling-aperture.md +1 -1
- package/docs/api/sensor-scene-eqe-temporal-exposure.md +1 -1
- package/docs/api/sensor-sensor-geometry.md +1 -1
- package/docs/api/sensor-signal-noise.md +1 -1
- package/docs/api/sensor-spatial-sample-reduction.md +1 -1
- package/docs/api/sensor-spatial-sampling-quadrature.md +1 -1
- package/docs/api/sensor-spatio-spectral-reduction.md +1 -1
- package/docs/api/sensor-spectral-coverage.md +1 -1
- package/docs/api/sensor-spectral-quadrature.md +1 -1
- package/docs/api/sensor-spectral-response.md +1 -1
- package/docs/api/sensor-temporal-photo-signal.md +1 -1
- package/docs/api/simulation-poc-simulation.md +1 -1
- package/docs/api/stabilization-camera-shake.md +1 -1
- package/docs/api/stabilization-system.md +1 -1
- package/docs/licenses/castleCSF-MIT.txt +21 -0
- package/docs/validation/native-capture-sdr-darwin-arm64-node26-review.jsonl +4 -0
- package/docs/validation/native-capture-sdr-darwin-arm64.jsonl +3 -0
- package/docs/validation/print-196-candidate-capabilities.json +28 -0
- package/docs/validation/print-196-candidate-evidence.json +356 -0
- package/docs/validation/print-196-engine-acceptance.json +81 -0
- package/docs/validation/print-detail-capabilities.json +4 -1
- package/docs/validation/print-detail-jpeg-evidence.json +116 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# exposure/metering-scene-radiance.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## createSceneRadianceDerivedExposureMeteringSampleSet
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# exposure/metering-target.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## createExposureMeterTargetFromMeteringResult
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# exposure/metering-temporal.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## meterSceneRadianceTemporalExposure
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# exposure/metering.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## EXPOSURE_METERING_PROFILE_SCHEMA_VERSION
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# exposure/program-line.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## EXPOSURE_PROGRAM_LINE_SCHEMA_VERSION
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# motion/camera-rotation.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## AxisSamplingPitchMicrometers
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# motion/capture-rotation-inverse-mapping.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## calculateCaptureRotationInverseMappings
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# motion/capture-rotation-temporal-quadrature.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## calculateCaptureRotationTemporalQuadrature
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# motion/capture-rotation-trajectory.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## calculateCaptureRotationTrajectories
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# motion/capture-translation-parallax-temporal-quadrature.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## calculateCaptureTranslationParallaxTemporalQuadrature
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# motion/extended-object-projection.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## calculateCaptureExtendedObjectTemporalProjection
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# motion/projected-motion.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## calculateProjectedMotionBlur
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# optics/aperture.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## ApertureVertex
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# optics/circle-of-confusion.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## EquivalentViewingCircleOfConfusion
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# optics/complex-pupil-psf.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## calculateLensComplexPupilPsf
|
|
6
6
|
|
|
@@ -29,6 +29,10 @@ The exact contract is declared below; use the domain guide for assumptions and s
|
|
|
29
29
|
export interface CalculateLensComplexPupilPsfInput {
|
|
30
30
|
profile:
|
|
31
31
|
LensComplexPupilProfile;
|
|
32
|
+
/** Physical pupil-to-image propagation scale in mm. Omission preserves the
|
|
33
|
+
* nominal focal-plane reference. Finite-focus callers must explicitly resolve
|
|
34
|
+
* the supported principal-plane geometry; profile metadata does not do so. */
|
|
35
|
+
propagationDistanceMm?: number;
|
|
32
36
|
}
|
|
33
37
|
```
|
|
34
38
|
|
|
@@ -133,6 +137,8 @@ The exact contract is declared below; use the domain guide for assumptions and s
|
|
|
133
137
|
|
|
134
138
|
```ts
|
|
135
139
|
export interface LensComplexPupilPsf {
|
|
140
|
+
propagationDistanceMm: number;
|
|
141
|
+
propagationDistanceSource: "explicit" | "nominal-focal-plane-reference";
|
|
136
142
|
profileId: string;
|
|
137
143
|
profileVersion: string;
|
|
138
144
|
scientificStatus:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# optics/depth-of-field.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## calculateDefocusCircle
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# optics/diffraction.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## AiryDisk
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# optics/focus-breathing.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## calculateFocusBreathingFieldOfView
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# optics/focus-state.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## calculateFocusPlaneImageDistance
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# optics/front-of-lens-filter.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## ComposedFrontOfLensFilterTransmission
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# optics/illumination-vignetting.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## calculateIlluminationVignetting
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# optics/lateral-chromatic-aberration.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## calculateInverseLateralChromaticAberrationMapping
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# optics/lens-psf-profile.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## assessMtfOnlyPsfRenderability
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# optics/polygon-diffraction.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## CalculateIdealPolygonDiffractionInput
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# optics/profile-contract.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## GenericOpticalEvidence
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# optics/psf-foundation.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## calculatePsfFoundationComponents
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# optics/radial-distortion.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## calculateInverseRadialDistortionMapping
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# optics/scene-to-sensor-irradiance.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## calculateSceneRadianceToSensorIrradiance
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# optics/scene-to-sensor-quadrature.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## calculateSceneToSensorIrradianceQuadrature
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# optics/sensor-environment-query.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## calculateSensorEnvironmentRadianceQuery
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# optics/sensor-psf-quadrature.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## calculateSensorPsfIrradianceQuadrature
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# optics/stray-light.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## calculateLensStrayLightIrradiance
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# optics/thin-lens.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## calculateThinLensImageDistance
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# output/capture-corrected-sdr.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## calculateCaptureCorrectedSdr
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# output/capture-geometry.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## ActiveCaptureFieldOfView
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# output/capture-sdr.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## calculateCaptureSdr
|
|
6
6
|
|
package/docs/api/output-crop.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# output/crop.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## calculateCenteredCrop
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# output/geometric-transforms.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## AffineGeometricTransform
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# output/lens-corrections.ts public contracts
|
|
2
2
|
|
|
3
|
-
Package **1.
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
4
|
|
|
5
5
|
## calculateLensCorrectedCapture
|
|
6
6
|
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
# output/native-capture-sdr.ts public contracts
|
|
2
|
+
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
|
+
|
|
5
|
+
## calculateNativeCaptureSdrPlan
|
|
6
|
+
|
|
7
|
+
Validates/admission-plans without reading external samples or allocating a raster.
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
export function calculateNativeCaptureSdrPlan(input: NativeCaptureSdrInput): NativeCaptureSdrPlan;
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
This call is synchronous; any supplied provider must follow its explicit synchronous contract.
|
|
14
|
+
|
|
15
|
+
## createNativeCaptureSdrTask
|
|
16
|
+
|
|
17
|
+
Creates a single-use execution owner. Admission is validated before any buffer/provider work.
|
|
18
|
+
|
|
19
|
+
```ts
|
|
20
|
+
export function createNativeCaptureSdrTask(input: NativeCaptureSdrInput, provider: NativeCaptureSdrProvider): NativeCaptureSdrTask;
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
This call is synchronous; any supplied provider must follow its explicit synchronous contract.
|
|
24
|
+
|
|
25
|
+
## NATIVE_CAPTURE_SDR_LIMITS
|
|
26
|
+
|
|
27
|
+
The exact contract is declared below; use the domain guide for assumptions and staged integration.
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
NATIVE_CAPTURE_SDR_LIMITS = Object.freeze({ maximumPixels: 24_000_000,
|
|
31
|
+
maximumDimension: 16_384, tileWidth: 256, tileHeight: 32, maximumTileStorageSamples: 32_768 })
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## NATIVE_CAPTURE_SDR_SCHEMA_VERSION
|
|
35
|
+
|
|
36
|
+
The exact contract is declared below; use the domain guide for assumptions and staged integration.
|
|
37
|
+
|
|
38
|
+
```ts
|
|
39
|
+
NATIVE_CAPTURE_SDR_SCHEMA_VERSION = "0.1.0" as const
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## NativeCaptureSdrInput
|
|
43
|
+
|
|
44
|
+
Metadata-only external float master. Samples must already be color/WB resolved.
|
|
45
|
+
|
|
46
|
+
```ts
|
|
47
|
+
export interface NativeCaptureSdrInput {
|
|
48
|
+
capture: SimulatedCapture;
|
|
49
|
+
sourcePlaneId: string;
|
|
50
|
+
outputImageStateId: string;
|
|
51
|
+
profile: SdrRenderingProfile;
|
|
52
|
+
/** Admission limit for retained integer output, before allocation or provider calls. */
|
|
53
|
+
maximumOutputBytes: number;
|
|
54
|
+
}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## NativeCaptureSdrOutput
|
|
58
|
+
|
|
59
|
+
The exact contract is declared below; use the domain guide for assumptions and staged integration.
|
|
60
|
+
|
|
61
|
+
```ts
|
|
62
|
+
export interface NativeCaptureSdrOutput {
|
|
63
|
+
plan: NativeCaptureSdrPlan;
|
|
64
|
+
/** Caller-owned packed row-major RGB; 16-bit codes are numeric, not serialized endian bytes. */
|
|
65
|
+
integerSamples: Uint8Array | Uint16Array;
|
|
66
|
+
diagnostics: SdrRenderingResult["diagnostics"];
|
|
67
|
+
outputEncoding: SdrRenderingResult["outputEncoding"];
|
|
68
|
+
displayAdaptation: SdrRenderingResult["displayAdaptation"];
|
|
69
|
+
}
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## NativeCaptureSdrPlan
|
|
73
|
+
|
|
74
|
+
The exact contract is declared below; use the domain guide for assumptions and staged integration.
|
|
75
|
+
|
|
76
|
+
```ts
|
|
77
|
+
export interface NativeCaptureSdrPlan {
|
|
78
|
+
schemaVersion: typeof NATIVE_CAPTURE_SDR_SCHEMA_VERSION;
|
|
79
|
+
capture: SimulatedCapture;
|
|
80
|
+
sourcePlaneId: string;
|
|
81
|
+
outputImageStateId: string;
|
|
82
|
+
profile: SdrRenderingProfile;
|
|
83
|
+
outputBytes: number;
|
|
84
|
+
/** Logical array payload bound, not JS heap/GPU/process peak memory or device qualification. */
|
|
85
|
+
maximumScratchPayloadBytes: number;
|
|
86
|
+
tileCount: number;
|
|
87
|
+
}
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
## NativeCaptureSdrProvider
|
|
91
|
+
|
|
92
|
+
One provider call at a time. Caller must release decoding/GPU resources on abort/settlement.
|
|
93
|
+
|
|
94
|
+
```ts
|
|
95
|
+
export interface NativeCaptureSdrProvider {
|
|
96
|
+
readTile(request: Readonly<NativeCaptureSdrTileRequest>, signal: AbortSignal): Promise<NativeCaptureSdrTile>;
|
|
97
|
+
/** Must yield to the host event loop, allowing cancellation/input events between tiles. */
|
|
98
|
+
yieldControl(signal: AbortSignal): Promise<void>;
|
|
99
|
+
}
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
## NativeCaptureSdrTask
|
|
103
|
+
|
|
104
|
+
Single-use task: no partial output escapes; cancel/dispose prevents late publication.
|
|
105
|
+
|
|
106
|
+
```ts
|
|
107
|
+
export interface NativeCaptureSdrTask {
|
|
108
|
+
readonly plan: NativeCaptureSdrPlan;
|
|
109
|
+
readonly state: NativeCaptureSdrTaskState;
|
|
110
|
+
readonly completedTileCount: number;
|
|
111
|
+
run(): Promise<void>;
|
|
112
|
+
cancel(): void;
|
|
113
|
+
dispose(): void;
|
|
114
|
+
/** Transfers sole retained buffer ownership once. Dispose cannot revoke a transferred buffer. */
|
|
115
|
+
takeOutput(): NativeCaptureSdrOutput;
|
|
116
|
+
}
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
## NativeCaptureSdrTaskState
|
|
120
|
+
|
|
121
|
+
The exact contract is declared below; use the domain guide for assumptions and staged integration.
|
|
122
|
+
|
|
123
|
+
```ts
|
|
124
|
+
export type NativeCaptureSdrTaskState = "ready" | "running" | "completed" | "cancelled" | "failed" | "disposed" | "transferred";
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
## NativeCaptureSdrTile
|
|
128
|
+
|
|
129
|
+
Returned tile is exclusively handed to this call; do not mutate/reuse it. Padding is not image data.
|
|
130
|
+
|
|
131
|
+
```ts
|
|
132
|
+
export interface NativeCaptureSdrTile extends NativeCaptureSdrTileRequest {
|
|
133
|
+
rowStrideSamples: number;
|
|
134
|
+
samples: Float32Array | Float64Array;
|
|
135
|
+
}
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
## NativeCaptureSdrTileRequest
|
|
139
|
+
|
|
140
|
+
Absolute coordinates in the selected plane's declared binding, never crop-local sensor indices.
|
|
141
|
+
|
|
142
|
+
```ts
|
|
143
|
+
export interface NativeCaptureSdrTileRequest {
|
|
144
|
+
captureId: string;
|
|
145
|
+
sourcePlaneId: string;
|
|
146
|
+
artifactId: string;
|
|
147
|
+
sha256: string;
|
|
148
|
+
x: number; y: number; width: number; height: number;
|
|
149
|
+
}
|
|
150
|
+
```
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# output/print-contrast-reference.ts public contracts
|
|
2
|
+
|
|
3
|
+
Package **1.3.0**, root API **1.3.0**. [Navigation](../API_REFERENCE.md) · [Developer guide](../DEVELOPERS.md). Generated signatures retain independent schema/model versions. Only the exports listed here are root-package contracts; module-local helpers are not supported deep imports.
|
|
4
|
+
|
|
5
|
+
## calculatePrintContrastReference
|
|
6
|
+
|
|
7
|
+
Estimate the restricted published-model threshold; no individual invisibility claim.
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
export function calculatePrintContrastReference(value: PrintContrastReferenceInput): CalculationResult<PrintContrastReference>;
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
This call is synchronous; any supplied provider must follow its explicit synchronous contract.
|
|
14
|
+
|
|
15
|
+
## parsePrintContrastReferenceInput
|
|
16
|
+
|
|
17
|
+
Strictly parse/copy explicit reference conditions; no defaults infer an observer.
|
|
18
|
+
|
|
19
|
+
```ts
|
|
20
|
+
export function parsePrintContrastReferenceInput(value: unknown): PrintContrastReferenceInput;
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
This call is synchronous; any supplied provider must follow its explicit synchronous contract.
|
|
24
|
+
|
|
25
|
+
## PRINT_CONTRAST_REFERENCE_MODEL_VERSION
|
|
26
|
+
|
|
27
|
+
The exact contract is declared below; use the domain guide for assumptions and staged integration.
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
PRINT_CONTRAST_REFERENCE_MODEL_VERSION = "0.1.0" as const
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## PRINT_CONTRAST_REFERENCE_UPSTREAM_REVISION
|
|
34
|
+
|
|
35
|
+
Exact MIT-licensed numerical-model source, not a local calibration identity.
|
|
36
|
+
|
|
37
|
+
```ts
|
|
38
|
+
PRINT_CONTRAST_REFERENCE_UPSTREAM_REVISION = "f4b0b722af83001d7af979281e06ca642d36e4e8" as const
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## PrintContrastReference
|
|
42
|
+
|
|
43
|
+
The exact contract is declared below; use the domain guide for assumptions and staged integration.
|
|
44
|
+
|
|
45
|
+
```ts
|
|
46
|
+
export interface PrintContrastReference {
|
|
47
|
+
referenceId: string;
|
|
48
|
+
engineApiVersion: string;
|
|
49
|
+
modelVersion: typeof PRINT_CONTRAST_REFERENCE_MODEL_VERSION;
|
|
50
|
+
upstreamRevision: typeof PRINT_CONTRAST_REFERENCE_UPSTREAM_REVISION;
|
|
51
|
+
input: PrintContrastReferenceInput;
|
|
52
|
+
status: "model-estimate" | "unsupported";
|
|
53
|
+
blockers: string[];
|
|
54
|
+
estimate: { contrastSensitivity: number; thresholdModulationMichelson: number; suppliedModulationToModelThresholdRatio: number } | null;
|
|
55
|
+
observerApplicability: "population-reference-unverified-for-individual";
|
|
56
|
+
naturalImageVisibility: "unassessed";
|
|
57
|
+
printStimulusMatch: "unassessed";
|
|
58
|
+
uncertainty: "not-quantified";
|
|
59
|
+
overallPrintVerdict: "not-offered";
|
|
60
|
+
}
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## PrintContrastReferenceInput
|
|
64
|
+
|
|
65
|
+
Narrow reference stimulus, separate from any measured photographic ROI.
|
|
66
|
+
Positive but out-of-domain quantities return unsupported rather than extrapolation.
|
|
67
|
+
|
|
68
|
+
```ts
|
|
69
|
+
export interface PrintContrastReferenceInput {
|
|
70
|
+
referenceId: string;
|
|
71
|
+
stimulus: "static-neutral-d65-gabor";
|
|
72
|
+
observer: "published-binocular-natural-pupil-reference";
|
|
73
|
+
/** Uniform D65 background/carrier mean; not the average of a finite photographic ROI. */
|
|
74
|
+
meanLuminanceCdPerSquareMeter: number;
|
|
75
|
+
spatialFrequencyCyclesPerDegree: number;
|
|
76
|
+
gaussianEnvelopeSigmaDegrees: number;
|
|
77
|
+
temporalFrequencyHz: number;
|
|
78
|
+
eccentricityDegrees: number;
|
|
79
|
+
/** Neutral carrier fractional amplitude before the Gaussian envelope; not arbitrary ROI extrema. */
|
|
80
|
+
modulationMichelson: number;
|
|
81
|
+
}
|
|
82
|
+
```
|