pafsim.vector

Module Contents

class pafsim.vector.Vector(processor: pafsim.processor._processor.Processor = None)

Class to maintain datasets as vectors. Vector objects can be stored and loaded to use them in different simulation setups.

setProcessor(processor: pafsim.processor._processor.Processor)

Set the processor to gather its properties

Parameters:

processor (Processor) – The processor

store(path: str)

Store the vector in a specific directory

Parameters:

path (str) – The location where to store the Vector

load(path: str)

Load a stored vector from disk

Parameters:

path (str) – The location where the vector was stored