Skip to content
Snippets Groups Projects
Select Git revision
  • d42b0b400b85d721f22da38f6afb224c66734214
  • master default protected
2 results

FT_example2.m

Blame
    • adf's avatar
      ef25ce70
      · ef25ce70
      adf authored
      adding current code of SimTools.
      
      ef25ce70
      History
      adf authored
      adding current code of SimTools.
      
    Segmentor.py 645 B
    class Segmentor:
        # Extracts proper window times for a given science segment
        # Grant David Meadors
        # 02012-07-29 (JD 2456139)
        # g m e a d o r s @ u m i c h . e d u
    
        def __init__(self, T, ii):
            # Find the subdivision times for the specific segment
            # by looking at an 'ii'th element of 'T.list'
            self.tA = T.list[0][ii]
            self.tB = T.list[1][ii]
            self.tIsPreceded = T.list[2][ii]
            self.tIsFollowed = T.list[3][ii]
    
            # Apply the subdivider to that specific segment,
            # Which gives 1024 second windows out to tSub.
            print 'Beginning science segment ... ' + str(ii+1)