A non-transitory computer-readable medium including computer-executable instructions that, when executed by a processor, facilitate carrying out a method in a system for obtaining animal data from a group of animals, for calibrating a plurality of sensors of the system, wherein the sensors are configured to obtain measurements of an animal related parameter, wherein for obtaining the measurements the system is configured for allowing each animal to arbitrary visit one of the sensors, wherein the method comprises:
- obtaining, for at least one animal of the group of animals, a first measurement associated with a first sensor of the plurality of sensors;
- calculating one or more relations between the first measurement and one or more second measurements associated with the respective animal, wherein each of the second measurements is obtained using one of a further sensor of the plurality of sensors, wherein the one of the further sensors is different from the first sensor, so as to obtain at least one representative relation for each combination of the first sensor and each one of the further sensors;
- obtaining a reference measurement of the at least one animal related parameter using at least one sensor of the plurality of sensors;
- and
- calculating, based on the reference measurement and the at least one representative relation, a correction parameter associated with at least one sensor of the plurality of sensors, for harmonizing an output signal of the at least one sensor with respect to output signals of one or more of the further sensors of the plurality of sensors.