batplot 1.0.7__tar.gz → 1.0.9__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: batplot
3
- Version: 1.0.7
3
+ Version: 1.0.9
4
4
  Summary: Interactive plotting for XRD, PDF, and XAS data (.xye, .xy, .qye, .dat, .csv, .gr, .nor, .chik, .chir)
5
5
  Author-email: Tian Dai <tianda@uio.no>
6
6
  Requires-Python: >=3.7
@@ -3319,31 +3319,31 @@ parser = argparse.ArgumentParser(
3319
3319
  " - .chik: X axis is k\n"
3320
3320
  " - .chir: X axis is r\n"
3321
3321
  " - .txt: Treated as generic 2-column data.\n"
3322
- " If none of the files have a recognized extension, you must specify --xaxis (Q, 2theta, r, k, energy, rft, or 'user defined').\n"
3322
+ " If none of the files have a recognized extension, you must either provide a wavelength to each file (if you want to plot everything in Q space) or specify --xaxis (Q, 2theta, r, k, energy, rft, or 'user defined').\n\n"
3323
3323
  "Example usages:\n"
3324
3324
  " batplot file1.xye:1.5406 file2.qye --stack --interactive\n"
3325
- " batplot file1.dat file2.dat --xaxis Q --wl 1.5406 --delta 1.0 --out figure.svg\n"
3326
- " batplot file1.xy file2.xy --xaxis 2theta --raw --xrange 2 10\n"
3325
+ " batplot file1.dat file2.dat --wl 1.5406 --delta 1.0 --out figure.svg\n"
3326
+ " batplot file1.dat file2.xy --xaxis 2theta --raw --xrange 2 10\n"
3327
3327
  " batplot file1.qye file2.xye:1.54 structure1.cif structure2.cif --stack --interactive\n\n"
3328
3328
  "Extra usage:\n"
3329
3329
  " batplot FOLDER -> batch export all supported files in FOLDER to FOLDER/batplot_svg/*.svg\n"
3330
3330
  " batplot all -> batch export all supported files in current directory to ./batplot_svg/*.svg\n",
3331
3331
  formatter_class=argparse.RawDescriptionHelpFormatter
3332
3332
  )
3333
- parser.add_argument("files", nargs="*")
3334
- parser.add_argument("--delta", "-d", type=float, default=None)
3335
- parser.add_argument("--autoscale", action="store_true")
3336
- parser.add_argument("--xrange", "-r", nargs=2, type=float)
3337
- parser.add_argument("--out", "-o", type=str)
3338
- parser.add_argument("--errors", action="store_true")
3339
- parser.add_argument("--xaxis", type=str)
3340
- parser.add_argument("--convert", "-c", nargs="+")
3341
- parser.add_argument("--wl", type=float)
3342
- parser.add_argument("--fullprof", nargs="+", type=float)
3343
- parser.add_argument("--raw", action="store_true")
3344
- parser.add_argument("--interactive", action="store_true")
3345
- parser.add_argument("--savefig", type=str)
3346
- parser.add_argument("--stack", action="store_true")
3333
+ parser.add_argument("files", nargs="*", help=argparse.SUPPRESS)
3334
+ parser.add_argument("--delta", "-d", type=float, default=None, help=argparse.SUPPRESS)
3335
+ parser.add_argument("--autoscale", action="store_true", help=argparse.SUPPRESS)
3336
+ parser.add_argument("--xrange", "-r", nargs=2, type=float, help=argparse.SUPPRESS)
3337
+ parser.add_argument("--out", "-o", type=str, help=argparse.SUPPRESS)
3338
+ parser.add_argument("--errors", action="store_true", help=argparse.SUPPRESS)
3339
+ parser.add_argument("--xaxis", type=str, help=argparse.SUPPRESS)
3340
+ parser.add_argument("--convert", "-c", nargs="+", help=argparse.SUPPRESS)
3341
+ parser.add_argument("--wl", type=float, help=argparse.SUPPRESS)
3342
+ parser.add_argument("--fullprof", nargs="+", type=float, help=argparse.SUPPRESS)
3343
+ parser.add_argument("--raw", action="store_true", help=argparse.SUPPRESS)
3344
+ parser.add_argument("--interactive", action="store_true", help=argparse.SUPPRESS)
3345
+ parser.add_argument("--savefig", type=str, help=argparse.SUPPRESS)
3346
+ parser.add_argument("--stack", action="store_true", help=argparse.SUPPRESS)
3347
3347
 
3348
3348
  # parser.add_argument("files", nargs="*", help="Files to plot. Optionally specify wavelength per file: file.xye")
3349
3349
  # parser.add_argument("--delta", "-d", type=float, default=None,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: batplot
3
- Version: 1.0.7
3
+ Version: 1.0.9
4
4
  Summary: Interactive plotting for XRD, PDF, and XAS data (.xye, .xy, .qye, .dat, .csv, .gr, .nor, .chik, .chir)
5
5
  Author-email: Tian Dai <tianda@uio.no>
6
6
  Requires-Python: >=3.7
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "batplot"
7
- version = "1.0.7"
7
+ version = "1.0.9"
8
8
  description = "Interactive plotting for XRD, PDF, and XAS data (.xye, .xy, .qye, .dat, .csv, .gr, .nor, .chik, .chir)"
9
9
  authors = [
10
10
  { name = "Tian Dai", email = "tianda@uio.no" }
File without changes
File without changes