DesignRepresentation

class aixd.data.DesignRepresentation(name='design_rep', **kwargs)[source]

Bases: DataBlock

Additional types, obtained from the design parameters

Parameters:
  • name (str) – The name of the data block.

  • kwargs – Arguments passed to super().__init__(…).

Methods

read

Reads the data from a file according to the specified format.

write

Writes the data to a file according to the specified format.

Inherited Methods

check_data_consistency

Checks the data consistency.

get_cols_dobjs

In this case, the attributes can be either names of dimensions, or names of full data objects, and we need to return the precise column names that correspond to the attributes.

get_data_mat

Returns the data belonging to the requested DataObject's, as a single data matrix.

get_data_mat_dtypes

Returns the data types of the columns of the data matrix for the requested DataObject's.

get_data_mats

Returns the data belonging to the requested DataObject's, as a list of data matrices.

get_dobjs

Returns the data objects.

info_dobj

Returns information of all the DataObject's of the DataBlock.

print_objects

Prints the names of the DataObject's.

print_transf

Prints the applied transformations for the DataBlock.

update_obj

Updates the DataObject instance according to the passed data (e.g., changing its domain or type)

update_position_indices

Updates the position and position_index attributes of the DataObject's.