Git Product home page Git Product logo

harminv's People

Contributors

homerreid avatar michelmno avatar pdumon avatar stevengj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

harminv's Issues

Build fails: No rule to make target 'copyright.h', needed by 'all'. Stop.

===>  Building for harminv-1.4.2
gmake[1]: Entering directory '/usr/ports/science/harminv/work/harminv-1.4.2'
gmake[1]: *** No rule to make target 'copyright.h', needed by 'all'.  Stop.
gmake[1]: Leaving directory '/usr/ports/science/harminv/work/harminv-1.4.2'

Version: 1.4.2
clang-14
FreeBSD 13.1

harminv: How to use in a Julia environment

Dear Steven,

coming from the Fortran/Matlab world I decided to make Julia to my language of choice. Recently, I have discovered harminv which I would really like to use. However, I am clueless about anything related to c (compiling, running etc). Do you have an idea on how to make your library run under Julia ?? I am on windows 7 btw.

Thank you

make check fails

Hi,

It seems that sines-test is failing on my computer

Example output from harminv

$ ./sines 0.1+0.01i 0.08+0.001i | ./harminv 0.05-0.15
frequency, decay constant, Q, amplitude, phase, error

(yes no frequencies were found)

It seems to work if we change the range in which we look for frequencies

./sines 0.1+0.01i 0.08+0.001i | ./harminv 0.05-0.16
frequency, decay constant, Q, amplitude, phase, error
0.08, 1.000000e-03, 251.327, 2, 3.14159, 8.834857e-16
0.1, 1.000000e-02, 31.4159, 1, 4.78299e-14, 1.692517e-15

both frequencies correctly found!!!

Any clue as to why this might happen?

make fails

Trying to install harminv on macOS Sierra (10.12.6). Cloned harminv from GitHub.com...

git clone https://github.com/stevengj/harminv
cd ./harminv

sh autogens.sh runs to completion.
./configure runs to completion.
make stops with the following message,
make: *** No rule to make target copyright.h', needed by all'. Stop.

A few days ago I installed harminv on another iMac, running macOS Sierra, from the tarball without incident.

harminv parameter setting issue

I use this software to calculate the frequency of a signal that is superimposed from three sinusoidal signals
y=sin(2*pi*t*12)+sin(2*pi*t*12.1)+sin(2*pi*t*12)
The length of the signal is 5.23s, the sampling interval is 0.01s, and the number of sampling points is 524;
I use the harminv :
harminv -t -0.01 10-15 < input.data
the result is:
frequency:
-12.1882 -12.0181 12.018 12.182
The frequency of 12.1 is missing,I wonder how harminv‘s parameter should be set to calculate these three frequencies

Api changes in 1.4

9f94898 has changed the api. (Now released with version 1.4)

The arguments of harminv_get_omega and harminv_get_amplitude have changed to require a harminv_complex as first argument.

Was this change necessary? Do you expect it to be permanent?

I can update my python interface (aaren/pharminv) to match the change without much problem, but I'm not sure whether you intended this change or not.

(harminv 1.3.1 is distributed with Debian Jessie)

configure script missing from release

The documentation states "Harminv comes with a GNU-style configure script, " which is not true.

I tried running autogen.sh but I can not figure out how to supply my environment to it. There doesn't seem to be a --help options or so. Could you document the possible flags?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.