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

Convolve all the model SEDs in a model directory

model_dir : str

The path to the model directory

filters : list

A list of Filter objects to use for the convolution

overwrite : bool, optional

Whether to overwrite the output files

memmap : bool, 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.