drift.pipeline.timestream

Functions

cross_powerspectrum(timestreams, psname, psfile)

simulate(m, outdir[, maps, ndays, ...])

Create a simulated timestream and save it to disk.

Classes

Timestream(tsdir, prodmanager)

Create a new Timestream object.

drift.pipeline.timestream.simulate(m, outdir, maps=[], ndays=None, resolution=0, seed=None, **kwargs)

Create a simulated timestream and save it to disk.

Parameters:
  • m (ProductManager object) – Products of telescope to simulate.

  • outdir (directoryname) – Directory that we will save the timestream into.

  • maps (list) – List of map filenames. The sum of these form the simulated sky.

  • ndays (int, optional) – Number of days of observation. Setting ndays = None (default) uses the default stored in the telescope object; ndays = 0, assumes the observation time is infinite so that the noise is zero.

  • resolution (scalar, optional) – Approximate time resolution in seconds. Setting resolution = 0 (default) calculates the value from the mmax.

Returns:

timestream

Return type:

Timestream