Summer School 2021 VSANS Polarized Reduction Directions
Obtaining Data
Typically, users can get their data using FTP (from a Windows Folder by typing in to the address bar: ftp://ncnr.nist.gov/pub/ncnrdata/vsans/ ) and then navigating to
e.g. -> 202007/27633/data (files 64954 onward),
and -> 201911/26903/data (files 51277 to 51351).
Alternatively, for summer school we have located your data at:
https://ncnr.nist.gov/summerschool/tutorials/VSANS_2021/
". This also includes the older data from NG7 SANS and Colab files.
Running VSANS [Python] Reduction from Colab
Get a Google account if you don’t already have one
Navigate to Google Drive
https://drive.google.com
Click New to Upload Files / Folders:
e.g. VSANS27633_CoFe2O4NP_Data and CoFe2O4Config_Colab.json
this file’s name and input parameters, like path, can be changed for different experiments
Go to Colab by typing
https://colab.research.google.com/
Upload the Colab notebook VSANSReductionSummerSchool.ipynb
Now run the first cell (shift + enter)
It will tell you to navigate to another link to authorize Colab to access your google drive
go to that page, click “Allow” (at bottom) and copy the code (right box)
and then paste it back into the box in your Colab notebook
Now run the second cell
(shift + enter)
You should find your reduced data in your Google Drive (CoFe2O4VSANS_Results)
To process future experiments
upload new data
create and upload additional json input files to match with corresponding input and output paths
then re-run second cell, calling the new json file in parenthesis, e.g.
VSANS_ReductionHighRes.main(json_config='/content/drive/MyDrive/CoFe2O4Config_Colab.json')
Other Programs
SasView 5.0.4 (the latest)
https://github.com/SasView/sasview/releases
.
scroll down to the end of section 5.0.4 and click on
Assets
Choose what installation matches your computer and install
Then scroll down to the end of section 5.0.4 and click on Assets.
IGOR Pro with SANS modules:
https://www.nist.gov/ncnr/data-reduction-analysis/sans-software
.