flux_cut function

filter cut data before calculating fluxes