(value, nfinite, result)
return nfinite, result
Calculate the window min with new value.
Calculate the window min with new value.
Calculate the window min with new value .
def put_min(value, nfinite, result):
    """Calculate the window min with new value."""
    if numpy.isfinite(value):
        nfinite += 1
        if numpy.isnan(result) or value < result:
            result = value

    return nfinite, result
def put_min ( value , nfinite , result ) : if numpy . isfinite ( value ) : nfinite += 1 if numpy . isnan ( result ) or value < result : result = value return nfinite , result