weight_one#

pybrops.breed.prot.sel.weightfn.weight_one(u_a)[source]#

Construct marker weights for even weighing.

Parameters:

u_a (numpy.ndarray) – A matrix of additive genomic marker effects of shape (p_a,t)

Returns:

out – A matrix of ones of shape (p_a,t)

Return type:

numpy.ndarray