mumax / 3

GPU-accelerated micromagnetic simulator
Other
447 stars 150 forks source link

Plotting .ovf as 3d #276

Closed zkhodzhaev closed 3 years ago

zkhodzhaev commented 3 years ago

I have an .ovf file from Hopfion and I want to plot in 3d, I saw ovf2vkt from python but the webpage is not updated and I couldn't find their download files,

Is there a software that I can use to plot this?

(I remember one time, I found a software where by importing .ovf I was able to see the magnetization - arrows, but i forgot the software's name and I was not able to find it again),

nasirm143 commented 3 years ago

you can use "muview" (https://github.com/grahamrow/Muview2/releases) software for visualizing the .ovf files.


From: Zulfidin Khodzhaev notifications@github.com Sent: Wednesday, November 25, 2020 3:15 PM To: mumax/3 3@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [mumax/3] Plotting .ovf as 3d (#276)

I have an .ovf file from Hopfion and I want to plot in 3d, I saw ovf2vkt from python but the webpage is not updated and I couldn't find their download files,

Is there a software that I can use to plot this?

(I remember one time, I found a software where by importing .ovf I was able to see the magnetization - arrows, but i forgot the software's name and I was not able to find it again),

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/mumax/3/issues/276, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQW2FL5HSOQBL63K42JPNIDSRSVHZANCNFSM4UCAADDQ.

grahamrow commented 3 years ago

This is the Muview dev here, let me know if everything is working correctly. There are lots of API changes going on, especially on macOS that have made things a bit more difficult. I don’t have too much time to maintain but would be sad if things were completely broken.

Happy thanksgiving! Graham

On Wed, Nov 25, 2020 at 4:40 AM Nasir Mehmood notifications@github.com wrote:

you can use "muview" (https://github.com/grahamrow/Muview2/releases) software for visualizing the .ovf files.


From: Zulfidin Khodzhaev notifications@github.com Sent: Wednesday, November 25, 2020 3:15 PM To: mumax/3 3@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [mumax/3] Plotting .ovf as 3d (#276)

I have an .ovf file from Hopfion and I want to plot in 3d, I saw ovf2vkt from python but the webpage is not updated and I couldn't find their download files,

Is there a software that I can use to plot this?

(I remember one time, I found a software where by importing .ovf I was able to see the magnetization - arrows, but i forgot the software's name and I was not able to find it again),

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub< https://github.com/mumax/3/issues/276>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/AQW2FL5HSOQBL63K42JPNIDSRSVHZANCNFSM4UCAADDQ

.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mumax/3/issues/276#issuecomment-733591023, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAL5JDJKT6OHT2HAEV2L2ITSRTGKJANCNFSM4UCAADDQ .

godsic commented 3 years ago

An alternative way is to use mumax3-convert -vtk=binary FILENAME.ovf to convert .ovf file to .vtk and then use ParaView or MayaVi to vizualise it.

-Mykola

On Wed, Nov 25, 2020 at 08:15, Graham Rowlands notifications@github.com wrote:

This is the Muview dev here, let me know if everything is working correctly. There are lots of API changes going on, especially on macOS that have made things a bit more difficult. I don’t have too much time to maintain but would be sad if things were completely broken.

Happy thanksgiving! Graham

On Wed, Nov 25, 2020 at 4:40 AM Nasir Mehmood notifications@github.com wrote:

you can use "muview" (https://github.com/grahamrow/Muview2/releases) software for visualizing the .ovf files.


From: Zulfidin Khodzhaev notifications@github.com Sent: Wednesday, November 25, 2020 3:15 PM To: mumax/3 3@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [mumax/3] Plotting .ovf as 3d (#276)

I have an .ovf file from Hopfion and I want to plot in 3d, I saw ovf2vkt from python but the webpage is not updated and I couldn't find their download files,

Is there a software that I can use to plot this?

(I remember one time, I found a software where by importing .ovf I was able to see the magnetization - arrows, but i forgot the software's name and I was not able to find it again),

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub< https://github.com/mumax/3/issues/276>, or unsubscribe<

https://github.com/notifications/unsubscribe-auth/AQW2FL5HSOQBL63K42JPNIDSRSVHZANCNFSM4UCAADDQ

.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mumax/3/issues/276#issuecomment-733591023, or unsubscribe

https://github.com/notifications/unsubscribe-auth/AAL5JDJKT6OHT2HAEV2L2ITSRTGKJANCNFSM4UCAADDQ .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mumax/3/issues/276#issuecomment-733805119, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR3DW5Y4SHF5YQ3JQDTD5TSRUUTLANCNFSM4UCAADDQ.

zkhodzhaev commented 3 years ago

you can use "muview" (https://github.com/grahamrow/Muview2/releases) software for visualizing the .ovf files. ____ From: Zulfidin Khodzhaev notifications@github.com Sent: Wednesday, November 25, 2020 3:15 PM To: mumax/3 3@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [mumax/3] Plotting .ovf as 3d (#276) I have an .ovf file from Hopfion and I want to plot in 3d, I saw ovf2vkt from python but the webpage is not updated and I couldn't find their download files, Is there a software that I can use to plot this? (I remember one time, I found a software where by importing .ovf I was able to see the magnetization - arrows, but i forgot the software's name and I was not able to find it again), — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub<#276>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQW2FL5HSOQBL63K42JPNIDSRSVHZANCNFSM4UCAADDQ.

This is what I was looking for.

zkhodzhaev commented 3 years ago

This is the Muview dev here, let me know if everything is working correctly. There are lots of API changes going on, especially on macOS that have made things a bit more difficult. I don’t have too much time to maintain but would be sad if things were completely broken. Happy thanksgiving! Graham On Wed, Nov 25, 2020 at 4:40 AM Nasir Mehmood @.> wrote: you can use "muview" (https://github.com/grahamrow/Muview2/releases) software for visualizing the .ovf files. ____ From: Zulfidin Khodzhaev @.> Sent: Wednesday, November 25, 2020 3:15 PM To: mumax/3 @.> Cc: Subscribed @.> Subject: [mumax/3] Plotting .ovf as 3d (#276) I have an .ovf file from Hopfion and I want to plot in 3d, I saw ovf2vkt from python but the webpage is not updated and I couldn't find their download files, Is there a software that I can use to plot this? (I remember one time, I found a software where by importing .ovf I was able to see the magnetization - arrows, but i forgot the software's name and I was not able to find it again), — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub< #276>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/AQW2FL5HSOQBL63K42JPNIDSRSVHZANCNFSM4UCAADDQ >. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#276 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAL5JDJKT6OHT2HAEV2L2ITSRTGKJANCNFSM4UCAADDQ .

It works for now.

zkhodzhaev commented 3 years ago

An alternative way is to use mumax3-convert -vtk=binary FILENAME.ovf to convert .ovf file to .vtk and then use ParaView or MayaVi to vizualise it. -Mykola On Wed, Nov 25, 2020 at 08:15, Graham Rowlands notifications@github.com wrote: This is the Muview dev here, let me know if everything is working correctly. There are lots of API changes going on, especially on macOS that have made things a bit more difficult. I don’t have too much time to maintain but would be sad if things were completely broken. Happy thanksgiving! Graham On Wed, Nov 25, 2020 at 4:40 AM Nasir Mehmood @.> wrote: > you can use "muview" (https://github.com/grahamrow/Muview2/releases) > software for visualizing the .ovf files. > ____ > From: Zulfidin Khodzhaev @.> > Sent: Wednesday, November 25, 2020 3:15 PM > To: mumax/3 @.> > Cc: Subscribed @.> > Subject: [mumax/3] Plotting .ovf as 3d (#276) > > > I have an .ovf file from Hopfion and I want to plot in 3d, > I saw ovf2vkt from python but the webpage is not updated and I couldn't > find their download files, > > Is there a software that I can use to plot this? > > (I remember one time, I found a software where by importing .ovf I was > able to see the magnetization - arrows, but i forgot the software's name > and I was not able to find it again), > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub< > #276>, or unsubscribe< > https://github.com/notifications/unsubscribe-auth/AQW2FL5HSOQBL63K42JPNIDSRSVHZANCNFSM4UCAADDQ > >. > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <#276 (comment)>, or > unsubscribe > https://github.com/notifications/unsubscribe-auth/AAL5JDJKT6OHT2HAEV2L2ITSRTGKJANCNFSM4UCAADDQ > . > — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#276 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR3DW5Y4SHF5YQ3JQDTD5TSRUUTLANCNFSM4UCAADDQ.

The output is "filename.vts" maybe there is bug in my version mumax3. And Paraview can't view this file apparently.

davidcortesortuno commented 3 years ago

I have an .ovf file from Hopfion and I want to plot in 3d, I saw ovf2vkt from python but the webpage is not updated and I couldn't find their download files,

Is there a software that I can use to plot this?

(I remember one time, I found a software where by importing .ovf I was able to see the magnetization - arrows, but i forgot the software's name and I was not able to find it again),

You can also try https://github.com/davidcortesortuno/oommfpy and either convert to vtk using omf2vtk (although mumax already converts to vtk) and plot in Paraview. Or use the Numpy arrays and plot using Matplotlib and Scikit's marching cubes algorithm to find the isosurfaces https://scikit-image.org/docs/dev/auto_examples/edges/plot_marching_cubes.html

zkhodzhaev commented 3 years ago

I forgot to close the issue. It works, thanks everyone.