Page:
diffcalc
Pages
Andor Camera
BeamlineAlignment
Calculating Image Stacks and ROIs Tutorial
Camserver
Chrome browser
Cristallina Network
Data Analysis Setup and Execution Guide
Diffractometers_wiki
DilSc_wiki
Energy Scan
Gas flowmeter
Gitea_image_howto
Image linking test
Interferometers
JF Chiller
Jungfrau Setup
Jungfrau timing box
Jupyter
LS_Breakout_box_default_wiring
Laser PSYS
MotionControl
Mounting Windows drives as gac cristall
MyDM
Open issues after RHEL8 upgrade
Pagename
Pickett
Plotting Intensity Versus Theta
Python Cristallina
Ra cluster
Remote_access
Screenshot tool
Sequencer Setup
Smaract hexapod
SwissFEL computing mailing list
Thermometry
Webcams in hutch
diffcalc
fzf
git_manual
home
jupyter_template
pgroups_management
plot_channels
pulse to timestamp
slic setup
stand
Clone
2
diffcalc
steppke_a edited this page 2024-10-02 15:06:13 +02:00
Table of Contents
Installation
Diffcalc in the newer python only version (diffcalc-core) requires numpy and scipy. We would like to use it within slic in the future and all dependencies are already in our slic environment.
So let's set this up here:
cd /sf/cristallina/applications/general_tools/diffcalc
git clone https://github.com/DiamondLightSource/diffcalc-core.git
conda activate slic
python -e .
Usage
As a start we can run the example script (in this directory):
conda activate slic
ipython -i examples/six_circle.py
which sets up a crystal, adds some reflections, calculates the UB matrix and performs a psi scan.