pyimcom.layer_wrapper

Wrapper functions to build layers.

Functions

build_one_layer

Build layers for one InImage

build_all_layers

Build layers for all the exposures in the directory path

Functions

build_one_layer(cfg, idsca)

Build layers for one InImage

build_all_layers(cfg[, workers])

Build layers for all the exposures in the directory path

Module Contents

build_one_layer(cfg, idsca)[source]

Build layers for one InImage Instantiates the inimage with a “dummy” block 0

Parameters:
  • cfg (pyimcom.config.Config object) – the configuration file

  • idsca (tuple, (int, int)) – the obsid, scaid pair of the image to build

Return type:

None

build_all_layers(cfg, workers=2)[source]

Build layers for all the exposures in the directory path

Parameters:
  • cfg (pyimcom.config.Config object) – the configuration file

  • workers (int) – number of workers to use in parallel processing