EraseUlor
Set existing Type-C intensity samples at or above a gamma angle to zero.
Undo support: Yes. Undo restores the original channel distribution; redo reapplies the cutoff.
Syntax
EraseUlor <emitterId> [<emitterId> ...] / <gammaStartDegrees>
The angle must be finite and between 0 and 180 degrees. The Edit toolbar's Erase ULOR button uses 90 degrees, including horizontal samples. Every target must be an editable Type-C photometry. Mixed Type-A/Type-B selections disable the button. Combined multi-emitter results are not editable channels; select their emitters instead. Duplicate IDs are processed once.
Example
EraseUlor 12 13 / 90
Replace the IDs with emitter IDs from your session. A successful request returns
OK, including when no samples need changing. Invalid input returns ERROR:.
Effect on Data
Only the affected intensity and stored flux values are zeroed. Angular headers, resolution, symmetry, lamp properties, color data and ray hit counts are retained. Derived photometric calculations are refreshed, and the removed luminous flux is not redistributed. Save to a new file when the original measurement is required.
No boundary sample is inserted. If the measured gamma planes skip the cutoff, interpolation between the last retained and first erased samples can still cross the cutoff. This command erases stored samples; it does not impose a separate continuous clipping function. Limited-coverage files without affected samples remain unchanged.
Implementation: EraseUlorAction.h; IntensityMesh::EraseUlor.