コード例 #1
0
 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);
 }
コード例 #2
0
    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);
    }