text="Found %d beamlets that have the same distance from the source position. Therefore a unique central beamlet does not exist."%(values.count(minimal_distance))
text="Found %d beamlets that have the same distance from the source position. Therefore a unique central beamlet does not exist."%(
values.count(minimal_distance))
logger.error(text)
raiseValueError(text)
...
...
@@ -237,7 +241,9 @@ class HolographyDataset():
# the set will be 1.
central_beamlet_set=set(central_beamlet.values())
iflen(central_beamlet_set)==1:
logger.debug("All is good, unicorns everywhere, there is only one central beamlet \"%s\" for all _frequencies.",central_beamlet_set)
logger.debug(
"All is good, unicorns everywhere, there is only one central beamlet \"%s\" for all _frequencies.",
central_beamlet_set)
else:
logger.warning("Multiple central beamlets have been identified: ",central_beamlet)