NSP.arcsinh#
missionbio.demultiplex.protein.nsp.NSP.arcsinh
- NSP.arcsinh(reads: ndarray, jitter: Optional[float] = None) ndarray #
Get the asinh transformed values of the reads
- Parameters:
reads – np.ndarray The raw counts of the reads
jitter – float The standard deviation of the jitter to be added to the read counts before applying arcsinh. The jitter is sampled from a normal distribution cenetered at 0.
- Returns:
The asinh transformed values of the reads with some noise added to it.
- Return type:
np.ndarray
< Class NSP