Module:MOS mode degrees: Difference between revisions
m Removed test code |
m comments again |
||
| Line 69: | Line 69: | ||
end | end | ||
-- Get the brightness (UDP) and rotational orderings | -- Get the brightness (UDP) and rotational orderings (CPOs). | ||
local udps = {} | local udps = {} | ||
local cpos = {} | local cpos = {} | ||
| Line 78: | Line 78: | ||
-- Modmos udps require a mosabbrev; this is forced to be "m" since some | -- Modmos udps require a mosabbrev; this is forced to be "m" since some | ||
-- abbrevs are tooo long. | -- abbrevs are tooo long. | ||
-- The CPOs of a modmos are simply 1 to n (n is the mode count). | |||
udps = tamnams.mode_rotation_udps(step_pattern, input_mos, "m") | udps = tamnams.mode_rotation_udps(step_pattern, input_mos, "m") | ||
for i = 1, #udps do | for i = 1, #udps do | ||