Skip to content

Commit

Permalink
Udpated readme after adding TEMP_ERR_SPEC_FILE
Browse files Browse the repository at this point in the history
  • Loading branch information
cschreib committed Aug 2, 2023
1 parent 32ddc45 commit 98ac7af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,11 @@ While the implementation of FAST++ was designed to resemble FAST-IDL as much as
* The input photometry catalog can contain columns starting with "F" or "E" which are not flux columns, provided the "F" or "E" is not followed by numbers. In FAST-IDL a catalog containing such columns was rejected.

## Spectra
* The template error function is now also applied to the spectra (except if ```AUTO_SCALE``` is set to ```1```, see below). In FAST-IDL this was not the case.
* A template error function can be applied to the spectra using the ```TEMP_ERR_SPEC_FILE``` setting. By default, if the setting is left empty, the behavior is the same as in FAST-IDL, i.e., no error function applied to the spectra.
* Galaxies with a spectrum can still use the input photo-z. In FAST-IDL their photo-z was ignored.
* An alternative format for the spectrum file is allowed (see [Better treatment of spectra](#better-treatment-of-spectra) below), but the old format is still supported.
* The ```bin``` column is used in FAST++ to combine multiple spectral elements into one before the fit, using inverse variance weighting, which can speed up the fit considerably if the spectral resolution is very high. In FAST-IDL only the first element in a bin was used, for some reason.
* The ```AUTO_SCALE``` option behaves very differently. In FAST-IDL, enabling this option will automatically rescale the spectrum to match the broad band photometry. It will also perform the rescaling during the Monte Carlo simulations, so the confidence intervals will account for the uncertainty in the rescaling. In FAST++, enabling the option will automatically rescale the observed spectrum to the _model_ spectrum, independently of the rest of the photometry. Therefore, the spectrum does not influence the best-fitting (and Monte Carlo) value for the amplitude of the model, but it will still be counted in the chi2. This amounts to assuming that the absolute flux calibration of the spectrum is less well known than the _shape_ of this spectrum, i.e., there is an absorption feature here and a spectral break there. When this option is enabled, the template error function is not applied to the spectrum because the uncertainty on the template normalization at this wavelength has become irrelevant, only its detailed shape.
* The ```AUTO_SCALE``` option behaves very differently. In FAST-IDL, enabling this option will automatically rescale the spectrum to match the broad band photometry. It will also perform the rescaling during the Monte Carlo simulations, so the confidence intervals will account for the uncertainty in the rescaling. In FAST++, enabling the option will automatically rescale the observed spectrum to the _model_ spectrum, independently of the rest of the photometry. Therefore, the spectrum does not influence the best-fitting (and Monte Carlo) value for the amplitude of the model, but it will still be counted in the chi2. This amounts to assuming that the absolute flux calibration of the spectrum is less well known than the _shape_ of this spectrum, i.e., there is an absorption feature here and a spectral break there.

## Photo-z
* If an input photo-z is negative, FAST++ will simply ignore the photo-z and let the redshift vary freely. In FAST-IDL a galaxy with a negative photo-z was ignored completely.
Expand Down

0 comments on commit 98ac7af

Please sign in to comment.