function [st_time, en_time]=get_med(cast)
% get_med.m - loads in medusa data

if cast == 2
  load ../medusa/sam002.flt
  sam=sam002;
  day = 208;
elseif cast == 3
  load ../medusa/sam003.flt
  sam=sam003;
  day = 209;
elseif cast == 4
  load ../medusa/sam004.flt
  sam=sam004;
  day = 210;
elseif cast == 6
  load ../medusa/sam006.flt
  sam=sam006;
  day = 212;
elseif cast == 7
  load ../medusa/sam007.flt
  sam=sam007;
  day = 213;
end

evt=sam(:,1);

st_mon=sam(:,2);
st_day=sam(:,3);
st_yr=sam(:,4);
st_hh=sam(:,5);
st_mm=sam(:,6);
st_ss=sam(:,7);
% 8 & 9 are volts
temp=sam(:,10);
port = sam(:,11);
ml=sam(:,12);
sec_p=sam(:,13);
en_mon=sam(:,14);
en_day=sam(:,15);
en_yr=sam(:,16);
en_hh=sam(:,17);
en_mm=sam(:,18);
en_ss=sam(:,19);


st_time=day+st_hh/24+st_mm/24/60+st_ss/24/60/60;
en_time=day+en_hh/24+en_mm/24/60+en_ss/24/60/60;

