private void UpdateDistributionPower() { // Some sites may not have a mean (e.g. Reachibility) if (UseNonlinearDistribution && siteMean > 0) { distributionPower = Mathf.Log(siteMean) * InvMeanThresholdLog; } else { distributionPower = 1; } chart.SetPower(distributionPower); }
private void UpdateDistributionPower() { // Some sites may not have a mean (e.g. Reachibility) var mean = filterValsInPercent ? siteMeanPercent : siteMean; if (UseNonlinearDistribution && mean > 0) { distributionPower = Mathf.Log(mean) * InvMeanThresholdLog; } else { distributionPower = 1; } chart.SetPower(distributionPower); }