Menu

#398 Numerical error in Moving Window Average

next
fixed
nobody
None
4normal
2021-03-12
2020-05-07
Rob Gru
No

Steps

  1. open the attached project file "PPrunden_scidavisSmooth_Test.sciprj
  2. go to the Graph1 window
  3. select Menu / Ananlysis / Smooth / Moving Window Average
    .... Curve: Table1_Elev_cor
    .... Points: 5
  4. click smooth

Result
second last smoothed point at x=122 has y=0

Expected Result
At x=122 has y~345

My System
SciDavis 1.26
Qt: 4.6.7; Qwt: 5.2.3; No python
Win 10 Pro 64 Bit

1 Attachments

Discussion

  • Rob Gru

    Rob Gru - 2020-05-07

    Sorry typo: QT 4.8.7

     
  • gbm

    gbm - 2020-05-08

    Attached patch solves the problem

     
  • Rob Gru

    Rob Gru - 2020-05-08

    Thank you very much! When will there be a release with this patch?
    Best regards

     
    • High Performance Coder

      On Fri, May 08, 2020 at 09:44:11PM -0000, Rob Gru wrote:

      Thank you very much! When will there be a release with this patch?
      Best regards

      I can get one out as soon as Miquel submits the pull request.

      --


      Dr Russell Standish Phone 0425 253119 (mobile)
      Principal, High Performance Coders hpcoder@hpcoders.com.au
      http://www.hpcoders.com.au


       
  • High Performance Coder

    I know I said I'd do a release once Miquel did the pull request. I have done a source code release. I could probably release on Linux without much fanfare, but I assume you're more interested in Windows and/or Mac. Both of these platforms have many, many problems compiling for Qt5 (not to mention Python3) - I will fix these in due course, but sadly, it won't be any time soon.

     
  • Rob Gru

    Rob Gru - 2020-05-13

    Many thanks for your efforts to maintain this great software. Best wishes.

     
  • Suthiro

    Suthiro - 2021-03-12
    • status: open --> fixed
     
  • Suthiro

    Suthiro - 2021-03-12
     

Log in to post a comment.

MongoDB Logo MongoDB