-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add probe type to the Beam model #647
Add probe type to the Beam model #647
Commits on Jul 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c981f71 - Browse repository at this point
Copy the full SHA c981f71View commit details -
Configuration menu - View commit details
-
Copy full SHA for bae2822 - Browse repository at this point
Copy the full SHA bae2822View commit details -
probe-->Probe, and export to Python.
So now, can do from dxtbx.model.beam import Probe
Configuration menu - View commit details
-
Copy full SHA for 6eea2fd - Browse repository at this point
Copy the full SHA 6eea2fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb22c37 - Browse repository at this point
Copy the full SHA eb22c37View commit details -
Ensure probe_ is initialized. Now we get:
>>> from dxtbx.model.beam import Beam >>> b=Beam() >>> b.get_probe() dxtbx_model_ext.Probe.xray
Configuration menu - View commit details
-
Copy full SHA for 2b79fd8 - Browse repository at this point
Copy the full SHA 2b79fd8View commit details -
Now this works: >>> from dxtbx.model.beam import Beam >>> b=Beam() >>> b.get_probe() dxtbx_model_ext.Probe.xray >>> from dxtbx.model.beam import Probe >>> b.set_probe(Probe.neutron) >>> b.get_probe() dxtbx_model_ext.Probe.neutron
Configuration menu - View commit details
-
Copy full SHA for 6979e25 - Browse repository at this point
Copy the full SHA 6979e25View commit details
Commits on Jul 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e5c8839 - Browse repository at this point
Copy the full SHA e5c8839View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48c096d - Browse repository at this point
Copy the full SHA 48c096dView commit details -
Add get_probe_name method so that the NeXus probe name can be
returned for each of the defined probe values
Configuration menu - View commit details
-
Copy full SHA for 899b166 - Browse repository at this point
Copy the full SHA 899b166View commit details -
Configuration menu - View commit details
-
Copy full SHA for 463391b - Browse repository at this point
Copy the full SHA 463391bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b08c5d - Browse repository at this point
Copy the full SHA 0b08c5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f5e5441 - Browse repository at this point
Copy the full SHA f5e5441View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f2400a - Browse repository at this point
Copy the full SHA 9f2400aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 823b075 - Browse repository at this point
Copy the full SHA 823b075View commit details
Commits on Aug 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3f1a106 - Browse repository at this point
Copy the full SHA 3f1a106View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2cf031 - Browse repository at this point
Copy the full SHA d2cf031View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f0e289 - Browse repository at this point
Copy the full SHA 7f0e289View commit details
Commits on Aug 3, 2023
-
Added get_probe_from_name to Beam. Added Probe to beam_phil_scope. Ch…
…anged Probe in .expt files to be human readable.
Configuration menu - View commit details
-
Copy full SHA for 1f3c257 - Browse repository at this point
Copy the full SHA 1f3c257View commit details -
Added more typehints for beam.py. Added empty PolychromaticBeam const…
…ructor at the Python level. Fixed typo in Beam.from_dict.
Configuration menu - View commit details
-
Copy full SHA for 4312daf - Browse repository at this point
Copy the full SHA 4312dafView commit details -
Merge pull request cctbx#654 from toastisme/beam-probe-types
Add probe to phil params and make probe in .expt human readable
Configuration menu - View commit details
-
Copy full SHA for 35a312c - Browse repository at this point
Copy the full SHA 35a312cView commit details -
Merge pull request #187 from cctbx/575-beam-model-should-state-probe-…
…type 575 beam model should state probe type
Configuration menu - View commit details
-
Copy full SHA for 5bdb3b4 - Browse repository at this point
Copy the full SHA 5bdb3b4View commit details
Commits on Aug 4, 2023
-
Co-authored-by: Nicholas Devenish <ndevenish@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f467e48 - Browse repository at this point
Copy the full SHA f467e48View commit details -
Co-authored-by: Nicholas Devenish <ndevenish@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 827e494 - Browse repository at this point
Copy the full SHA 827e494View commit details