Skip to content

Commit

Permalink
Change the qso template type in test file
Browse files Browse the repository at this point in the history
  • Loading branch information
WenkeRen committed Jul 10, 2024
1 parent 1219ce1 commit 308ace3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_dr7sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,10 @@ def test_dr7(nqsofit=20):
q = QSOFit(lam, flux, err, z, ra=ra, dec=dec, plateid=plate, mjd=mjd, fiberid=fiber, path=path_ex)

# Do the fitting
q.Fit(param_file_name='qsopar.fits', name=None, qso_type='global', host_type='BC03', save_fig=False, save_result=False)
q.Fit(param_file_name='qsopar.fits', name=None, qso_type='CZBIN1', host_type='BC03', save_fig=False, save_result=False)

# Test with host prior
q.Fit(param_file_name='qsopar.fits', name=None, host_prior=True, qso_type='global', host_type='PCA', save_fig=False, save_result=False)
q.Fit(param_file_name='qsopar.fits', name=None, host_prior=True, qso_type='CZBIN1', host_type='PCA', save_fig=False, save_result=False)

# Emission line loop
for j, line in enumerate(line_calc_names):
Expand Down

0 comments on commit 308ace3

Please sign in to comment.