question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove side-effects from convolution.convolve_fft

See original GitHub issue

[src]

# restore NaNs in original image (they were modified inplace earlier)
# We don't have to worry about masked arrays - if input was masked, it was
# copied
array[nanmaskarray] = np.nan
kernel[nanmaskkernel] = np.nan

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
pulkit6559commented, Nov 13, 2018

@pllim @jamienoss thankyou for the response, i’ll try to tackle the easier ones first and then see if i could come up with something for this. 😃

0reactions
jamienosscommented, Nov 17, 2018

Sorry @pulkit6559 I had to go ahead and fix this for #8114.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to remove the boundary effects arising due to zero ...
The fftconvolve function basically uses the convolution theorem to speed up the computation. In short it says: convolution(int1,int2)=ifft(fft( ...
Read more >
Artifacts in convolution - python - Stack Overflow
1 Answer 1 ... Yes, this is an edge-effect issue which comes about because you have negative values in your kernel. As soon...
Read more >
Convolution and Filtering (astropy.convolution) — Astropy v5.2
Using astropy 's Convolution to Replace Bad Data​​ astropy 's convolution methods can be used to replace bad data with values interpolated from...
Read more >
convolve: Convolution of Sequences via FFT - Rdrr.io
Use the Fast Fourier Transform to compute the several kinds of convolutions of two sequences. Usage. convolve(x, y, conj = TRUE, type =...
Read more >
Chapter 8 Filtering and Convolution - Green Tea Press
This trick is necessary because the FFT is based on the assumption that the signal is periodic; that is, that it wraps around...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found