check_y_intercept_positive¶
- beatmap.core.check_y_intercept_positive(intercept)¶
Checks that y intercept of the BET plot’s linear regression is positive.
- Parameters:
- interceptndarray
2D array of y-intercept values.
- Returns:
- ndarray
Array of 1s and 0s where 0 corresponds to relative pressure ranges where the y-intercept is negative or zero, ie ranges that fail this check.