import numpy
+from . import PYSAWSIM_LOG_LEVEL_MSG as _PYSAWSIM_LOG_LEVEL_MSG
from .histogram import Histogram
from .parameter_scan import (
EXAMPLE_HISTOGRAM_FILE_CONTENTS, HistogramMatcher,
>>> f = tempfile.NamedTemporaryFile()
>>> f.write(EXAMPLE_HISTOGRAM_FILE_CONTENTS)
>>> f.flush()
- >>> main(['-s', 'bin/sawsim',
- ... '-r', '[1e-6,1e-4,3]', '--log',
+ >>> main(['-r', '[1e-6,1e-4,3]', '--log',
... '-N', '4', '-t', '0.8',
... f.name])
... # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE, +REPORT_UDIFF
'`<bin_edge>` should mark the left-hand side of the bin, and',
'all bins should be of equal width (so we know where the last',
'one ends).',
+ _PYSAWSIM_LOG_LEVEL_MSG,
])
parser = OptionParser(usage, epilog=epilog)
+ parser.format_epilog = lambda formatter: epilog+'\n'
for option in sr.optparse_options:
if option.dest == 'param_string':
continue