1482 |
|
</pre> |
1483 |
|
|
1484 |
|
<p> |
1485 |
< |
The first two real arguments indicate the limits of the covered |
1485 |
> |
The first two real arguments indicate the extrema of the |
1486 |
|
spectral range in nanometers. |
1487 |
< |
Subsequent real values correspond to multipliers in each wavelength band, |
1488 |
< |
where the first band goes from nmA to nmA+(nmB-nmA)/N, and N is the |
1489 |
< |
number of bands (i.e., the number of real arguments minus 2). |
1490 |
< |
The nmA wavelength may be greater or less than the nmB wavelength, |
1491 |
< |
but they may not be equal, and their ordering must correspond to |
1492 |
< |
the ordering of the spectral values. |
1487 |
> |
Subsequent real values correspond to multipliers at each wavelength. |
1488 |
> |
The nmA wavelength may be greater or less than nmB, |
1489 |
> |
but they may not be equal, and their ordering matches |
1490 |
> |
the order of the spectral values. |
1491 |
|
A minimum of 3 values must be given, which would act |
1492 |
|
more or less the same as a constant RGB multiplier. |
1493 |
|
As with RGB values, spectral quantities normally range between 0 |
1540 |
|
|
1541 |
|
<pre> |
1542 |
|
mod specfunc id |
1543 |
< |
2+ sval funcfile transform |
1543 |
> |
2+ sfunc funcfile transform |
1544 |
|
0 |
1545 |
|
2+ nmA nmB A3 .. |
1546 |
|
</pre> |
1548 |
|
<p> |
1549 |
|
Like the spectrum primitive, the wavelength range is specified |
1550 |
|
in the first two real arguments, and additional real values are |
1551 |
< |
accessible to the sval function. |
1551 |
> |
set in the evaluation context. |
1552 |
|
This function is fed a wavelenth sample |
1553 |
|
between nmA and nmB as its only argument, |
1554 |
|
and it returns the corresponding spectral intensity. |