projects
/
sawsim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04b8ed2
)
No need for `if __name__ == '__main__'` in velocity_dependant_scan.
author
W. Trevor King
<wking@drexel.edu>
Wed, 20 Oct 2010 07:21:41 +0000
(
03:21
-0400)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 20 Oct 2010 07:21:41 +0000
(
03:21
-0400)
bin/vel_dep_scan.py provides access to velocity_dependant_scan.main().
pysawsim/velocity_dependant_scan.py
patch
|
blob
|
history
diff --git
a/pysawsim/velocity_dependant_scan.py
b/pysawsim/velocity_dependant_scan.py
index b4c9df0906f507dd1d448815c0847c69e8315e3f..787d5e2a40d2e89c75dc5647f73d412b3ced5104 100644
(file)
--- a/
pysawsim/velocity_dependant_scan.py
+++ b/
pysawsim/velocity_dependant_scan.py
@@
-281,7
+281,3
@@
def main():
#hm.fit(initial_params)
hm.plot(param_ranges, logx=options.logx, logy=options.logy,
contour=options.contour_plot)
-
-
-if __name__ == "__main__":
- main()