---
# System prepended metadata

title: Salt variance calculations

---

# Salt variance calculations

### Compare total mixing using all three methods

Use the 'total anomaly' method and the 'residual' method, and the new 'total' method in the overleaf paper: https://www.overleaf.com/1241767853pvsfrhntsrnm


### Calculate layers

1. Explore methods to conservatively average transport in salinity space.
    a. Needs to be limited to the salinity boundaries of the unfiltered transport
    b. Needs to deal with possible empty cells in the histogram. Maybe 'merge' adjacent cells?

2. Create code to calculate mixing within each flow pathway, and find the relative contribution of each inflow (and outflow). If there is a contribution below some percent, continue to average.