original_docstring:  Search of a small segment of data without dedispersion.
      Intended to test calibration quality.
      
docstring: Search of a small segment of data without dedispersion.
  Intended to test calibration quality.
docstring_tokens: Search of a small segment of data without dedispersion . Intended to test calibration quality .
code: def calimg():
      """ Search of a small segment of data without dedispersion.
      Intended to test calibration quality.
      """
  
      import realtime.RT as rt
      import realtime.parsesdm as ps
  
      timescale = 1.  # average to this timescale (sec)
  
      for scan in scans:
          state = ps.get_metadata(workdir + filename, scan, chans=chans, spw=spw)
          read_downsample = int(timescale/state['inttime'])
          rt.set_pipeline(state, nthread=1, nsegments=0, gainfile=workdir + gainfile, bpfile=workdir + bpfile, dmarr=[0], dtarr=[1], timesub='', candsfile='', noisefile='', sigma_image1=sigma_image1, flagmode=flagmode, flagantsol=flagantsol, searchtype=searchtype, uvres=uvres, npix=npix, read_downsample=read_downsample)
          q.enqueue_call(func=rt.pipeline, args=(state, state['nsegments']/2), timeout=24*3600, result_ttl=24*3600)
code_tokens: def calimg ( ) : import realtime . RT as rt import realtime . parsesdm as ps timescale = 1. for scan in scans : state = ps . get_metadata ( workdir + filename , scan , chans = chans , spw = spw ) read_downsample = int ( timescale / state [ 'inttime' ] ) rt . set_pipeline ( state , nthread = 1 , nsegments = 0 , gainfile = workdir + gainfile , bpfile = workdir + bpfile , dmarr = [ 0 ] , dtarr = [ 1 ] , timesub = '' , candsfile = '' , noisefile = '' , sigma_image1 = sigma_image1 , flagmode = flagmode , flagantsol = flagantsol , searchtype = searchtype , uvres = uvres , npix = npix , read_downsample = read_downsample ) q . enqueue_call ( func = rt . pipeline , args = ( state , state [ 'nsegments' ] / 2 ) , timeout = 24 * 3600 , result_ttl = 24 * 3600 )
short_docstring: Search of a small segment of data without dedispersion.
short_docstring_tokens: Search of a small segment of data without dedispersion .
comment: """ Search of a small segment of data without dedispersion.
      Intended to test calibration quality.
      """$SEP$# average to this timescale (sec)