- Posts: 12160
- Thank you received: 0
LOWPASS Forumla
8 years 3 months ago #113793
by rodw
Replied by rodw on topic LOWPASS Forumla
but unless you know what e is or what exp does, a user still can't replicate the formula. It still needs more detail in the docs.
Please Log in to join the conversation.
8 years 3 months ago #113886
by BigJohnT
I'll take care of this when I'm done with the holiday. Seb has cherry picked the addition to 2.7 so it should show up in the on line documents in a while and I'll expand the example with more information so a non math person can calculate it in the morning. Then the addition will get pushed to master.
JT
Replied by BigJohnT on topic LOWPASS Forumla
rodw wrote: but unless you know what e is or what exp does, a user still can't replicate the formula. It still needs more detail in the docs.
I'll take care of this when I'm done with the holiday. Seb has cherry picked the addition to 2.7 so it should show up in the on line documents in a while and I'll expand the example with more information so a non math person can calculate it in the morning. Then the addition will get pushed to master.
JT
Please Log in to join the conversation.
8 years 3 months ago #113954
by BigJohnT
Replied by BigJohnT on topic LOWPASS Forumla
Ok the documents have been updated and are online.
linuxcnc.org/docs/2.7/html/man/man9/lowpass.9.html
JT
linuxcnc.org/docs/2.7/html/man/man9/lowpass.9.html
JT
Please Log in to join the conversation.
8 years 3 months ago #113981
by rodw
Replied by rodw on topic LOWPASS Forumla
John, looks great thanks. Appreciate your help.
Its little things like these that increase traffic on the forum as users don't have the info they need to implement a feature of Linuxcnc.
Its little things like these that increase traffic on the forum as users don't have the info they need to implement a feature of Linuxcnc.
Please Log in to join the conversation.
8 years 3 months ago #113988
by phillc54
Replied by phillc54 on topic LOWPASS Forumla
Python 2.7.13 on my Stretch machine does use ** for the power operator
phill@stretch:~$ python
Python 2.7.13 (default, Nov 24 2017, 17:33:09)
[GCC 6.3.0 20170516] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 6**2
36
>>> 6.001**2
36.012001000000005
phill@stretch:~$ python
Python 2.7.13 (default, Nov 24 2017, 17:33:09)
[GCC 6.3.0 20170516] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 6**2
36
>>> 6.001**2
36.012001000000005
Please Log in to join the conversation.
8 years 3 months ago #113991
by rodw
Replied by rodw on topic LOWPASS Forumla
or
Code:
>>> pow(6.001,2)
36.012001000000005
Please Log in to join the conversation.
8 years 3 months ago #114067
by GeneRF
Replied by GeneRF on topic LOWPASS Forumla
Fortran has always used ** for exponentiation. That does not make it right or wrong for linuxcnc, but it is not just something that Sinclair or any other bit player invented.
Fortran is no longer well known by mere mortals, but it is still very important for supercomputing.
Fortran is no longer well known by mere mortals, but it is still very important for supercomputing.
Please Log in to join the conversation.
Time to create page: 0.055 seconds
