Hi,
I'm a new user to the Alps program, so this may be a trivial question. I have gone through most of the tutorials and I'm getting familiar with the program. One thing I can't figure out is how to display a picture of the lattice that I define. What I mean is how do I go from the hml code for a lattice to to a graph of it? What program can I use to display it? For example, in the tutorial you write:
<GRAPH vertices="5" edges="5"> <EDGE source="1" target="2"/> <EDGE source="2" target="3"/> <EDGE source="1" target="4"/> <EDGE source="2" target="5"/> <EDGE source="4" target="5"/> </GRAPH>
Then you show what this lattice looks like. How can I get that picture to display? My main concern is that since I'm new to the program I would like to see if a lattice that I think I have defined is actually the lattice that I want. Thanks.
Hi Michal, I don't believe that there are any tools in alps for creating actual images of the lattices (though someone please correct me if I'm wrong). My understanding is that the pictures in the tutorials were just created by hand for the purpose of illustrating the concept.
On the other hand, the fact that the lattices in alps are stored as xml data can be very helpful for making an image of your own (& you can use the printgraph tool to print an xml representation of your lattice as defined in your parameter file - I believe you have to delete all of the tasklines for it to work properly though).
If you want to try making a lattice visualization of your own, for a 2D lattice you could try something like Nodebox: http://nodebox.net/code/index.php/Home which lets you use python scripts to make images. Or, if your lattice is 3D, you could write a script to turn your lattice xml into a series of Mathematica commands as it can make 3D plots.
On Thu, Nov 5, 2009 at 3:14 AM, Michal Maik mmaik@uccs.edu wrote:
Hi,
I'm a new user to the Alps program, so this may be a trivial question. I have gone through most of the tutorials and I'm getting familiar with the program. One thing I can't figure out is how to display a picture of the lattice that I define. What I mean is how do I go from the hml code for a lattice to to a graph of it? What program can I use to display it? For example, in the tutorial you write:
<GRAPH vertices="5" edges="5"> <EDGE source="1" target="2"/> <EDGE source="2" target="3"/> <EDGE source="1" target="4"/> <EDGE source="2" target="5"/> <EDGE source="4" target="5"/> </GRAPH>
Then you show what this lattice looks like. How can I get that picture to display? My main concern is that since I'm new to the program I would like to see if a lattice that I think I have defined is actually the lattice that I want. Thanks.
Dear Michal and Miles,
Actually, I have written a prototype of ALPS lattice previewer. Now I'm preparing a web page for installing and using this previewer. I will write to you again once the web page becomes ready.
Synge
On 2009/11/06, at 3:50, Miles Stoudenmire wrote:
Hi Michal, I don't believe that there are any tools in alps for creating actual images of the lattices (though someone please correct me if I'm wrong). My understanding is that the pictures in the tutorials were just created by hand for the purpose of illustrating the concept.
On the other hand, the fact that the lattices in alps are stored as xml data can be very helpful for making an image of your own (& you can use the printgraph tool to print an xml representation of your lattice as defined in your parameter file - I believe you have to delete all of the tasklines for it to work properly though).
If you want to try making a lattice visualization of your own, for a 2D lattice you could try something like Nodebox: http://nodebox.net/code/index.php/Home which lets you use python scripts to make images. Or, if your lattice is 3D, you could write a script to turn your lattice xml into a series of Mathematica commands as it can make 3D plots.
On Thu, Nov 5, 2009 at 3:14 AM, Michal Maik mmaik@uccs.edu wrote:
Hi,
I'm a new user to the Alps program, so this may be a trivial question. I have gone through most of the tutorials and I'm getting familiar with the program. One thing I can't figure out is how to display a picture of the lattice that I define. What I mean is how do I go from the hml code for a lattice to to a graph of it? What program can I use to display it? For example, in the tutorial you write:
<GRAPH vertices="5" edges="5"> <EDGE source="1" target="2"/> <EDGE source="2" target="3"/> <EDGE source="1" target="4"/> <EDGE source="2" target="5"/> <EDGE source="4" target="5"/> </GRAPH>
Then you show what this lattice looks like. How can I get that picture to display? My main concern is that since I'm new to the program I would like to see if a lattice that I think I have defined is actually the lattice that I want. Thanks.
-- -=Miles Stoudenmire=- miles@physics.ucsb.edu miles.stoudenmire@gmail.com http://www.crazytheory.com/
Hi,
I have just added ALPS lattice previewer (lattice-preview) in tools directory in SVN trunk. To compile, python (2.5 or later), wxPython, VTK are required. Please see
http://alps.comp-phys.org/mediawiki/index.php/Setup_and_Installation_%28Pyth...
for an install guide.
Best, Synge
On 2009/11/06, at 13:57, Synge Todo wrote:
Dear Michal and Miles,
Actually, I have written a prototype of ALPS lattice previewer. Now I'm preparing a web page for installing and using this previewer. I will write to you again once the web page becomes ready.
Synge
On 2009/11/06, at 3:50, Miles Stoudenmire wrote:
Hi Michal, I don't believe that there are any tools in alps for creating actual images of the lattices (though someone please correct me if I'm wrong). My understanding is that the pictures in the tutorials were just created by hand for the purpose of illustrating the concept.
On the other hand, the fact that the lattices in alps are stored as xml data can be very helpful for making an image of your own (& you can use the printgraph tool to print an xml representation of your lattice as defined in your parameter file - I believe you have to delete all of the tasklines for it to work properly though).
If you want to try making a lattice visualization of your own, for a 2D lattice you could try something like Nodebox: http://nodebox.net/code/index.php/Home which lets you use python scripts to make images. Or, if your lattice is 3D, you could write a script to turn your lattice xml into a series of Mathematica commands as it can make 3D plots.
On Thu, Nov 5, 2009 at 3:14 AM, Michal Maik mmaik@uccs.edu wrote:
Hi,
I'm a new user to the Alps program, so this may be a trivial question. I have gone through most of the tutorials and I'm getting familiar with the program. One thing I can't figure out is how to display a picture of the lattice that I define. What I mean is how do I go from the hml code for a lattice to to a graph of it? What program can I use to display it? For example, in the tutorial you write:
<GRAPH vertices="5" edges="5"> <EDGE source="1" target="2"/> <EDGE source="2" target="3"/> <EDGE source="1" target="4"/> <EDGE source="2" target="5"/> <EDGE source="4" target="5"/> </GRAPH>
Then you show what this lattice looks like. How can I get that picture to display? My main concern is that since I'm new to the program I would like to see if a lattice that I think I have defined is actually the lattice that I want. Thanks.
-- -=Miles Stoudenmire=- miles@physics.ucsb.edu miles.stoudenmire@gmail.com http://www.crazytheory.com/
Hi Synge,
Thanks for the nice work. Do you want to include that in ALPS 1.3.5 or post it as a separate add-on download? Or in a 1.3.6 release later this year?
Matthias
On Nov 26, 2009, at 7:09 AM, Synge Todo wrote:
Hi,
I have just added ALPS lattice previewer (lattice-preview) in tools directory in SVN trunk. To compile, python (2.5 or later), wxPython, VTK are required. Please see
http://alps.comp-phys.org/mediawiki/index.php/Setup_and_Installation_%28Pyth...
for an install guide.
Best, Synge
On 2009/11/06, at 13:57, Synge Todo wrote:
Dear Michal and Miles,
Actually, I have written a prototype of ALPS lattice previewer. Now I'm preparing a web page for installing and using this previewer. I will write to you again once the web page becomes ready.
Synge
On 2009/11/06, at 3:50, Miles Stoudenmire wrote:
Hi Michal, I don't believe that there are any tools in alps for creating actual images of the lattices (though someone please correct me if I'm wrong). My understanding is that the pictures in the tutorials were just created by hand for the purpose of illustrating the concept.
On the other hand, the fact that the lattices in alps are stored as xml data can be very helpful for making an image of your own (& you can use the printgraph tool to print an xml representation of your lattice as defined in your parameter file - I believe you have to delete all of the tasklines for it to work properly though).
If you want to try making a lattice visualization of your own, for a 2D lattice you could try something like Nodebox: http://nodebox.net/code/index.php/Home which lets you use python scripts to make images. Or, if your lattice is 3D, you could write a script to turn your lattice xml into a series of Mathematica commands as it can make 3D plots.
On Thu, Nov 5, 2009 at 3:14 AM, Michal Maik mmaik@uccs.edu wrote:
Hi,
I'm a new user to the Alps program, so this may be a trivial question. I have gone through most of the tutorials and I'm getting familiar with the program. One thing I can't figure out is how to display a picture of the lattice that I define. What I mean is how do I go from the hml code for a lattice to to a graph of it? What program can I use to display it? For example, in the tutorial you write:
<GRAPH vertices="5" edges="5"> <EDGE source="1" target="2"/> <EDGE source="2" target="3"/> <EDGE source="1" target="4"/> <EDGE source="2" target="5"/> <EDGE source="4" target="5"/> </GRAPH>
Then you show what this lattice looks like. How can I get that picture to display? My main concern is that since I'm new to the program I would like to see if a lattice that I think I have defined is actually the lattice that I want. Thanks.
-- -=Miles Stoudenmire=- miles@physics.ucsb.edu miles.stoudenmire@gmail.com http://www.crazytheory.com/
Please include in 1.3.5 if there's no problem.
Synge
On 2009/11/26, at 17:45, Matthias Troyer wrote:
Hi Synge,
Thanks for the nice work. Do you want to include that in ALPS 1.3.5 or post it as a separate add-on download? Or in a 1.3.6 release later this year?
Matthias
On Nov 26, 2009, at 7:09 AM, Synge Todo wrote:
Hi,
I have just added ALPS lattice previewer (lattice-preview) in tools directory in SVN trunk. To compile, python (2.5 or later), wxPython, VTK are required. Please see
http://alps.comp-phys.org/mediawiki/index.php/Setup_and_Installation_%28Pyth...
for an install guide.
Best, Synge
On 2009/11/06, at 13:57, Synge Todo wrote:
Dear Michal and Miles,
Actually, I have written a prototype of ALPS lattice previewer. Now I'm preparing a web page for installing and using this previewer. I will write to you again once the web page becomes ready.
Synge
On 2009/11/06, at 3:50, Miles Stoudenmire wrote:
Hi Michal, I don't believe that there are any tools in alps for creating actual images of the lattices (though someone please correct me if I'm wrong). My understanding is that the pictures in the tutorials were just created by hand for the purpose of illustrating the concept.
On the other hand, the fact that the lattices in alps are stored as xml data can be very helpful for making an image of your own (& you can use the printgraph tool to print an xml representation of your lattice as defined in your parameter file - I believe you have to delete all of the tasklines for it to work properly though).
If you want to try making a lattice visualization of your own, for a 2D lattice you could try something like Nodebox: http://nodebox.net/code/index.php/Home which lets you use python scripts to make images. Or, if your lattice is 3D, you could write a script to turn your lattice xml into a series of Mathematica commands as it can make 3D plots.
On Thu, Nov 5, 2009 at 3:14 AM, Michal Maik mmaik@uccs.edu wrote:
Hi,
I'm a new user to the Alps program, so this may be a trivial question. I have gone through most of the tutorials and I'm getting familiar with the program. One thing I can't figure out is how to display a picture of the lattice that I define. What I mean is how do I go from the hml code for a lattice to to a graph of it? What program can I use to display it? For example, in the tutorial you write:
<GRAPH vertices="5" edges="5"> <EDGE source="1" target="2"/> <EDGE source="2" target="3"/> <EDGE source="1" target="4"/> <EDGE source="2" target="5"/> <EDGE source="4" target="5"/> </GRAPH>
Then you show what this lattice looks like. How can I get that picture to display? My main concern is that since I'm new to the program I would like to see if a lattice that I think I have defined is actually the lattice that I want. Thanks.
-- -=Miles Stoudenmire=- miles@physics.ucsb.edu miles.stoudenmire@gmail.com http://www.crazytheory.com/
Dear Michal and Miles,
Actually, I have written a prototype of ALPS lattice previewer. Now I'm preparing a web page for installing and using this previewer. I will write to you again once the web page becomes ready.
Synge
On 2009/11/05, at 20:14, Michal Maik wrote:
Hi,
I'm a new user to the Alps program, so this may be a trivial question. I have gone through most of the tutorials and I'm getting familiar with the program. One thing I can't figure out is how to display a picture of the lattice that I define. What I mean is how do I go from the hml code for a lattice to to a graph of it? What program can I use to display it? For example, in the tutorial you write:
<GRAPH vertices="5" edges="5"> <EDGE source="1" target="2"/> <EDGE source="2" target="3"/> <EDGE source="1" target="4"/> <EDGE source="2" target="5"/> <EDGE source="4" target="5"/> </GRAPH>
Then you show what this lattice looks like. How can I get that picture to display? My main concern is that since I'm new to the program I would like to see if a lattice that I think I have defined is actually the lattice that I want. Thanks.
comp-phys-alps-users@lists.phys.ethz.ch