def setup(self):
if not self.networks():<EOL><INDENT>super(FunctionLearning, self).setup()<EOL>for net in self.networks():<EOL><INDENT>self.models.SinusoidalFunctionSource(network=net)<EOL><DEDENT><DEDENT>
Setup does stuff only if there are no networks.

        This is so it only runs once at the start of the experiment. It first
        calls the same function in the super (see experiments.py in dallinger).
        Then it adds a source to each network.