diff --git a/Pointing_shortcut.md b/Pointing_shortcut.md new file mode 100644 index 0000000..79b1504 --- /dev/null +++ b/Pointing_shortcut.md @@ -0,0 +1,12 @@ +# Shortcut when adjusting poiting + +A useful command is to switch between which slit is open or closed (here using OAPU044 & OAPU092). This is useful because when adjusting pointing, one must switch between the two configurations back and forth regularly. + +`caputq SARFE10-OAPU044:MOTOR_W 0.25; caputq SARFE10-OAPU044:MOTOR_H 0.25; caputq SARFE10-OAPU092:MOTOR_W 3.00; caputq SARFE10-OAPU092:MOTOR_H 3.00; ` +(to open the back slit and close the upstream one) + +`caputq SARFE10-OAPU044:MOTOR_W 3.00; caputq SARFE10-OAPU044:MOTOR_H 3.00; caputq SARFE10-OAPU092:MOTOR_W 0.25; caputq SARFE10-OAPU092:MOTOR_H 0.25; ` +(to do the opposite, open the front and close down the downstream slit) + +To view the beam after both slits, use SAROP21-PPRM113 camera (from the screen_panel). + diff --git a/computing.md b/computing.md index e996e56..ff6e72e 100644 --- a/computing.md +++ b/computing.md @@ -26,7 +26,7 @@ To check the currently available space: ## File permsissions -We should all be part of the unx-cristall group. Please make sure permissions are set at least `chmod u+rw,g+rw,` so that everyone within the group can access and modify documents. Only set more restrictive permissions when necessary. +We should all be part of the unx-cristall group. Please make sure permissions are set at least `chmod g+rw,` so that everyone within the group can access and modify documents. Only set more restrictive permissions when necessary. (Alternatively `chmod g=u` to set the permissions equal to user permissions). ## Anaconda @@ -44,12 +44,18 @@ The main environments are: for instrument control and data analysis. We are trying to track recent upstream packages but please only update if you ensure a working state afterwards and document the changes. +To be able to use the shortcut for activation, e.g. `conda activate slic` the environment directory needs to be added to your `.condarc` file as follows: + +```` +envs_dirs: + - /sf/cristallina/applications/conda/envs +```` + A backup environment is currently located at: ```` /gpfs/photonics/swissfel/res/cristallina-staff/p19739/backup/cristallina2 ```` -To activate the environment -`conda activate /gpfs/photonics/swissfel/res/cristallina-staff/p19739/backup/cristallina2` if some other conda installation is already available. +if all else fails. # sf_datafiles directly from github