[Task] Collect info and prepare input json file
-
The following dataset can be used for testing our implementation,
IPTS-24291,
CeO2_bulk_cryo_6x6_at_10K
.- To prepare the table view for the dataset mentioned above, we can use the feature of importing from database, following steps below,
Launch ADDIE 🠪 right click on table view 🠪
Table
🠪Import from Database
🠪Replace ...
-
Then a login window will pop up where we can use our UCAMS account to log in. I am not sure whether @halgh007 has the access to the example data we are going to use here. If not, we can always sort out a way to do this. Need offline discussion.
-
After logging in successfully, we can select IPTS-24291 either using the dropdown menu or the input box, followed by clicking on the
Import All Runs
button to import all runs. -
Then we need to remove all rows except
CeO2_bulk_cryo_6x6_at_10K
.
-
Fill in all necessary information if they are not already there, e.g. background runs. Also, correct improper inputs, e.g., chemical formula.
We can refer to the json file attached below (that we are finally going to prepare) for reference about what proper input should be.
-
Clicking on the
Launch Reduction
button, we need to tell the program to prepare the input json file, as attached below,ceriaBulk_PAC06_at_10K_IDL_Calib_abs.json
For implementation, we need to first figure out where the
Launch Reduction
button is defined. Then to figure out the unique label for the button which will be used by the internal codes to recognize the button. Then to figure out what (i.e. a function, a method, or whatever) is linked to theLaunch Reduction
button, i.e., we want to know what the internal code is going to execute when theLaunch Reduction
button is clicked.
ATTENTION
-
In terms of implementation, the json file preparation should be packaged up and implemented as a single function. For example, if the json file preparation function is called
json_input_prep
, when theLaunch Reduction
button is clicked,json_input_prep
will be called. -
The updated version of example json file (with all the redundant entries removed, see item-3 above) should be in a one-to-one mapping with the table view in ADDIE.
-
The
Output
andCache
directory specification can be found by going toFile
\rightarrow
Settings
menu.