GithubHelp home page GithubHelp logo

corrupted psf reconstruction about piff HOT 4 CLOSED

rmjarvis avatar rmjarvis commented on September 26, 2024
corrupted psf reconstruction

from piff.

Comments (4)

esheldon avatar esheldon commented on September 26, 2024

fixed a typo in the above comment

from piff.

esheldon avatar esheldon commented on September 26, 2024

Here is the information for this fit in the summary file

size: 1  nfields: 33  type: records

  key               |S12  'D00362921-60'
  expnum             >i4  362921
  ccdnum             >i2  60
  band               |S1  'r'
  path             |S107  'OPS/finalcut/Y2A1/Y2-2331'...
  magzp              >f4  31.705748
  root              |S24  'D00362921_r_c60_r2331p02'
  image_file        |S70  '/data/mjarvis/y3_piff/362'...
  bkg_file          |S65  '/data/mjarvis/y3_piff/362'...
  cat_file          |S62  '/data/mjarvis/y3_piff/362'...
  star_file         |S64  '/data/mjarvis/y3_piff/362'...
  piff_file         |S80  '/astro/u/mjarvis/work/y3_'...
  zone               >i8  37
  flag               >i8  0
  sat                >f8  177700.753806585
  fits_fwhm          >f8  4.3839
  star_fwhm          >f8  1.1290369203501034
  obs_mean_e1        >f8  0.008415331005385778
  obs_mean_e2        >f8  -0.03537302280877288
  obs_mean_T         >f8  0.4409447419723463
  piff_mean_de1      >f8  -0.004284571844887268
  piff_mean_de2      >f8  -0.012916691123610153
  piff_mean_dT       >f8  -0.03646968557218077
  piff_std_de1       >f8  0.08610437680632192
  piff_std_de2       >f8  0.09957051704750827
  piff_std_dT        >f8  0.10126612278282134
  psfex_file        |S83  '/astro/u/mjarvis/work/y3_'...
  psfex_mean_de1     >f8  -0.0003491481502438127
  psfex_mean_de2     >f8  -0.0002522715844744627
  psfex_mean_dT      >f8  0.0029185538753443777
  psfex_std_de1      >f8  0.005132159358516579
  psfex_std_de2      >f8  0.0030328974195780846
  psfex_std_dT       >f8  0.005813012170433939

from piff.

rmjarvis avatar rmjarvis commented on September 26, 2024

To follow up, the current thought on this is that it happens when there are few (or even only one) stars in a portion of the field and that star happens to be centered very close to a pixel boundary. Then the model is (nearly) degenerate and the fitter can amplify noise in either a checkerboard pattern (as here) or sometimes just stripes in x or y.

The current "solution" is to use a model with pixels that are slightly larger than the data pixels. We use 0.30 arcsec for the model in DES now, whose image pixels are 0.263 arcsec. This seems to significantly help and these kinds of failures are at least very rare if not completely eliminated.

A longer term solution would be to improve the matrix solver to use SVD or something similar to reduce the noise amplification. This would be significantly slower than the current simple cholesky solver, so we'd want to find a way to detect when such a switch is necessary in order to not massively slow down the solver for most fields.

from piff.

rmjarvis avatar rmjarvis commented on September 26, 2024

I believe this is fixed in #88.

from piff.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.