[Numpy-discussion] Re: Wondering if there is interest in a "variable convolution" feature in numpy?

2025-06-05 Thread cantor.duster--- via NumPy-Discussion
Thanks for the response, Nathan!  I'll check in with SciPy.  They have quite a 
few different convolution functions.

Our backup is publishing this as a standalone package on PyPI and conda-forge.  
I wanted to see if it made sense to integrate it with something else first, 
though.

Unfortunately since it's a single function I don't think it's a candidate for 
JOSS.
___
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3//lists/numpy-discussion.python.org
Member address: arch...@mail-archive.com


[Numpy-discussion] Wondering if there is interest in a "variable convolution" feature in numpy?

2025-06-04 Thread cantor.duster--- via NumPy-Discussion
Hello,

My team and I (especially @Arqu1100) have been working on energy-dependent 
convolutions for a nuclear physics application: 
https://github.com/det-lab/energyDependentColvolve.

We're looking to release this code either as a standalone library or as part of 
a library because we ran into quite a few issues when writing the code and 
would like to help out other groups who need to do this "simple" calculation.  

This code is definitely not ready for a pull request, but if there's any 
interest in this feature we're happy to create one.  @Arqu1100 has worked 
particularly hard on creating test cases. The only existing library we found 
that does what we do here is varconvolve, which we haven't been able to verify 
against our test cases. Other examples of code that does a similar job are 
referenced on Stack Overflow as being embedded into ldscat 
(https://stackoverflow.com/questions/18624005/how-do-i-perform-a-convolution-in-python-with-a-variable-width-gaussian).

If there's a better place to ask the question, please let me know.  Thanks all!

Amy Roberts
___
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3//lists/numpy-discussion.python.org
Member address: arch...@mail-archive.com