%prep3d
%must run clean_menuP or clean_mission first, to generate Xpos, etc.
load mission
z=-depth;
outdata=[Xpos Ypos z Biolum T];
save threed outdata  -ASCII -TABS
