module SMLMAssociationAnalysis_NCB

using Distributed
using LocalizationMicroscopy
using NearestNeighbors
using SharedArrays
using StatsPlots
using Statistics
using Tau

include("data/Molecule.jl")
include("data/ChannelData.jl")
include("data/Result.jl")
include("utilities.jl")
include("analysis/process.jl")
include("analysis/grouping.jl")
include("analysis/association.jl")
include("analysis/simulate.jl")
include("plots.jl")

export ChannelData, Molecule, Result, ResultSimulate
export ChannelDataOptimizing, ResultOptimizing
export getmolecules, exclusivenearestneighbors, montecarloaffinity
export moleculesplot, localizationsplot, insetplot, distanceprobabilityplot, neighborsplot, neighborsplot_forprint
export localizationsplot_forprint
export moleculesinsetplot, localizationsinsetplot, insetplot_forprint
export moleculesinsetplot_forprint, localizationsinsetplot_forprint
export randomcoordinates2d
export merge_close_molecules
export moleculesplot_sim
export simulate100, simulate0
end
