SusMat-SWAXS 2.2.1__tar.gz → 2.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {susmat_swaxs-2.2.1 → susmat_swaxs-2.2.2}/PKG-INFO +1 -1
- {susmat_swaxs-2.2.1 → susmat_swaxs-2.2.2}/pyproject.toml +1 -1
- {susmat_swaxs-2.2.1 → susmat_swaxs-2.2.2}/pyproject.toml.orig +1 -1
- {susmat_swaxs-2.2.1 → susmat_swaxs-2.2.2}/src/smswaxs/__init__.py +1 -1
- {susmat_swaxs-2.2.1 → susmat_swaxs-2.2.2}/src/smswaxs/waxs_integration_xeuss.py +8 -0
- {susmat_swaxs-2.2.1 → susmat_swaxs-2.2.2}/LICENSE +0 -0
- {susmat_swaxs-2.2.1 → susmat_swaxs-2.2.2}/README.md +0 -0
- {susmat_swaxs-2.2.1 → susmat_swaxs-2.2.2}/src/smswaxs/dat_conv.py +0 -0
- {susmat_swaxs-2.2.1 → susmat_swaxs-2.2.2}/src/smswaxs/saxs_integration.py +0 -0
- {susmat_swaxs-2.2.1 → susmat_swaxs-2.2.2}/src/smswaxs/saxs_integration_xeuss.py +0 -0
- {susmat_swaxs-2.2.1 → susmat_swaxs-2.2.2}/src/smswaxs/sph_harm.py +0 -0
- {susmat_swaxs-2.2.1 → susmat_swaxs-2.2.2}/src/smswaxs/topas_init.py +0 -0
- {susmat_swaxs-2.2.1 → susmat_swaxs-2.2.2}/src/smswaxs/xeuss_dat_h5_multi.py +0 -0
- {susmat_swaxs-2.2.1 → susmat_swaxs-2.2.2}/src/smswaxs/xeuss_edf_h5_multi.py +0 -0
- {susmat_swaxs-2.2.1 → susmat_swaxs-2.2.2}/src/smswaxs/xeuss_edf_tiff.py +0 -0
- {susmat_swaxs-2.2.1 → susmat_swaxs-2.2.2}/src/smswaxs/xrdml_conv.py +0 -0
|
@@ -208,6 +208,8 @@ def cli():
|
|
|
208
208
|
aspect="auto")
|
|
209
209
|
if args.unit.lower() == "q":
|
|
210
210
|
axs['(a)'].set_xlabel(r'q /$\AA^{-1}$', fontsize=8)
|
|
211
|
+
elif args.unit.lower() == "q_nm":
|
|
212
|
+
axs['(a)'].set_xlabel(r'q /$nm^{-1}$', fontsize=8)
|
|
211
213
|
else:
|
|
212
214
|
axs['(a)'].set_xlabel(r'2$\theta$ /$^{\circ}$', fontsize=8)
|
|
213
215
|
axs['(a)'].set_ylabel(r'$\phi/^{\circ}$', fontsize=8)
|
|
@@ -231,6 +233,8 @@ def cli():
|
|
|
231
233
|
# axs['(b)'].set_yscale('log')
|
|
232
234
|
if args.unit.lower() == "q":
|
|
233
235
|
axs['(b)'].set_xlabel(r'q /$\AA^{-1}$', fontsize=8)
|
|
236
|
+
elif args.unit.lower() == "q_nm":
|
|
237
|
+
axs['(b)'].set_xlabel(r'q /$nm^{-1}$', fontsize=8)
|
|
234
238
|
else:
|
|
235
239
|
axs['(b)'].set_xlabel(r'2$\theta$ /$^{\circ}$', fontsize=8)
|
|
236
240
|
axs['(b)'].set_ylabel('I(q) /Arb.', fontsize=8)
|
|
@@ -252,6 +256,10 @@ def cli():
|
|
|
252
256
|
elif args.unit.lower() == "2th":
|
|
253
257
|
np.savetxt(args.sample[:-4]+".xye",
|
|
254
258
|
data_out, delimiter='\t', fmt='%s')
|
|
259
|
+
elif args.unit.lower() == "q_nm":
|
|
260
|
+
header_str = "q(nm^-1)\tI(Arb.)\tSigma(Arb.)"
|
|
261
|
+
np.savetxt(args.sample[:-4]+"_subtracted.dat",
|
|
262
|
+
data_out, delimiter='\t', fmt='%s', header=header_str)
|
|
255
263
|
|
|
256
264
|
|
|
257
265
|
if __name__ == "__main__":
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|