-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gemmi-fprime: options to specify ranges of energies or wavelengths
- Loading branch information
Showing
2 changed files
with
75 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
$ gemmi fprime -h | ||
Usage: | ||
gemmi fprime [options] ELEMENT[...] | ||
|
||
Prints anomalous scattering factors f' and f". | ||
|
||
Options: | ||
-h, --help Print usage and exit. | ||
-V, --version Print version and exit. | ||
-e, --energy=ENERGY Energy [eV] | ||
-w, --wavelength=LAMBDA Wavelength [A] | ||
-e, --energy=ENERGY Energy [eV] or range of energies (e.g. 9.8:12.2). | ||
-w, --wavelength=LAMBDA Wavelength [A] or range (e.g. 0.5:0.9). | ||
-s, --step=STEP Step size for a range. | ||
-n N Number of values in a range. | ||
|
||
Options -e/-w can be given multiple times: | ||
gemmi fprime -e 12.4 -e 11.5 -e 9.8 Se | ||
If -e or -w specifies a range, -n or -s must be provided, e.g.: | ||
gemmi fprime -w 0.5:0.9 -s 0.01 Os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters