utils.caching

Functions:

cache2plan(infile, cachepath) Read from cache the flat/dark images of the input TDF file.
plan2cache(corr_plan, infile, cachepath) Write to cache the flat/dark images of the input TDF file.
stp_core.utils.caching.cache2plan(infile, cachepath)[source]

Read from cache the flat/dark images of the input TDF file.

Parameters:

infile (string) – Absolute path of the input TDF dataset.

returns:A structure with flat/dark images and related flags.
stp_core.utils.caching.plan2cache(corr_plan, infile, cachepath)[source]

Write to cache the flat/dark images of the input TDF file.

Parameters:

infile (string) – Absolute path of the input TDF dataset.

corr_plan : structure

The plan with flat/dark images and flags.

returns:No return value.