Search in sources :

Example 1 with DensityCounter

use of uk.ac.sussex.gdsc.core.clustering.DensityCounter in project GDSC-SMLM by aherbert.

the class PulseActivationAnalysis method createDensityCounter.

private void createDensityCounter(float densityRadius) {
    if (dc == null || dc.getRadius() != densityRadius) {
        dc = new DensityCounter(specificActivations, densityRadius, false);
        // Clear cache of density
        density = null;
    }
}
Also used : DensityCounter(uk.ac.sussex.gdsc.core.clustering.DensityCounter)

Aggregations

DensityCounter (uk.ac.sussex.gdsc.core.clustering.DensityCounter)1