httomo.transform_layer.TransformLayer#
- class httomo.transform_layer.TransformLayer(comm: mpi4py.MPI.Comm, repo=<httomo.methods_database.query.MethodDatabaseRepository object>, save_all=False, out_dir: ~os.PathLike | None = None)[source]#
Methods
__init__
(comm[, repo, save_all, out_dir])insert_data_reducer
(pipeline)This will always insert data reducer as method 0 right after the loader
insert_save_images_after_sweep
(pipeline)For sweep methods we add image saving method after, and also a rescaling method to rescale the data passed to the image saver.
insert_save_methods
(pipeline)transform
(pipeline)- insert_data_reducer(pipeline: Pipeline) Pipeline [source]#
This will always insert data reducer as method 0 right after the loader