Changeset 4267 for trunk/GSASIIphsGUI.py
 Timestamp:
 Jan 26, 2020 12:41:22 PM (3 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/GSASIIphsGUI.py
r4265 r4267 5212 5212 Labels = {'_PDF1.csv':[r'$\mathsf{R,\AA}$','G(R)','RMCP G(R) for '], 5213 5213 '_PDF2.csv':[r'$\mathsf{R,\AA}$','G(R)','RMCP G(R) for '], 5214 '_SQ1.csv':[r'$\mathsf{Q,\AA^ 1}$','S(Q)','RMCP S(Q) for '],5215 '_SQ2.csv':[r'$\mathsf{Q,\AA^ 1}$','S(Q)','RMCP S(Q) for '],5216 '_FQ1.csv':[r'$\mathsf{Q,\AA^ 1}$','F(Q)','RMCP F(Q) for '],5214 '_SQ1.csv':[r'$\mathsf{Q,\AA^{1}}$','S(Q)','RMCP S(Q) for '], 5215 '_SQ2.csv':[r'$\mathsf{Q,\AA^{1}}$','S(Q)','RMCP S(Q) for '], 5216 '_FQ1.csv':[r'$\mathsf{Q,\AA^{1}}$','F(Q)','RMCP F(Q) for '], 5217 5217 '_FT_XFQ1.csv':[r'$\mathsf{R,\AA}$','G(R)','RMCP xray G(R) for '], 5218 '_XFQ1.csv':[r'$\mathsf{Q,\AA^ 1}$','F(Q)','RMCP xray F(Q) for '],5218 '_XFQ1.csv':[r'$\mathsf{Q,\AA^{1}}$','F(Q)','RMCP xray F(Q) for '], 5219 5219 '_bragg.csv':[r'$\mathsf{TOF,\mu s}$','Normalized Intensity','RMCP bragg for ']} 5220 5220 for label in Labels: … … 5249 5249 #partials plots 5250 5250 Labels = {'_PDFpartials.csv':[r'$\mathsf{R,\AA}$','G(R)','RMCP G(R) partials for '], 5251 '_SQ1partials.csv':[r'$\mathsf{Q,\AA^ 1}$','S(Q)','RMCP S(Q) partials for '],5252 '_SQ2partials.csv':[r'$\mathsf{Q,\AA^ 1}$','S(Q)','RMCP S(Q) partials for '],5253 '_FQ1partials.csv':[r'$\mathsf{Q,\AA^ 1}$','F(Q)','RMCP F(Q) partials for ']}5251 '_SQ1partials.csv':[r'$\mathsf{Q,\AA^{1}}$','S(Q)','RMCP S(Q) partials for '], 5252 '_SQ2partials.csv':[r'$\mathsf{Q,\AA^{1}}$','S(Q)','RMCP S(Q) partials for '], 5253 '_FQ1partials.csv':[r'$\mathsf{Q,\AA^{1}$','F(Q)','RMCP F(Q) partials for ']} 5254 5254 for label in Labels: 5255 5255 X = [] … … 5263 5263 X = np.array(X) 5264 5264 Partials = np.array(Partials).T 5265 XY = [[X.T,Y.T] for Y in Partials] 5265 if 'Q' in label: 5266 XY = [[X.T,Y.T] for iy,Y in enumerate(Partials) if 'Va' not in Names[iy+1]] 5267 Names = [name for name in Names if 'Va' not in name] 5268 else: 5269 XY = [[X.T,Y.T] for Y in Partials] 5266 5270 G2plt.PlotXY(G2frame,XY,labelX=Labels[label][0], 5267 5271 labelY=Labels[label][1],newPlot=True,Title=Labels[label][2]+pName,
Note: See TracChangeset
for help on using the changeset viewer.