Derive Photometry Tool
The Derive Photometry Tool transfers the directional change between two reference distributions to one or more source photometries. It creates new distributions without modifying the selected originals. Multiplier limits bound the amount of attenuation or amplification, including directions where the reference base contains little or no light.
Selection And Workflow
- Select the original reference distribution first: Reference Base.
- Select the changed reference distribution second: Reference Modified.
- Select one or more distributions to transform: Sources.
- Open TOOLS > Derive Photometry Tool and verify the distributions shown in each column.
- Set Minimum multiplier and Maximum multiplier, then click Derive Photometries.
Selection order determines the roles. The tool accepts both individual emitter channels and resulting luminaire photometries. At least three suitable selections and valid multiplier limits are required to enable the derivation button.
Multiplier Limits
| Setting | Default | Meaning |
|---|---|---|
| Minimum multiplier | 0.3 | Smallest permitted multiplier of a source intensity sample. |
| Maximum multiplier | 3.0 | Largest permitted multiplier of a source intensity sample. |
Both limits must be finite, nonnegative numbers, and the minimum must not exceed the maximum. Equal limits apply a constant multiplier. Setting the minimum to zero permits directions to become dark; setting both limits to zero produces an all-zero distribution.
Edits are committed when the field loses focus or Enter is pressed. Invalid entries have a red background and disable derivation until corrected. The current fields are also checked before running the action. Limits remain in effect on the open page when the selection changes.
These are dimensionless multipliers, not candela thresholds or percentages. With the default limits, each derived sample is between 30% and 300% of its source intensity. A source sample that is zero remains zero.
Calculation
At each stored direction of a source photometry, the tool interpolates the absolute intensities of both references, taking their photometry types and symmetry into account. It then calculates:
raw multiplier = Reference Modified intensity / Reference Base intensity
multiplier = clamp(raw multiplier, minimum multiplier, maximum multiplier)
Derived intensity = Source intensity * multiplier
For a source intensity of 100 cd and the default limits:
| Base intensity | Modified intensity | Raw ratio | Applied multiplier | Derived intensity |
|---|---|---|---|---|
| 100 cd | 10 cd | 0.1 | 0.3 | 30 cd |
| 100 cd | 150 cd | 1.5 | 1.5 | 150 cd |
| 100 cd | 500 cd | 5.0 | 3.0 | 300 cd |
| 0 cd | 100 cd | Undefined | 3.0 | 300 cd |
| 0 cd | 0 cd | Undefined | 1.0 | 100 cd |
Zero And Near-Zero References
The absolute near-zero threshold is 1e-9 cd. If the base is at or below this threshold and the modified reference is above it, the maximum multiplier is used. If both are at or below the threshold, the tool starts with a neutral multiplier of 1 and clamps it to the selected limits. Neither condition stops derivation. Ordinary ratios outside the permitted range are also capped rather than reported as errors.
Outputs And Undo
Each source produces a new, unsaved, single-channel luminaire named Derived - <source name>. The outputs become selected. Save them explicitly when the results are satisfactory.
The source's exact angular grid, photometry type, resolution, symmetry, geometry, metadata and colour samples are retained. Sample flux and photometric metrics are recalculated. There is no luminous-flux normalization or additional channel scaling: the resulting flux follows from the changed intensities.
A symmetric source remains symmetric. The reference ratio is evaluated at its stored directions, not used to expand it into an asymmetric full-sphere distribution. If asymmetric output is needed, prepare a source grid with the required coverage before deriving.
Undo removes the complete batch created by the action. Redo restores the same output objects without recalculating them against changed references or settings. Invalid source data, nonfinite intensities or output intensity/flux overflow still reject the batch without creating partial results.
Interpretation
Use references representing comparable conditions, with matching physical orientation and compatible intensity units. Different photometry types and angular resolutions can be interpolated, but the tool does not infer or correct a physical rotation between measurements. The calculation transfers a measured or assumed directional ratio; it does not simulate the optical system or establish that the derived distribution is physically realizable. Compare the results with the originals and validate them against measurements where accuracy is critical.
Command API
DerivePhotometry <base-id> <modified-id> <source-id> [source-id ...] [/ <minimum> <maximum>]
The optional limits default to 0.3 and 3.0. For example, DerivePhotometry 12 13 20 21 / 0.5 2.0 uses limits of 0.5 and 2.0 for both sources. IDs are session-local IntensityModel IDs, not parent LuminaireModel IDs. Success returns the new output IDs separated by spaces; failure returns ERROR: .... See the API reference.