get_ww_weights

outbreak_tools.get_ww_weights(df, loaded=True)

Get default weights for aggregating wastewater data.

Parameters
  • df -- pandas dataframe of samples to be weighted.

  • loaded -- whether to incorporate viral load data.

Returns

a pandas series of sample weights.