Afterglow Exposure Model
How does the Campaign Manager determine exposure lengths?
Skynet employs a credit-based currency system that observers use to schedule their observations. However, since Skynet is a heterogenous network, one credit cannot be easily mapped to a fixed unit of observing time. For example, to achieve a signal-to-noise ratio (SNR) for a given target, a 1.0-m telescope in the remote Chilean Andes would need to expose for a much shorter duration than the 40 year old, 24-inch Morehead telescope located in downtown Chapel Hill. For this reason, mapping one credit to one observing second, or any other fixed unit of time, does not make sense.
Instead, Skynet charges one credit for a one-second exposure on Skynet’s PROMPT-5 telescope and scales based on the observer’s selected telescope’s efficiency relative to PROMPT5. To achieve this, Skynet uses a cron job to calculate the efficiencies of each telescope once per week using the most recent, open filtered exposures.
These efficiencies, ϵt, are defined as the inverse of the exposure time, texp needed to achieve a limiting magnitude, m, of 20 at a SNR of 5:
Here, the assumption is made that the source of interest is sufficiently bright enough that the noise is purely Poisson. Thus, the SNR factor in the above equation is squared. Outlier rejection is performed using Robust Chauvenet Rejection (Maples et al. 2018) to eliminate anomalous data points due to weather, hardware issues, or any other source of contamination.
This equation is used as the starting point for scaling exposure lengths in the Campaign Manager. A number of factors must be added to account for the variability of the observed target and for the different hardware used when observing.
Since the CM is interested in calculating exposure lengths, not efficiencies, we start by taking the inverse of the telescope efficiency equation such that:
The SNR variable is fixed by the observer and the telescope efficiency is automatically calculated and stored in the Skynet database, so the Campaign Manager's job is to model the magnitude of the object at some time since the event trigger.
Accounting for Hardware
Since telescope efficiencies are calculated using open filters only, I multiply by the ratio of the selected filter efficiency to the open filter efficiency. Filter efficiencies are stored in the Skynet database along with the telescope efficiencies. The equation becomes:
In addition to the filter's efficiency, another factor is added to account for the filter's flux zero point. While this factor can be added here without consequence, I account for the zero point in the following section for modeling the magnitude.
Accounting for Target Variability
The magnitude of an astronomical target can be written as:
Where m is the measured magnitude, F is the measured flux, and the ref terms are the equivalent for a reference measurement. The reference values are provided by the observer, so to model the magnitude, we actually only need to model the flux. For those not familiar with astronomy, a larger magnitude corresponds to a fainter object. For example, an 15th magnitude star is 100 times brighter than a 20th magnitude star.
The flux can be written as a function of the target's temporal and spectral indices as well as the filter's flux zero point:
Where α is the temporal index, β is the spectral index, Fzp is the filter's flux zero point, and ebv is the measure of interstellar reddening due to dust extinction.
Flux Zero Points
The zero points are empirically calculated and well known. A useful summary of zero point values has been tabulated by Dr. Martini at Ohio State University and is available at Useful Astronomical Data.
Temporal Evolution
The Campaign Manager employs both a power law temporal function as well as an exponential temporal function. The temporal power law model including the reference value:
Where t is the time of the exposure, tt is the time of the trigger (e.g., for gamma-ray bursts, this is the time of the stellar collapse or binary merger), and tref is the reference time. I use the convention that a negative temporal index corresponds to a fading object.
Spectral Evolution
The spectral power law function is written as:
Where ν is the frequency of the selected filter, νref is the frequency of the reference filter, and β is the spectral index. I use the convention that a negative spectral index corresponds to a redder object.
Dust Extinction
The extinguished flux is related to the unextinguished flux by a multiplying factor of 10−2.5Aλ. Since the magnitude and flux are related through −2.5⋅log10, this results in an additive factor of Aλ to the modeled magnitude. For the calculation of Aλ, I refer the reader to a paper, Cardelli (1989), which describes the analytic extinction function that I implement exactly.
Modeled Magnitude
With all of the above considerations, the model for the magnitude of a target at some time for some frequency is:
The Full Exposure Model
The Campaign Manager calculates the magnitude at a given time for a given filter and evaluates the equation derived in the Accounting for Hardware section above. The equation is retyped below for convenience.
Typing out the magnitude equation in the above equation would be an ugly mess, so I'm not going to do that here.
There we have it! An exposure length model that accounts for both the hardware used to take the image and for the target's brightness variability.
Additional Information
This model is also implemented in an open-source education web tool that I developed (see the Transient Plotter page). In this tool, I implement the algorithm in TypeScript rather than Python.
I also built a pretty neat debugging tool to visualize the modeled magnitudes and exposure lengths. It's open-source, but I don't think anyone other than myself would ever have a purpose to use it. Continue to the next section for a detailed description of the tool.
Last updated