Buffer data models

data_models.buffer_data_models Module

Buffer equivalents of memory data models

To create from an existing model in the buffer, make some changes, and then sync to buffer:

my_buffer_skymodel = BufferSkyModel(conf["buffer"], conf["inputs"]["skymodel"])
my_memory_skymodel = my_buffer_skymodel.memory_data_model
... do some stuff
my_memory_skymodel.sync()

To create a new buffer for a memory_data_model:

my_buffer_skymodel = BufferSkyModel(conf["buffer"], conf["inputs"]["skymodel"], my_memory_skymodel)
my_memory_skymodel.sync()

An explicit sync is required in both cases

Classes

BufferGainTable(json_buffer, json_model[, mdm])

Buffer version of memory data model GainTable

BufferPointingTable(json_buffer, json_model)

Buffer version of memory data model GainTable

BufferImage(json_buffer, json_model[, mdm])

Buffer version of memory data model Image

BufferGridData(json_buffer, json_model[, mdm])

Buffer version of memory data model GridData

BufferConvolutionFunction(json_buffer, …)

Buffer version of memory data model ConvolutionFunction

BufferSkyModel(json_buffer, json_model[, mdm])

Buffer version of memory data model SkyModel

BufferBlockVisibility(json_buffer, json_model)

Buffer version of memory data model BlockVisibility