import copy


def calibrate_module_mp(chip):
    """
    This helper function is used to calibrate an entire module using multiprocessing. This ensures that each individual chip does
    not itself attempt to spawn additional processes.
    """
    chip.calibrate(num_cores=1)
    return copy.copy(chip)