queso_cluster.atoms.aux#

file:

queso_cluster/atoms/aux

lang:

python

synopsis:

author:

Sarah Riley <academic@sriley.dev>

Functions#

almost_factors(number)

close_factors(number)

common_elements(ar1, ar2, ar3)

convertTime(dates[, baseFormat, ref])

Converts time stamps into seconds

density_hist2d(data, dy, top, bottom)

pick_jth_label(labelLst, j)

Module Contents#

almost_factors(number)[source]#
close_factors(number)[source]#
common_elements(ar1, ar2, ar3)[source]#
convertTime(dates, baseFormat='%Y-%m-%dT%H:%M:%S', ref=False)[source]#

Converts time stamps into seconds

Parameters:
  • dates (list) – list containing the datetime stamps from header information

  • baseFormat (str, optional) – String format for the datetime without microseconds

  • ref (boolean, optional) – Boolean to decide if you want to use the initial datetime stamp as a reference

Returns:

1D array containing time in units of seconds since 1970 Jan 01

Return type:

ndarray

density_hist2d(data, dy, top, bottom)[source]#
pick_jth_label(labelLst, j)[source]#