Skip to content

Commit

Permalink
fix #169
Browse files Browse the repository at this point in the history
  • Loading branch information
moustakas committed Feb 7, 2024
1 parent e59b3db commit ad97c53
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/build-fsps-templates
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ def build_templates(models, logages, agebins=None, imf='chabrier',
def main(args):

# velocity dispersion grid
vdisp_nominal = 125.
vdispmin = 50.
vdispmax = 500.
dvdisp = 25.
Expand Down Expand Up @@ -386,6 +387,7 @@ def main(args):
hduflux3.header['VDISPMIN'] = (vdispmin, 'minimum velocity dispersion [km/s]')
hduflux3.header['VDISPMAX'] = (vdispmax, 'maximum velocity dispersion [km/s]')
hduflux3.header['VDISPRES'] = (dvdisp, 'velocity dispersion spacing [km/s]')
hduflux3.header['VDISPNOM'] = (vdisp_nominal, 'nominal (default) velocity dispersion [km/s]')
hduflux3.header['BUNIT'] = 'erg/(s cm2 Angstrom)'

isplit = np.argmin(np.abs(wave-PIXKMS_WAVESPLIT)) + 1
Expand Down

0 comments on commit ad97c53

Please sign in to comment.