1207 |
|
0 |
1208 |
|
5+ nmA nmB s1 s2 .. sN |
1209 |
|
.DE |
1210 |
< |
The first two real arguments indicate the limits of the covered |
1210 |
> |
The first two real arguments indicate the extrema of the |
1211 |
|
spectral range in nanometers. |
1212 |
< |
Subsequent real values correspond to multipliers in each wavelength band, |
1213 |
< |
where the first band goes from nmA to nmA+(nmB-nmA)/N, and N is the |
1214 |
< |
number of bands (i.e., the number of real arguments minus 2). |
1215 |
< |
The nmA wavelength may be greater or less than the nmB wavelength, |
1216 |
< |
but they may not be equal, and their ordering must correspond to |
1217 |
< |
the ordering of the spectral values. |
1212 |
> |
Subsequent real values correspond to multipliers at each wavelength. |
1213 |
> |
The nmA wavelength may be greater or less than nmB, |
1214 |
> |
but they may not be equal, and their ordering matches |
1215 |
> |
the order of the spectral values. |
1216 |
|
A minimum of 3 values must be given, which would act |
1217 |
|
more or less the same as a constant RGB multiplier. |
1218 |
|
As with RGB values, spectral quantities normally range between 0 |
1249 |
|
pattern, similar to the colorfunc type. |
1250 |
|
.DS |
1251 |
|
mod specfunc id |
1252 |
< |
2+ sval funcfile transform |
1252 |
> |
2+ sfunc funcfile transform |
1253 |
|
0 |
1254 |
|
2+ nmA nmB A3 .. |
1255 |
|
.DE |
1256 |
|
Like the spectrum primitive, the wavelength range is specified |
1257 |
|
in the first two real arguments, and additional real values are |
1258 |
< |
accessible to the sval function. |
1258 |
> |
set in the evaluation context. |
1259 |
|
This function is fed a wavelenth sample |
1260 |
|
between nmA and nmB as its only argument, |
1261 |
|
and it returns the corresponding spectral intensity. |