hiv_workflow.lib.analysis.hiv_analyzer module

class hiv_workflow.lib.analysis.hiv_analyzer.HIVAnalyzer(site, weight, channel, scale_population, distribution, provinciality, age_bins='all', debug=False, verbose=True, output_dir='output')

Bases: idmtools_calibra.analyzers.base_calibration_analyzer.BaseCalibrationAnalyzer

exception ProvincialityException

Bases: Exception

exception MissingDataException

Bases: Exception

exception InvalidSiteException

Bases: Exception

SIM_RESULT_CHANNEL = 'Result'
log_float_tiny = -708.3964185322641
AGGREGATED_NODE_MAP = {0: 'All'}
classmethod construct_post_process_filename(channel)
map(data, item)

In parallel for each simulation/work item, consume raw data from filenames and emit selected data.

Parameters
  • data – A dictionary associating filename with content for simulation data.

  • itemIItem object that the passed data is associated with.

Returns

Selected data for the given simulation/work item.

compare(sample, stratifiers, distribution, reference_channel, data_channel)
reduce(all_data)

Combine the simulation data into a single table for all analyzed simulations.

compute_pop_scaling_factor(pop_df)