CosmoStat / CosmoStat/shapepipe

[BUG] MCCD interpolation

Open
#630 1 comment 0 reactions 1 assignee View on GitHub

@martinkilbinger is already working on this.

Since May 30, 2023.

bug
Dominant language
Python
Stars
18
Forks
14
Avg merge
8h 40m
Merged PRs (30d)
10

Description

When calling the function utils.shift_ker_stack in mccd.py, the kernel size lanc_rad is negative for three of the 1262 P3 CFIS tiles. This creates a numpy error. It seems that all PSF moments are -1, which is set as size in line mccd.py:1351.

This error should either be caught earlier, or the lanc_rad variable be set accordingly to a valid number.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.