ezmsg.simbiophys.line_noise.MLX_BROADCAST_MIN_ELEMENTS#

MLX_BROADCAST_MIN_ELEMENTS = 200000#

Minimum signal size for keeping line-noise addition on MLX.

Below this crossover, MLX dispatch costs more than the existing fused NumPy round-trip. Above it, transferring only the single generated sine column and broadcasting on-device avoids converting the full sample-by-channel signal.