Artificial Star Input Lists¶
The BEAST requires artificial star tests (ASTs) to produce a noise model. The AST input list software generates lists of magnitudes and (if desired) positions for ASTs that can be injected into the observed imaging and then re-photometered to assess the photometric bias, uncertainty, and completeness as a function of the model grid. The output from this software must be run through the same photometry routine (typically DOLPHOT) as used for the photometry measurements themselves.
Once the input lists have been run through the user’s photometry program and each input flux has an associated output flux, those results can be used as input ASTs for the building the BEAST noise model.
To generate a BEAST-friendly lists of artificial stars, follow the BEAST Workflow instructions. There are two methods by which the artificial SEDs can be chosen.
Flux bin method (recommended): The range of fluxes in the model grid is split into bins (default=40, set by
ast_n_flux_bins), and models are randomly selected. The model is retained if there are fewer than the set number of models (default=50, set by
ast_n_per_flux_bin) in each of the relevant flux bins.
Random SEDs method (not recommended): Generate fake stars by uniformly sampling log(age) space and randomly drawing from the metallicities in the model grid. This results in uneven constraints on the noise model, since there will be very few stars that probe the brightest or faintest parts of the model grid.
These functions are found in
pick_models: Samples the model grid and outputs models that fit within the mag limits.
pick_models_toothpick_style: Tries to pick models in a way that evenly samples the range of fluxes in each band. Models will be picked until each magnitude bin for each band is covered by a given number of fake stars.
mag_limits: Determines the magnitude limits for the models in each filter in the photometry file.
These functions are found in
pick_positions: Uses the observed stellar catalog to distribution the artificial stars in a similar spatial pattern to the observed catalog
pick_positions_from_map: Uses one of the maps generated by
create_background_density_mapto make sure that each of the different source density or background regimes in the image are properly sampled. The source density or background range is divided into bins, and the set of SEDs chosen by one of the
pick_modelsfunctions above is then reused for each background intensity bin.
Parameters in beast_settings.txt¶
Parameters used by the flux bin method of selecting SEDs¶
ast_n_flux_bins: integer (Default = 40)
Number of flux bins into which the dynamic range of the model grid in each filter is divided (if
ast_n_per_flux_bin: integer (Default = 50)
Minimum number of model SEDs that need to fall into each bin (if
Parameters used by the random SED selection method¶
ast_bands_above_maglimit: integer (Default = 3)
Number of filters that must be above the magnitude limit for an AST to be included in the list
ast_maglimit: float (single value or array with one value per filter)
option 1: [number] to change the number of mags fainter than the 90th percentile faintest star in the photometry catalog to be used for the mag cut. (Default = 1)
option 2: [space-separated list of numbers] to set custom faint end limits (one value for each band).
ast_models_selected_per_age: integer (Default = 70)
Number of models to pick per age
Parameters used for selecting SED positions¶
True, the ast list is produced with X,Y positions.
False, the ast list is produced with only fluxes.
ast_realization_per_model: integer (Default = 20)
Number of Realizations of each included AST model to be put into the list. The default (20) is necessary for truncheon noise model, but one realization is sufficient for the toothpick noise model.
ast_density_table: string or
Name of the density table created by
pick_positions_from_mapwill be used to repeat the ASTs in the table for each source density or background density region. The source density and background maps are in the same format.
ast_N_bins: integer (Default = 4)
Number of source density or background bins that you want ASTs repeated over
ast_pixel_distribution: float (Default = 10)
Minimum pixel separation between AST position and catalog star used to determine the AST spatial distribution.
ast_reference_image: string or
Name of the reference image used by DOLPHOT when running the measured photometry. Used by
pick_positions_from_mapto convert coordinates between x/y and RA/Dec. Note that if your catalog only has x/y positions (not RA/Dec), this must be specified for some of the boundary checkers to function.
ast_coord_boundary: list of two arrays, or
If supplied, these RA/Dec coordinates will be used to limit the region over which ASTs are generated. Input should be list of two arrays, the first RA and the second Dec, ordered sequentially around the region (either CW or CCW).
Table of fake star fluxes for all bands in the beast_settings photometry file.
The file will be in ascii format in the project directory, and it will have the
The table will have either
ast_n_flux_bins * ast_n_per_flux_bin * ast_realization_per_model
(flux bin method)
<number of ages> * ast_models_selected_per_age * ast_realization_per_model
(random SEDs method)
lines. If the source density or background levels are being utilized, this number
will be multiplied by the number of bins chosen.
True then each
line will start with
0 1 X Y, which are the first four columns required by
DOLPHOT to define the input star position.
The code will also optionally output a fits file,
which has the physical parameters associated with each of the artificial stars as well as their indices in the spec and sed grids. It
will have either
ast_n_flux_bins * ast_n_per_flux_bin lines or
<number of ages> * ast_models_selected_per_age lines, and has the same
columns as the main SED grid file.