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_allthat preloads all keyword options from a stored file.- Parameters
- idint
Object id
- get_output_databool
Return the data produced by
run_allrather than just a simple status indicator- args_filestr
Name of the
numpyfile contaning the fit keywords. These includerootandgroup_nameused 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/exceptclause 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