def generate_f_score_gate( neg_smaple, pos_sample, chan, beta=1, theta=2, high=True): """ given a negative and a positive sample, calculate the 'optimal' threshold gate position from aproximate f-score calculat
# intersect manifold with vantage vectors # calculate distance dist_A_alpha = dist_A dist_B_alpha = dist_B # calculate lambda # sinusoid taking as input the angle between vantage and line AB (separating the two targets) line_AB = np3_to_vector3(PAB).perpendicular() angle_A = py_ang...