chandra_aca.star_probs#
Functions related to probabilities for star acquisition and guide tracking.
Current default acquisition probability model: grid-* (latest grid model) This can
be changed by setting the module configuration value conf.default_model to an
available model or model glob in the chandra_models repository.
The grid-local-quadratic-2023-05 model definition and fit values based on:
SS&AWG review 2023-02-01
The grid-floor-2020-02 model definition and fit values based on:
SSAWG review: 2020-01-29
Attributes#
Classes#
A setting and associated value stored in a configuration file. |
|
A namespace of configuration items. Each subpackage with |
Functions#
|
Transform from halfwidth (arcsec) to the box_delta value. |
|
Set acq model multiple star filter. |
|
Find the warmest CCD temperature which meets the |
|
Jit-able portion of prob_n_acq |
|
Get probability of acquiring n_acq stars. |
|
Get acquisition success probability. |
|
Get info about the default acquisition probability model. |
|
Clip |
|
Get grid model axis values from FITS header. |
|
Get grid model from the |
|
|
|
Read the model file and put into local vars |
|
|
|
Calculate grid model probability. |
|
Calculate spline model acq probability. |
|
Call sota_model_acq_prob(). |
|
Calculate raw SOTA model probability of acquisition success. |
|
Calculate star magnitude for a given acquisition probability. |
|
Calculate guide star fractional count. |
|
Solve for the warmest temperature that still gets the min_guide_count. |
|
Compute percent point function (inverse of CDF) for binomial. |
|
Binomial confidence interval calculation using the Jeffreys prior. |