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

Convolutions #122

Merged
merged 7 commits into from
Jun 29, 2024
Merged

Convolutions #122

merged 7 commits into from
Jun 29, 2024

Conversation

fjebaker
Copy link
Owner

No description provided.

Added a delta function model, which is in essence an alias to a very
thin Gaussian. This can be at some point updated to a more faithful
implementation, provided we find a good way of propagating gradients as
the line moves through the domain.

Intended use is for emission lines or as the basis for convolutions.
This wrapper can turn any AbstractSpectralModel into a convolutional
model, and will remove additive normalisations if required.

Convolution function is a modification of the Toeplitz matrix method,
which performs the matrix multiplications without allocating the matrix.
The benefit this has over, e.g., the FFT(W) method of taking
convolutions, in that we can propagate gradients through the operation.
@fjebaker fjebaker marked this pull request as ready for review June 29, 2024 11:08
@fjebaker fjebaker merged commit dc082cf into main Jun 29, 2024
1 check passed
@fjebaker fjebaker deleted the fergus/convolutions branch June 29, 2024 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant