def place_sign(self, pos, lines=[], **place_block_kwargs):
        if self.inventory.active_slot.item_id != 323:
            raise ValueError('Must hold sign to place, not "%s"'
                             % self.inventory.active_slot.item)

        def write_sign_text(event, packet):
            data = {'location': packet.data['location']}
            for i in range(4):
                data['line_%i' % (i + 1)] = lines[i] if i < len(lines) else ''

            self.net.push_packet('PLAY>Update Sign', data)
            return EVENT_UNREGISTER

        self.event.reg_event_handler('PLAY<Sign Editor Open', write_sign_text)
        self.place_block(pos, **place_block_kwargs)
Compute the distance between the mean masked features.
dataset/ETHPy150Open SpockBotMC/SpockBot/spockbot/plugins/helpers/interact.py/InteractPlugin.place_sign--crossover with--dataset/ETHPy150Open kwikteam/phy/phy/stats/clusters.py/get_mean_masked_features_distance