复制到#

astropy.utils.masked.function_helpers.copyto(dst, src, casting='same_kind', where=True)[源代码]#

将值从一个数组复制到另一个数组,并根据需要进行广播。

喜欢 numpy.copyto ,但用于掩码的目的地 dst 可能还有被屏蔽的线人 src