batplot 1.0.2__tar.gz → 1.0.4__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.2
3
+ Version: 1.0.4
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
@@ -3283,20 +3283,35 @@ parser = argparse.ArgumentParser(
3283
3283
  " batplot all -> batch export all supported files in current directory to ./batplot_svg/*.svg\n",
3284
3284
  formatter_class=argparse.RawDescriptionHelpFormatter
3285
3285
  )
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)
3290
+ parser.add_argument("--out", "-o", type=str)
3291
+ parser.add_argument("--errors", action="store_true")
3292
+ parser.add_argument("--xaxis", choices=["2theta", "Q", "r"])
3293
+ parser.add_argument("--convert", "-c", nargs="+")
3294
+ parser.add_argument("--wl", type=float)
3295
+ parser.add_argument("--fullprof", nargs="+", type=float)
3296
+ parser.add_argument("--raw", action="store_true")
3297
+ parser.add_argument("--savefig", type=str)
3298
+ parser.add_argument("--stack", action="store_true")
3299
+ parser.add_argument("--interactive", action="store_true")
3300
+
3301
+
3286
3302
  # parser.add_argument("files", nargs="*", help="Files to plot. Optionally specify wavelength per file: file.xye")
3287
3303
  # parser.add_argument("--delta", "-d", type=float, default=None,
3288
- # help="Vertical offset between curves (default 0.0 if --stack). Example: --delta 0.2")
3289
- # #parser.add_argument("--autoscale", action="store_true", help="Scale offsets relative to max intensity per curve")
3304
+ # help="Vertical offset between curves (default 0.0 if --stack). Example: --delta 0.2")#parser.add_argument("--autoscale", action="store_true", help="Scale offsets relative to max intensity per curve")
3290
3305
  # parser.add_argument("--xrange", nargs=2, type=float, help="X-axis range: min max (2θ or Q), Example: --xrange 2 10")
3291
3306
  # parser.add_argument("--out", "-o", type=str, help="Output image filename (default SVG), Example: --out figure.svg")
3292
- # #parser.add_argument("--errors", action="store_true", help="Plot error bars if present")
3307
+ # parser.add_argument("--errors", action="store_true", help="Plot error bars if present")
3293
3308
  # parser.add_argument("--xaxis", choices=["2theta", "Q", "r"],
3294
3309
  # help="X-axis type override (2theta, Q, or r for PDF)")
3295
- # #parser.add_argument("--convert", "-c", nargs="+", help="Convert .xye/.dat files to .qye using --wl")
3310
+ # parser.add_argument("--convert", "-c", nargs="+", help="Convert .xye/.dat files to .qye using --wl")
3296
3311
  # parser.add_argument("--wl", type=float, help="Global wavelength (Å) for Q conversion, Example: --wl 1.5406 (alternatively specify per file with ':', Example: file.xye:1.5406)")
3297
3312
  # parser.add_argument("--fullprof", nargs="+", type=float, help="FullProf matrix: xstart xend xstep [wavelength], Example: --fullprof 2 10 0.02 1.5406")
3298
3313
  # parser.add_argument("--raw", action="store_true", help="Plot raw intensity values instead of normalized")
3299
- # #parser.add_argument("--savefig", type=str, help="Save figure object for later editing (.pkl)")
3314
+ # parser.add_argument("--savefig", type=str, help="Save figure object for later editing (.pkl)")
3300
3315
  # parser.add_argument("--stack", action="store_true",
3301
3316
  # help="Stack curves from top to bottom")
3302
3317
  # parser.add_argument("--interactive", action="store_true", help="Keep figure open for interactive editing\n")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: batplot
3
- Version: 1.0.2
3
+ Version: 1.0.4
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.2"
7
+ version = "1.0.4"
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