run_all_parallel¶
- grizli.fitting.run_all_parallel(id, get_output_data=False, args_file='fit_args.npy', protect=True, **kwargs)[source]¶
Wrapper function for
grizli.fitting.run_all
that preloads all keyword options from a stored file.- Parameters
- idint
Object id
- get_output_databool
Return the data produced by
run_all
rather than just a simple status indicator- args_filestr
Name of the
numpy
file contaning the fit keywords. These includeroot
andgroup_name
used for finding the “beams.fits” files for the givenid
(seerun_all
).Any additional keywords passed to this function will override the defaults from
args_file
.- protectbool
Run the fitter in a
try/except
clause so that it doesn’t kill the runtime execution for e.g. a list ofid
. However, with this set it’s much harder to figure out where a given fit failed, so turn it off to get the full exception traceback
- Returns