Match

cosmic.Match.match(dataCm)

Performs the Match calculation in Eq. 1 of Breivik & Larson (2018)

Parameters

dataCm : list

List of two cumulative data sets for a single paramter

Returns

match : list

List of matches for each cumulative data set

binwidth : float

Binwidth of histograms used for match computation

cosmic.Match.perform_convergence(conv_params, conv_1, conv_2, log_file)

Performs the convergence calculations for each convergence parameter and binary state

Parameters

conv_params : dict

List of user supplied convergence parameters

conv_1 : DataFrame

Cumulative data set of conv arrays

conv_2 : DataFrame

Most recent data set of conv array from most recent BSE run

log_file : file write

File to log matches or if the convergence params are not appropriate e.g. eccentricity for a disrupted system

Returns

match : array

Matches for each cumulative data set