def itn_map(sp_sub, a1, a2): itn = sp_sub.copy('F') itn = stukel_invlogit(itn,a1,a2) return itn
def allele(sp_sub, a): allele = sp_sub.copy("F") allele = stukel_invlogit(allele, *a) return allele