MCCMemoryUsage#

class MCCMemoryUsage(fast_shape, ft_shape, float_nbytes, complex_nbytes, integer_nbytes)[source]#

Bases: MemoryProfile

tme.matching_scores.mcc_setup() memory estimator.

Attributes

MCCMemoryUsage.base_complex

Number of shared complex arrays

MCCMemoryUsage.base_float

Number of shared real arrays

MCCMemoryUsage.fork_complex

Number of complex arrays per fork

MCCMemoryUsage.fork_float

Number of real arrays per fork

Methods

MCCMemoryUsage.base_usage()

Return the base memory usage in bytes.

MCCMemoryUsage.per_fork()

Return the memory usage per fork in bytes.