Created
May 29, 2014 15:46
-
-
Save ShaneDrury/aa7cd65dbf9aceea192e to your computer and use it in GitHub Desktop.
Decorators for Simulation Idea
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my_sim = Simulation(simulation_args) | |
@my_sim.register_measurement(measurement_args) | |
def my_measurement(args): | |
do_stuff(args) | |
if __name__ == '__main__': | |
my_sim.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment