[Kst] [Kst-plot/kst] a35c08: Some cleanups

Barth Netterfield netterfield at astro.utoronto.ca
Mon Jan 18 21:00:11 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/Kst-plot/kst
  Commit: a35c08f93f565b77b764d154394a5809b390c581
      https://github.com/Kst-plot/kst/commit/a35c08f93f565b77b764d154394a5809b390c581
  Author: Barth Netterfield <netterfield at astro.utoronto.ca>
  Date:   2016-01-15 (Fri, 15 Jan 2016)

  Changed paths:
    M src/libkst/editablevector.cpp
    M src/libkst/vector.cpp
    M src/libkst/vector.h
    M src/libkstmath/basicplugin.cpp
    M src/libkstmath/basicplugin.h
    M src/libkstmath/dataobject.cpp
    M src/libkstmath/dataobject.h

  Log Message:
  -----------
  Some cleanups

Remove some dead code.
Fix some mini-bugs in editable vectors.
Add a _has_nan field to vectors.


  Commit: 541d9d48ccacbc85882b16d9bc4338971c8e3f63
      https://github.com/Kst-plot/kst/commit/541d9d48ccacbc85882b16d9bc4338971c8e3f63
  Author: Barth Netterfield <netterfield at astro.utoronto.ca>
  Date:   2016-01-18 (Mon, 18 Jan 2016)

  Changed paths:
    M pyKst/pykst.py
    M src/libkst/vector.cpp
    M src/libkst/vector.h
    M src/libkstapp/csddialog.cpp
    M src/libkstapp/datawizard.cpp
    M src/libkstapp/powerspectrumdialog.cpp
    M src/libkstmath/csd.cpp
    M src/libkstmath/dataobjectscriptinterface.cpp
    M src/libkstmath/dataobjectscriptinterface.h
    M src/libkstmath/psd.cpp
    M src/libkstmath/psd.h
    M src/libkstmath/psdcalculator.cpp
    M src/libkstmath/psdcalculator.h
    M src/libkstmath/psdfactory.cpp
    M src/plugins/dataobject/convolution/convolve/convolve.cpp
    M src/plugins/dataobject/convolution/deconvolve/deconvolve.cpp
    M src/plugins/dataobject/correlation/autocorrelation/autocorrelation.cpp
    M src/plugins/dataobject/crossspectrum/crossspectrum.cpp
    M src/plugins/dataobject/genericfilter/genericfilter.cpp
    M src/plugins/dataobject/interpolations/interpolations.h
    M src/plugins/dataobject/linefit/linefit.cpp
    M src/plugins/filters/cumulativeaverage/cumulativeaverage.cpp
    M src/plugins/filters/cumulativesum/cumulativesum.cpp
    M src/plugins/filters/filters.h
    M src/plugins/filters/unwind/filterunwind.cpp
    M src/plugins/fits/common.h
    M src/plugins/fits/linear.h
    M src/plugins/fits/linear_weighted.h
    M src/plugins/fits/non_linear.h
    M src/plugins/fits/non_linear_weighted.h
    M src/widgets/fftoptions.cpp
    M src/widgets/fftoptions.h
    M src/widgets/fftoptions.ui
    M tests/dirfile_maker/dirfile_maker.c

  Log Message:
  -----------
  NaNs no longer pollute fits and filters.

Formally, if you have NaNs in your data, then the results
of a fit or a fourier based filter should be all NaNs as well.

However, it is very unlikely that this is what you actually
wanted.  This patch automatically interpolates over NaNs in
many operations that would otherwise be polluted.

This is a step on the path to allowing for filter vectors.


Compare: https://github.com/Kst-plot/kst/compare/35d9ff2d8e74...541d9d48ccac


More information about the Kst mailing list