batplot 1.0.3__tar.gz → 1.0.5__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.3
3
+ Version: 1.0.5
4
4
  Summary: Interactive plotting for XRD, PDF, and XAS data (.xye, .xy, .qye, .dat, .csv, .gr, .nor, .chik, .chir)
5
5
  Author-email: Your Name <your@email.com>
6
6
  Requires-Python: >=3.7
@@ -3284,26 +3284,19 @@ parser = argparse.ArgumentParser(
3284
3284
  formatter_class=argparse.RawDescriptionHelpFormatter
3285
3285
  )
3286
3286
  parser.add_argument("files", nargs="*")
3287
- parser.add_argument("--delta", "-d", type=float, default=None,
3288
- )#parser.add_argument("--autoscale", action="store_true", help="Scale offsets relative to max intensity per curve")
3289
- parser.add_argument("--xrange", nargs=2, type=float)
3287
+ parser.add_argument("--delta", "-d", type=float, default=None)
3288
+ parser.add_argument("--autoscale", action="store_true")
3289
+ parser.add_argument("--xrange", "-r", nargs=2, type=float)
3290
3290
  parser.add_argument("--out", "-o", type=str)
3291
3291
  parser.add_argument("--errors", action="store_true")
3292
- parser.add_argument("--xaxis", choices=["2theta", "Q", "r"],
3293
- help="X-axis type override (2theta, Q, or r for PDF)")
3292
+ parser.add_argument("--xaxis", choices=["2theta", "Q", "r"])
3294
3293
  parser.add_argument("--convert", "-c", nargs="+")
3295
3294
  parser.add_argument("--wl", type=float)
3296
3295
  parser.add_argument("--fullprof", nargs="+", type=float)
3297
3296
  parser.add_argument("--raw", action="store_true")
3297
+ parser.add_argument("--interactive", action="store_true")
3298
3298
  parser.add_argument("--savefig", type=str)
3299
3299
  parser.add_argument("--stack", action="store_true")
3300
- parser.add_argument("--interactive", action="store_true")
3301
- parser.add_argument("Example usages:")
3302
- parser.add_argument("batplot file1.xye file2.qye:1.5406 --stack --interactive")
3303
- parser.add_argument("batplot file1.dat --xaxis Q --wl 1.5406 --delta 0.1 --out figure.svg")
3304
- parser.add_argument("batplot file1.xy file2.xy --raw --xrange 2 10")
3305
- parser.add_argument("batplot file1.qye file2.xye:1.54 structure1.cif structure2.cif --stack --interactive")
3306
- parser.add_argument("batplot all")
3307
3300
 
3308
3301
  # parser.add_argument("files", nargs="*", help="Files to plot. Optionally specify wavelength per file: file.xye")
3309
3302
  # 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.3
3
+ Version: 1.0.5
4
4
  Summary: Interactive plotting for XRD, PDF, and XAS data (.xye, .xy, .qye, .dat, .csv, .gr, .nor, .chik, .chir)
5
5
  Author-email: Your Name <your@email.com>
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.3"
7
+ version = "1.0.5"
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 = "Your Name", email = "your@email.com" }
File without changes
File without changes