autopdex.geometry.only_positive

autopdex.geometry.only_positive(o)[source]

Set negative regions to zero by manipulating values using the formula (o + jnp.sqrt(o**2)) / 2.