lin_interp#

beatmap.utils.lin_interp(df, val)#

Linerarly interpolates between two points.

Specifically designed to find the relp corresponding to some value of n.

Parameters:
dfdataframe

Contains raw data, realtaive pressure (relp) and amount adsorbed (n).

Returns:
interp_valfloat

The relp corresponding to some n, between two (n, relp) points.