Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] MR Deconvolve raises a segmentation fault #45

Open
sfarrens opened this issue Jan 18, 2023 · 1 comment
Open

[BUG] MR Deconvolve raises a segmentation fault #45

sfarrens opened this issue Jan 18, 2023 · 1 comment
Labels

Comments

@sfarrens
Copy link
Member

Running mr_deconv with the following option (i.e. those used in PySAP tests) raises a segmentation fault.

mr_deconv -d 5 -u 3 -n 2 -g 5 image.fits psf.fits res.mr

⬇️

[1]    31617 segmentation fault  mr_deconv -d 5 -u 3 -n 2 -g 5 image.fits psf.fits res.mr

The example image and PSF data can be obtained from PySAP.

import pysap
from pysap.data import get_sample_data
image = get_sample_data(dataset_name="astro-galaxy").data
psf = get_sample_data(dataset_name="astro-psf").data
pysap.io.save(image, "image.fits")
pysap.io.save(psf, "psf.fits")

This needs to be investigated and solved.

@jstarck
Copy link
Contributor

jstarck commented Mar 15, 2023

Option -u is only valid in combination with -t24 (undecimated Wavelet Transform). So a fix could be to have the program returning a user error when -u is used without -t24.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants