asfendance.blogg.se

Timestamp on dmesh
Timestamp on dmesh








Retrieve default data from spec data fileĭata parser for 2-D mesh and hklmesh exception spec2nexus.specplot. Hklmesh Q1 start1 end1 intervals1 Q2 start2 end2 intervals2 time Retrieve default data from spec data file class spec2nexus.specplot. PlotFile ( str) – name of image file to writeĭefine the settings for this, accepting any non-default values first plottable ( ) ¶Ĭan this data be plotted as expected? retrieve_plot_data ( ) ¶ Make MatPlotLib chart image from the SPEC scan Parameters: LinePlotter ¶Ĭreate a line plot make_image ( plotFile ) ¶ z_log ( ) ¶īoolean: should the Z axis (image) be plotted on a log scale? class spec2nexus.specplot. y_log ( ) ¶īoolean: should the Y axis be plotted on a log scale? y_title ( ) ¶ x_log ( ) ¶īoolean: should the X axis be plotted on a log scale? x_title ( ) ¶ Return the time of this scan as a string. Set the z axis (image) logarithmic if True. Raise any of these exceptions as appropriate: NoDataToPlot Name of the signal data (default data to be plotted) HKLScanPlotter ¶Ĭreate a line plot from hklscan macros retrieve_plot_data ( ) ¶ Incorrect Python object type: programmer error.Ĭlass spec2nexus.specplot. Superclass to handle plotting of data from a SPEC scanĬonvenience routine so that others do not have to import spec2nexus.spec Plot the data from scan N in a SPEC data file Selector()Īssociate SPEC scan macro names with image makers How to write a custom scan handling for specplot. Tscan, uascan, FlyScan, unusual_custom_user_scan, …ĭifferent handling can be customized for scan macros, as described in Scan: any scan where the last four letters converted These scans are represented asĬolor-mapped images where the first two columns are the verticalĪnd horizontal axes and the image is color-mapped to intensity.Īny SPEC macro which name ends with mesh will be plotted as Some SPEC macros scan two positioners over a grid to collect aĢ-D image one pixel at a time. A special handler ( SPEC’s hklscan macro)Īxis (not always the first column) for representation as a line plot. Three reciprocal space axes is scanned while the other two remainĬonstant. Which name ends with scan ( ) will be plotted as a line plot.Ī special case SPEC scan macro is the hklscan where one of the Last data column versus the first data column. The standard representation of a SPEC scan is a line plot of the Imported into another program and called as a subroutine,Īs shown in the specplot_gallery program.

TIMESTAMP ON DMESH CODE

This code can be called as a standalone program or it can be Read a SPEC data file and plot a thumbnail image.








Timestamp on dmesh