convolve_model_dir

sedfitter.convolve.convolve_model_dir(model_dir, filters, overwrite=False, memmap=True)

Convolve all the model SEDs in a model directory

Parameters:
model_dirstr

The path to the model directory

filterslist

A list of Filter objects to use for the convolution

overwritebool, optional

Whether to overwrite the output files

memmapbool, optional

Whether to use memory mapping when using the SED cubes. If you have enough memory, the convolution will be much faster to set this to False, since the whole cube will need to be read in, so it’s faster to do it in one go than many small reads. This option is ignored if not using SED cubes.