CloudCovErr.jl
A Julia package for debiasing and improving error bar estimates for photometry on top of structured/filamentary background.
Installation
A stable version of CloudCovErr.jl
can be installed using the built-in package manager
import Pkg
Pkg.add("CloudCovErr")
For the most recent development version, install directly from the GitHub
import Pkg
Pkg.add(url="https://github.com/andrew-saydjari/CloudCovErr.jl")
Currently, we only support compatibility with linux and macOS in order to easily interface with dependencies of crowdsource. Due to older versions of Julia bundling outdated libstcd++, we only support Julia 1.6+ again to make interfacing with python-based photometric pipelines easier (see issue). However, workarounds exist for both problems. Please open an issue if there is some compatibility you would like supported.
Usage
To start, load the CloudCovErr.jl
package:
using CloudCovErr
For now, please refer to examples in the release paper and its accompanying Zenodo repository. An end-to-end demonstration of this code applied to the DECaPS2 survey begins with calling decaps2.jl
.
Use of individual functions is documented here in the API Reference page.
Outputs
Quality Flag
The dnt:Int8
flag from CloudCovErr indicates the following:
Value | Bit | Meaning |
---|---|---|
0 | - | No problems |
1 | 0 | Few "good" pixels, used pixels beyond radial mask |
2 | 1 | Few "good" pixels, force outermost row/column of pixels "good" |
4 | 2 | [Not Used] |
8 | 3 | Any pixel in PSF model for a source is (even infinitesimally) negative |
16 | 4 | Min/Max PSF < -1e-3 |
32 | 5 | Min/Max PSF < -1e-1 |
64 | 6 | [Not Used] |
A more detailed description of the flag can be found in the release paper. Bit 0 is always thrown if Bit 1 is set since Bit 1 is a more severe fall back to solve the same problem.