aldtimes : get delta times to previous event from all pixels

tesfdmtools.methods.aldtimes.aldtimes(comm, rank, hdf, channel=None, frequencies=None, nrecs='all', threshold=2000, debug=False)[source]

Go through all frequencies and store eventtimes. Combine and sort these times to obtain delta times for all events to the previous event, and separate for each frequency (pixel).

Args:
  • comm = the MPI identifier for the common process

  • rank = the rank of this process

  • hdf = the hdf data file

Kwargs:
  • channel = the hdf channel to use

  • frequencies = list of frequencies to process for this pid

  • nrecs = number of records to process ( all is all records )

  • threshold = threshold for events to consider

  • debug = debug flag; when True show debug information

tesfdmtools.methods.aldtimes.selectald(indx, deltatims, etprev=[None, None], debug=False)[source]

Make new index for events which have delta-times within the given window

Args:
  • indx = index of events to consider

  • deltatims = delta times to previous event for all events

Kwargs:
  • etprev = time window [min,max] for valid event

  • debug = print debug information when set True