Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/config/common.csv
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
``model`` None Dictionary defining the spatial/spectral properties of the test source. If model is None the test source will be a PointSource with an Index 2 power-law spectrum.
``multithread`` False Split the calculation across number of processes set by nthread option.
``nthread`` None Number of processes to create when multithread is True. If None then one process will be created for each available core.
``ra_format`` hour Format for RA axis labels in plots. Options are "hour" (hh:mm:ss) or "deg" (degrees).
``use_weights`` False Used weighted version of maps in making plots.
``write_fits`` True Write the output to a FITS file.
``write_npy`` True Write the output dictionary to a numpy file.
1 change: 1 addition & 0 deletions docs/config/extension.csv
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
``make_plots`` False Generate diagnostic plots.
``make_tsmap`` True Make a TS map for the source of interest.
``psf_scale_fn`` None Tuple of two vectors (logE,f) defining an energy-dependent PSF scaling function that will be applied when building spatial models for the source of interest. The tuple (logE,f) defines the fractional corrections f at the sequence of energies logE = log10(E/MeV) where f=0 corresponds to no correction. The correction function f(E) is evaluated by linearly interpolating the fractional correction factors f in log(E). The corrected PSF is given by P'(x;E) = P(x/(1+f(E));E) where x is the angular separation.
``ra_format`` hour Format for RA axis labels in plots. Options are "hour" (hh:mm:ss) or "deg" (degrees).
``reoptimize`` False Re-fit ROI in each energy bin. No effect if fit_ebin=False or there are no free parameters
``save_model_map`` False Save model counts cubes for the best-fit model of extension.
``spatial_model`` RadialGaussian Spatial model that will be used to test the sourceextension. The spatial scale parameter of the model will be set such that the 68% containment radius of the model is equal to the width parameter.
Expand Down
1 change: 1 addition & 0 deletions docs/config/localize.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
``free_radius`` None Free normalizations of background sources within this angular distance in degrees from the source of interest. If None then no sources will be freed.
``make_plots`` False Generate diagnostic plots.
``nstep`` 5 Number of steps in longitude/latitude that will be taken when refining the source position. The bounds of the scan range are set to the 99% positional uncertainty as determined from the TS map peak fit. The total number of sampling points will be nstep**2.
``ra_format`` hour Format for RA axis labels in plots. Options are "hour" (hh:mm:ss) or "deg" (degrees).
``tsmap_fitter`` tsmap Set the method for generating the TS map. Valid options are tsmap or tscube.
``update`` True Update the source model with the best-fit position.
``write_fits`` True Write the output to a FITS file.
Expand Down
4 changes: 2 additions & 2 deletions docs/config/plotting.csv
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
``format`` png
``graticule_radii`` None Define a list of radii at which circular graticules will be drawn.
``interactive`` False Enable interactive mode. If True then plots will be drawn after each plotting command.
``label_ts_threshold`` 0.0 TS threshold for labeling sources in sky maps. If None then no sources will be labeled.
``label_source`` None Name(s) of source(s) to label on plots. If specified, only these sources will be labeled, overriding label_ts_threshold. Can be a single source name (string) or a list of source names.
``label_ts_threshold`` 0.0 TS threshold for labeling sources in sky maps. If None then no sources will be labeled.
``loge_bounds`` None
``ra_format`` hour Display RA coordinates on sky maps as hour angle (hh:mm:ss) or decimal degrees. Options: ``'hour'`` (default) or ``'deg'``. Applies to all 2D sky maps (psmap, tsmap, residmap, tscube, localization, extension, ROI plots). Can be overridden per method (e.g. in *psmap* config or by passing ``ra_format`` to map methods).
``ra_format`` hour Format for RA axis labels in plots. Options are "hour" (hh:mm:ss) or "deg" (degrees).
1 change: 1 addition & 0 deletions docs/config/psmap.csv
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
``psfpar1`` 100 Spatial integration: PSF-like parameter 1 (MeV) of the parameterization sqrt(p0^2*pow(E/p1,-2*p2) + p3^2).
``psfpar2`` 0.9 Spatial integration: PSF-like parameter 2 of the parameterization sqrt(p0^2*pow(E/p1,-2*p2) + p3^2).
``psfpar3`` 0.1 Spatial integration: PSF-like parameter 3 (deg) of the parameterization sqrt(p0^2*pow(E/p1,-2*p2) + p3^2).
``ra_format`` hour Format for RA axis labels in plots. Options are "hour" (hh:mm:ss) or "deg" (degrees).
``scaleaxis`` 20 LL computation: scale axis.
``wmap`` Weight 3d map file or list of files (separated by colons).
``write_fits`` True Write the output to a FITS file.
1 change: 1 addition & 0 deletions docs/config/residmap.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
``loge_bounds`` None Restrict the analysis to an energy range (emin,emax) in log10(E/MeV) that is a subset of the analysis energy range. By default the full analysis energy range will be used. If either emin/emax are None then only an upper/lower bound on the energy range wil be applied.
``make_plots`` False Generate diagnostic plots.
``model`` None Dictionary defining the spatial/spectral properties of the test source. If model is None the test source will be a PointSource with an Index 2 power-law spectrum.
``ra_format`` hour Format for RA axis labels in plots. Options are "hour" (hh:mm:ss) or "deg" (degrees).
``use_weights`` False Used weighted version of maps in making plots.
``write_fits`` True Write the output to a FITS file.
``write_npy`` True Write the output dictionary to a numpy file.
1 change: 1 addition & 0 deletions docs/config/tscube.csv
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
``model`` None Dictionary defining the spatial/spectral properties of the test source. If model is None the test source will be a PointSource with an Index 2 power-law spectrum.
``nnorm`` 10 Number of points in the likelihood v. normalization scan
``norm_sigma`` 5.0 Number of sigma to use for the scan range
``ra_format`` hour Format for RA axis labels in plots. Options are "hour" (hh:mm:ss) or "deg" (degrees).
``remake_test_source`` False If true, recomputes the test source image (otherwise just shifts it)
``st_scan_level`` 0 Level to which to do ST-based fitting (for testing)
``tol`` 0.001 Critetia for fit convergence (estimated vertical distance to min < tol )
Expand Down
1 change: 1 addition & 0 deletions docs/config/tsmap.csv
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
``model`` None Dictionary defining the spatial/spectral properties of the test source. If model is None the test source will be a PointSource with an Index 2 power-law spectrum.
``multithread`` False Split the calculation across number of processes set by nthread option.
``nthread`` None Number of processes to create when multithread is True. If None then one process will be created for each available core.
``ra_format`` hour Format for RA axis labels in plots. Options are "hour" (hh:mm:ss) or "deg" (degrees).
``write_fits`` True Write the output to a FITS file.
``write_npy`` True Write the output dictionary to a numpy file.
Loading
Loading