Skip to content

cpadavis/weak_sauce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weak Sensor Anomalies Under Careful Examination (weak_sauce)

Summary

This package, described in detail in Baumer, et al. 2017, provides methods to fit models of distorted pixel grids to flat-field data, and compute their corresponding systematic impacts. For examples of how the code can be used, see the included demo notebook.

Installation

After cloning, there are two submodules to compile before the code is ready to use.

  1. Within code/weak_sauce/r3d/, compile the pixel flux integration module with:

$> make

  1. Within code/weak_sauce/adaptive_moments/, compile the adaptive moments module with:

$> python adaptive_moments_setup.py build_ext --inplace

  1. Make sure you have https://github.com/GalSim-developers/GalSim installed (easiest done with conda).

$> conda install galsim

  1. You'll also need to install sklearn, scipy, numpy, matplotlib.

  2. Make sure that the path to code is on your $PYTHONPATH, or alternatively in your code add the following lines:

import sys sys.path.append("/path/to/weak_sauce/code")

About

weak pixel area distortions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published