D3plot - Prestipino/TEMpcPlot GitHub Wiki

class TEMpcPlot.TEM.d3plot.D3plot(EwPePos, size='o')

Class used to plot a set of 3D peaks


D3plot.allign_a()

rotate the peaks in order to allign to a* axis to z same command for b* and c*

Example

Exp1.EwP.graph.allign_a()


D3plot.define_axis(abc, m)

define axis define axis graphically tracing a line

Parameters

  • abc (str) – name of the axis
  • m (int) – multiple that will be traCED

Example

Exp1.EwP.graph.define_axis(‘a’, 4)


D3plot.filter_int(operator=None, lim=None)

conserve only peaks respecting an intensity condition conserve only peaks respecting an intensity condition, to determine the most usefull values use Exp1.EwP.plot_int()

Example

Exp1.EwP.graph.filter_int('>', 1000) Exp1.EwP.graph.filter_int('<', 1000)


D3plot.filter_layer(listn)

conserve only the layers in list

Examples

Exp1.EwP.graph.filter_layer([0,1,2])


D3plot.rotate_0()

rotate to first orientation

Example

Exp1.EwP.graph.rotate_0()


D3plot.rotatex(deg=90)

rotate along the x axis default value 90 same command for y and z

Parameters deg (float) – angle in degree to rotate

Examples

Exp1.EwP.graph.rotatex(30)
Exp1.EwP.graph.rotatex(-30)