Checks validity of the array.

checkPI0_mat(mat, params)

Arguments

mat

a 3D array of dimensions (1:Nhost,1:Npatho,1:Npoly)

params

a LandsepiParams object.

Value

the same array at mat, possibly corrected if incompatibility has been detected