scglue.utils.get_rs

scglue.utils.get_rs(x=None)[源代码]

Get random state object

参数:

x (typing.Union[RandomState, int, None]) – Object that can be converted to a random state object

返回类型:

RandomState

返回:

rs – Random state object