CloudCovErr.jl

GitHub Build Status Coverage Status

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:

ValueBitMeaning
0-No problems
10Few "good" pixels, used pixels beyond radial mask
21Few "good" pixels, force outermost row/column of pixels "good"
42[Not Used]
83Any pixel in PSF model for a source is (even infinitesimally) negative
164Min/Max PSF < -1e-3
325Min/Max PSF < -1e-1
646[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.

Table of Contents