% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/calculate_properties.R
\name{calculate_weighted_average_network_distance}
\alias{calculate_weighted_average_network_distance}
\title{Calculate Weighted Average Network Bond Distance}
\usage{
calculate_weighted_average_network_distance(
  distances,
  atomic_coordinates,
  wyckoff_symbols
)
}
\arguments{
\item{distances}{A \code{data.table} of interatomic distances filtered to include
\strong{only bonded pairs} (e.g., from \code{minimum_distance}).}

\item{atomic_coordinates}{A \code{data.table} of asymmetric atoms from
\code{extract_atomic_coordinates}.}

\item{wyckoff_symbols}{A character vector of Wyckoff symbols defining the
atomic network (e.g., \code{c("6c", "16i", "24k")}). Must be the full symbol.}
}
\value{
A single numeric value representing the weighted average bond distance.
}
\description{
Computes a single, representative bond length for a specified atomic
network. This function precisely implements the validated logic that accounts
for site multiplicity and occupancy of the central atoms.
}
\examples{
dists <- data.table::data.table(Atom1 = "Si1", Atom2 = "O1", Distance = 1.6)
ac <- data.table::data.table(Label = c("Si1", "O1"),
                             WyckoffMultiplicity = c(4, 4),
                             WyckoffSymbol = c("c", "c"),
                             Occupancy = c(1, 1))
calculate_weighted_average_network_distance(dists, ac, wyckoff_symbols = "4c")
}
\seealso{
Other post-processing: 
\code{\link{filter_ghost_distances}()},
\code{\link{set_radii_data}()}
}
\concept{post-processing}
