def __init__(
self, bins, period=1e-3,
gulp_size=4096 * 256, dispersion_measure=0,
core=-1):
"""
@param[in] bins The total number of bins to fold into
@param[in] period Period to fold over (s)
@param[in] gulp_size How many bytes of the ring to
read at once.
@param[in] dispersion_measure DM of the desired
source (pc cm^-3)
@param[in] core Which OpenMP core to use for
this block. (-1 is any)
"""
super(FoldBlock, self).__init__()
self.bins = bins
self.gulp_size = gulp_size
self.period = period
self.dispersion_measure = dispersion_measure
self.core = core
self.data_settings = {}
评论列表
文章目录