Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Below is an example structure for a config file:

 


Code Block
languagejs
{
	"name": "HeadlessProcessingRun",
	"runDirectory": "/path/to/temp/folder",
	"filePath": "/path/to/file/to/process.nxs",
	"datasetPath": "/entry/dataset_name/data",
	"axesNames": [["/entry/dataset_name/axis_dim0_0","/entry/dataset_name/axis_dim0_1"],null,null],
	"outputFilePath": "/path/to/output/file.nxs",
	"dataDimensions": [1,2],
	"persistencePathprocessingPath": "/path/to/processing/chain.nxs",
	"deletePersistenceFiledeleteProcessingFile": false
}

Here is a description of what should be in each file:

...

dataDimensions: the dimensions of the dataset that correspond to the frame to be processed. For example, a single image, processed as an image would have dataDimensions of [0,1], processing the images from a stack would have dataDimensions of [1,2], and processing images from a 2d grid scan would have [2,3].

persistencePathprocessingPath: path to the processing chain description exported from the processing perspective (or a previously processed file)

deletePersistenceFiledeleteProcessingFile: set to false to stop the process deleting the exported chain when it is finished.