The specgrid_to_photgrid tool convolves a spectroscopic grid with a passband to make a photometric grid, writing it to a photgrid file. It accepts the following command-line arguments:


Name of input specgrid file.


Name of input passband file.


Name of output photgrid file.

Note that it’s not always necessary to create photgrid files, as MSG can convolve with passbands on the fly (as discussed in the Photometric Colors section).