Discussion:
[Gwyddion-users] fit sphere
jeangobet
2016-07-02 18:20:39 UTC
Permalink
Hello,
The "fit sphere" function works well to flatten a sphere and measure the
volume of debris over its surface after a friction test.
It is however necessary to proceed in two steps: Fit the sphere and
calculate the difference between the original data and the fitted sphere
(multidata arithmetic).
As the difference is anyway displayed in the preview window, I was
wandering if it is, or if it would be, possible to get it directly,
without going through the subtraction operation.
Thanks in advance,
Regards,
Jean
David Nečas (Yeti)
2016-07-04 06:06:16 UTC
Permalink
Post by jeangobet
As the difference is anyway displayed in the preview window, I was
wandering if it is, or if it would be, possible to get it directly,
without going through the subtraction operation.
It is not possible now but adding such option to Fit sphere is
definitely reasonable.

Regards,

Yeti
jeangobet
2016-07-04 19:22:06 UTC
Permalink
Thank you for your answer. Gwyddion is fantastic !
Post by David Nečas (Yeti)
Post by jeangobet
As the difference is anyway displayed in the preview window, I was
wandering if it is, or if it would be, possible to get it directly,
without going through the subtraction operation.
It is not possible now but adding such option to Fit sphere is
definitely reasonable.
Regards,
Yeti
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Gwyddion-users mailing list
https://lists.sourceforge.net/lists/listinfo/gwyddion-users
David Nečas (Yeti)
2016-07-21 11:51:32 UTC
Permalink
Post by David Nečas (Yeti)
It is not possible now but adding such option to Fit sphere is
definitely reasonable.
And so I did. You can test it in the development snapshots
(2.45.20160722+).

Regards,

Yeti
jeangobet
2016-07-22 20:14:35 UTC
Permalink
Great!
Would like to try it. Downloaded "Gwyddion-head.win64.exe 2016-07-22".
Installation works fine but I can not run the program: Message
"libpcre-1.dll is missing from your computer".
If there is no easy fix, i will gladly wait until the release of the
stable new version.
Regards,
Jean
Post by David Nečas (Yeti)
Post by David Nečas (Yeti)
It is not possible now but adding such option to Fit sphere is
definitely reasonable.
And so I did. You can test it in the development snapshots
(2.45.20160722+).
Regards,
Yeti
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Gwyddion-users mailing list
https://lists.sourceforge.net/lists/listinfo/gwyddion-users
David Nečas (Yeti)
2016-07-23 05:27:26 UTC
Permalink
Post by jeangobet
Would like to try it. Downloaded "Gwyddion-head.win64.exe 2016-07-22".
Installation works fine but I can not run the program: Message
"libpcre-1.dll is missing from your computer".
Sorry, there was a packaging error in the MS Windows development
snapshots the last few days. It is fixed now. Please try again with
today's (2.45.20160723) or later version.

Regards,

Yeti
jeangobet
2016-07-23 15:33:59 UTC
Permalink
Hi Yeti,
Many thanks, it works perfectly!
Regards,
Jean
Post by David Nečas (Yeti)
Post by jeangobet
Would like to try it. Downloaded "Gwyddion-head.win64.exe 2016-07-22".
Installation works fine but I can not run the program: Message
"libpcre-1.dll is missing from your computer".
Sorry, there was a packaging error in the MS Windows development
snapshots the last few days. It is fixed now. Please try again with
today's (2.45.20160723) or later version.
Regards,
Yeti
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Gwyddion-users mailing list
https://lists.sourceforge.net/lists/listinfo/gwyddion-users
David Nečas (Yeti)
2016-08-08 10:51:48 UTC
Permalink
Post by jeangobet
Many thanks, it works perfectly!
I am writing a new module for fiting various geometrical shapes on the
data. It is present in current development snaphots in the menu as

Data Process → Level → Fit Shape

Even though it is not finished it already works quite well and offers a
handful of useful shapes. I intend to remove Fit Sphere in 2.46 because
it does not do, IMO, anything the new module cannot do [better].

Please check out the new module if you (that means anyone) use Fit
Sphere. If you think that functionality would be lost by removing it
please let me know what exactly would be lost.

Regards,

Yeti


------------------------------------------------------------------------------
francheu
2016-08-08 17:58:16 UTC
Permalink
Hi,
I have just done the usual crash test, and I got a nice segfault :D
Using the following data (the problem is linked to these data, no crash
with gwy files):
https://framadrop.org/r/wGHhLFMdKX#dDnIfgbIIRGiz3Z/B7iO193OYhzdWRn/XyLx/YPtm+k=

First, the module does not show "sphere" in the function type list
(although it is obviously set on the sphere type),
and when choosing "pyramid (diamond)" I get this:

(gwyddion:2848): Module-DEBUG: fit-shape.c:782: fit_param_table_resize:
(0,000007) 0 -> 7
(gwyddion:2848): Module-DEBUG: fit-shape.c:906: fit_correl_table_resize:
(0,007605) 0 -> 7
(gwyddion:2848): Module-DEBUG: fit-shape.c:1908: circumscribe_x_y:
(0,049724) filling cache 0x7fffe9019910
(gwyddion:2848): Module-DEBUG: fit-shape.c:1837: range_z: (0,052889)
filling cache 0x7fffe9019910
(gwyddion:2848): Module-DEBUG: fit-shape.c:782: fit_param_table_resize:
(4,230862) 7 -> 183
Erreur de segmentation

