Skip to content
Snippets Groups Projects

Move Gaussian drawing function from WSClean

Merged Andre Offringa requested to merge move-draw-gaussian into master
1 unresolved thread

This is a first refactoring step to get a function DrawGaussianToLm() in schaapcommon. I'll also need a DrawGaussianToXy() function later on, hence the Lm in the name.

The fft module has also been renamed to the more generic name math, as the presence of convolution operation in fft is already a bit dubious.

Edited by Andre Offringa

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
1 #include "drawgaussian.h"
2
3 #include <cmath>
4
5 #include <aocommon/imagecoordinates.h>
6
7 using aocommon::ImageCoordinates;
8
9 namespace {
10 long double Gaussian(long double x, long double sigma) {
  • added 1 commit

    Compare with previous version

  • Author Maintainer

    Thanks @nimalan-m , all good comments. Should be all fixed.

  • Nimalan Mahadevan approved this merge request

    approved this merge request

  • Andre Offringa mentioned in commit 94c40260

    mentioned in commit 94c40260

  • Please register or sign in to reply
    Loading