aPriori.DNS.section_and_average¶
- aPriori.DNS.section_and_average(x, y, n_sections)¶
Divides the given array into sections and computes the average for each section.
Parameters:¶
- xnp.ndarray
Array of x coordinates.
- ynp.ndarray
Array of y values.
- n_sectionsint
Number of sections to divide the data into.
Returns:¶
: tuple of np.ndarray
Tuple containing the averaged x and y values.