Calculate the difference of area under curve between two curves

AUC_of_cross_function(df.cross)

Arguments

df.cross

Dataframe containing the positions of the two curves