Skip to content

MCCD processing #480

Closed
Closed

Description

@martinkilbinger

Some irregularities are found for the v1 run with the MCCD star selection and PSF.

Know bugs:

  • STAR_THRES in config:[MCCD_INTERP_RUNNER] is not read by mccd_interp_runner.

Activity

  1. added
    bug
    on Jan 5, 2022
  2. martinkilbinger commented on Jan 12, 2022

    @martinkilbinger
    ContributorAuthor

    image

    This image shows the stars in the focal plane of all exposures for tile 224.295. Left: training set; middle: test set; right: validation set.

    In blue all stars are plotted. In green (red) only stars with CCD ID 0 (38).
    There seems to be a mismatch of CCD ID and coordinates for the validation set.

    Code to reproduce plot:
    candide:/automnt/n17data/mkilbing/astro/Runs/shapepipe/CFIS/one_tile_W3/mccd_v1_test/mccd_test.ipynb

  3. tobias-liaudat commented on Jan 12, 2022

    @tobias-liaudat
    Member

    Thanks @martinkilbinger
    Just to be sure, could you check what MCCD and shapepipe version you used to reproduce that?

    It will help on the debugging.

  4. martinkilbinger commented on Jan 12, 2022

    @martinkilbinger
    ContributorAuthor

    Thanks @martinkilbinger Just to be sure, could you check what MCCD and shapepipe version you used to reproduce that?

    It will help on the debugging.

    shapepipe: 0.0.4
    mccd: 1.1.1

    I believe the reprocessed test tile was running with the v1 branch, more or less the same as for the big v1 run.

  5. tobias-liaudat commented on Jan 25, 2022

    @tobias-liaudat
    Member

    @martinkilbinger I just opened a PR from the CosmoStat:debug_mccd branch to @sfarrens The Big Clean PR #498 that includes a fix for the issue with the validation CCDs. The bug fix has been integrated in the new MCCD release 1.2.1. Using this new version should be enough to fix the issue.

    Concerning the issue:
    STAR_THRES in config:[MCCD_INTERP_RUNNER] is not read by mccd_interp_runner.

    The STAR_THRES:[MCCD_INTERP_RUNNER] parameter is not taken into account as MCCD rejects CCDs based on the number of stars at the preprocessing time. The right parameter to use is MIN_N_STARS that is present in the MCCD configuration file, instead of STAR_THRES .
    There is a difference with PSFEx behaviour. In PSFEx the model is calculated always, and then at interpolation time we discriminate between models that used less than the minimum number of stars. In MCCD if the CCD does not has the minimum number of stars we don't use it for the modelling as it will affect the focal plane model, and therefore of surrounding CCDs.

    Similar story with the parameter CHI2_THRESH:[MCCD_INTERP_RUNNER]. MCCD is doing the rejection before saving the model, and not after as all the CCDs belong to the same focal plane model. The parameters to use are RMSE_THRESH and CCD_STAR_THRESH from the MCCD configuration file. See the default config_MCCD.ini for description about the parameters.

  6. tobias-liaudat commented on Jan 25, 2022

    @tobias-liaudat
    Member

    By the way, @martinkilbinger thanks for the documentation here and the notebook. It was easier to find the problem with the example you provided :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions