Plot magnetization.
More...
|
|
| plotMAG.filename = sys.argv[1] |
| |
|
| plotMAG.file = h5py.File(filename, 'r'); |
| |
|
| plotMAG.dataset = file['Magnetization'] |
| |
|
| plotMAG.data_dimensions = dataset.shape |
| |
|
int | plotMAG.physical_dimensions = len(data_dimensions)-2 |
| |
|
| plotMAG.size_x = data_dimensions[0] |
| |
|
| plotMAG.size_y = data_dimensions[1] |
| |
|
| plotMAG.x = numpy.arange(0, size_x, 1) |
| |
|
| plotMAG.y = numpy.arange(0, size_y, 1) |
| |
|
| plotMAG.X |
| |
|
| plotMAG.Y |
| |
|
| plotMAG.Z = numpy.zeros((size_x, size_y)) |
| |
|
int | plotMAG.uu = dataset[xp,yp,0,0]+1j |
| |
|
int | plotMAG.dd = dataset[xp,yp,3,0]+1j |
| |
|
| plotMAG.fig = matplotlib.pyplot.figure() |
| |
|
| plotMAG.ax = fig.gca(projection='3d') |
| |
|
| plotMAG.rstride |
| |
|
| plotMAG.cstride |
| |
|
| plotMAG.cmap |
| |
|
| plotMAG.coolwarm |
| |
|
| plotMAG.linewidth |
| |
|
| plotMAG.antialiased |
| |
Plot magnetization.
- Author
- Kristofer Björnson