diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-01-19 14:41:08 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-01-19 14:41:08 +0100 |
commit | 66f5d145f89da36b697e6bd39fb04b6a293ca048 (patch) | |
tree | 938c93345bcd8bf0598f50bb745650ab6004aa75 /find_bound.py | |
parent | 85507ee56b3cbe027f3bccb6b8ff8c3578d22e77 (diff) |
find_bound: allow specifying the family
Diffstat (limited to 'find_bound.py')
-rwxr-xr-x | find_bound.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/find_bound.py b/find_bound.py index 40ec22d..72f4dab 100755 --- a/find_bound.py +++ b/find_bound.py @@ -17,6 +17,7 @@ parser.add_argument('--bounds-tolerance', type = float, default = 1e-8) parser.add_argument('--solve-tolerance', type = float, default = 1e-12) parser.add_argument('--scale-factor', type = float, default = 3.0) parser.add_argument('--max-iter', default = 32) +parser.add_argument('--family', default = 0) args = parser.parse_args() @@ -44,7 +45,7 @@ while not converged(bounds, args.bounds_tolerance): 'basis_scale_factor' : [args.scale_factor, args.scale_factor], 'atol' : args.solve_tolerance, 'max_iter' : args.max_iter, - 'family' : 0, + 'family' : args.family, } #if prev_coeffs: |