-
Notifications
You must be signed in to change notification settings - Fork 6
Tutorial: Use jupyter.sns.gov for the first time (Setup)
Jiao edited this page Feb 10, 2017
·
3 revisions
This page explains how to set up your jupyter notebook environment at SNS. This only has to be done for once.
SNS jupyter service is now only available from inside the SNS analysis cluseter. So the first step is to connect to SNS analysis cluster using thinlinc.
- Open http://analysis.sns.gov in a browser and log in
- Log in again if the screen saver was on
All the following steps happen inside the thinlinc window of the SNS analysis cluster.
- Open a browser
- Browse to https://jupyter.sns.gov and log in
- You are now presented the jupyter view of your home directory at analysis cluster as shown below. Click "notebooks" to open the "notebooks" directory.
- You are now in directory "notebooks". Click "CG1DImaging"
- You are now in directory "CG1DImaging". Click "Welcome.ipynb"
- In the "Welcome" notebook, click the cell that says
import sje
sje.setup(instrument="CG1DImaging")
and type "shift-Enter" to execute it 7. Close this notebook 8. It is done! Your SNS jupyter environment was set up. You are ready to move on to the next step. Use the jupyter notebooks for your data analysis.