@antennas.setter
    def antennas(self, input_):
        self._antennas = input_
        self.has_antennas = len(input_) > 0
        for r in self._records:
            if r.position.antenna in self._antennas:
                r.position.location = self._antennas[r.position.antenna]
            else:
                r.position.location = None
dataset/ETHPy150Open yvesalexandre/bandicoot/bandicoot/core.py/User.antennas/original