Kind Regards.

François
Post by David Nečas (Yeti)
Post by jeangobet
Many thanks, it works perfectly!
I am writing a new module for fiting various geometrical shapes on the
data. It is present in current development snaphots in the menu as
Data Process → Level → Fit Shape
Even though it is not finished it already works quite well and offers a
handful of useful shapes. I intend to remove Fit Sphere in 2.46 because
it does not do, IMO, anything the new module cannot do [better].
Please check out the new module if you (that means anyone) use Fit
Sphere. If you think that functionality would be lost by removing it
please let me know what exactly would be lost.
Regards,
Yeti
------------------------------------------------------------------------------
_______________________________________________
Gwyddion-users mailing list
https://lists.sourceforge.net/lists/listinfo/gwyddion-users
David Nečas (Yeti)
2016-08-08 19:28:46 UTC
Permalink
Post by francheu
I have just done the usual crash test, and I got a nice segfault :D
Using the following data (the problem is linked to these data, no crash
https://framadrop.org/r/wGHhLFMdKX#dDnIfgbIIRGiz3Z/B7iO193OYhzdWRn/XyLx/YPtm+k=
First, the module does not show "sphere" in the function type list
(although it is obviously set on the sphere type),
Thanks for the testing. For some reason I cannot get the file – it says

test FRI.esd

Please wait while we are getting your file. We first need to download
and decrypt all parts before you can get it.

0%
Abort

but nothing seems to be happening. But I can reproduce the problem
anyway. When Z is not height but a different physical quantity some
things still get mixed up.

Just to clarify, ‘Sphere’ is excluded from the shape list in this case
because a sphere has a radius which must be the same physical quantity
as X, Y and Z.

Regards,

Yeti
jeangobet
2016-08-09 19:49:39 UTC
Permalink
Dear Yeti,
I tried Gwyddion-head.win64.exe 2016-08-09
"Fit sphere" still works well, but just selecting "Data process->
Level->Fit shape" produces a crash (gwyddion.exe has stopped working)
Again a MS window issue ?
Best regards,
Jean
Post by David Nečas (Yeti)
Post by francheu
I have just done the usual crash test, and I got a nice segfault :D
Using the following data (the problem is linked to these data, no crash
https://framadrop.org/r/wGHhLFMdKX#dDnIfgbIIRGiz3Z/B7iO193OYhzdWRn/XyLx/YPtm+k=
First, the module does not show "sphere" in the function type list
(although it is obviously set on the sphere type),
Thanks for the testing. For some reason I cannot get the file – it says
test FRI.esd
Please wait while we are getting your file. We first need to download
and decrypt all parts before you can get it.
0%
Abort
but nothing seems to be happening. But I can reproduce the problem
anyway. When Z is not height but a different physical quantity some
things still get mixed up.
Just to clarify, ‘Sphere’ is excluded from the shape list in this case
because a sphere has a radius which must be the same physical quantity
as X, Y and Z.
Regards,
Yeti
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Gwyddion-users mailing list
https://lists.sourceforge.net/lists/listinfo/gwyddion-users
David Nečas (Yeti)
2016-08-15 12:28:36 UTC
Permalink
Post by jeangobet
I tried Gwyddion-head.win64.exe 2016-08-09
"Fit sphere" still works well, but just selecting "Data process->
Level->Fit shape" produces a crash (gwyddion.exe has stopped working)
Again a MS window issue ?
Thanks for trying the module. Unfortunately, there was actually a bug
– one I never observed in Linux due to some technical differences in
memory handling between the operating systems... Anyway, it should be
fixed now (i.e. in tomorrow's development snapshot for you).

I still plan to add at least one thing that concerns spheres: the new
module fits curvatures (to avoid infinities for nearly-flat surfaces)
but people typically want to see radii. So they should be displayed as
secondary quantitites, and that is not done yet.

Regards,

Yeti
jeangobet
2016-08-16 19:52:37 UTC
Permalink
Thanks a lot , "Gwyddion-head.win64.exe 2016-08-16" works well.
"Level-Fit-Sphere" and "Level-Fit-Shape-Sphere" results are in perfect
agreement . Sphere radii will be nice to have.
Regards,
Jean
Post by David Nečas (Yeti)
Post by jeangobet
I tried Gwyddion-head.win64.exe 2016-08-09
"Fit sphere" still works well, but just selecting "Data process->
Level->Fit shape" produces a crash (gwyddion.exe has stopped working)
Again a MS window issue ?
Thanks for trying the module. Unfortunately, there was actually a bug
– one I never observed in Linux due to some technical differences in
memory handling between the operating systems... Anyway, it should be
fixed now (i.e. in tomorrow's development snapshot for you).
I still plan to add at least one thing that concerns spheres: the new
module fits curvatures (to avoid infinities for nearly-flat surfaces)
but people typically want to see radii. So they should be displayed as
secondary quantitites, and that is not done yet.
Regards,
Yeti
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Gwyddion-users mailing list
https://lists.sourceforge.net/lists/listinfo/gwyddion-users
------------------------------------------------------------------------------
Continue reading on narkive:
Loading...