Package data :: Module align_tensor :: Class AlignTensorSimList
[hide private]
[frames] | no frames]

Class AlignTensorSimList

source code


Empty data container for Monte Carlo simulation alignment tensor data.

Instance Methods [hide private]
new empty list
__init__(self, elements=None)
Initialise the Monte Carlo simulation parameter list.
source code
 
__setitem__(self, slice_obj, value)
This is a read-only object!
source code
 
_append(self, value)
The secret append method.
source code
 
_set(self, value=None, sim_index=None)
Replacement secret method for __setitem__().
source code
 
append(self, value)
This is a read-only object!
source code

Inherited from list: __add__, __contains__, __delitem__, __delslice__, __eq__, __ge__, __getattribute__, __getitem__, __getslice__, __gt__, __iadd__, __imul__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __repr__, __reversed__, __rmul__, __setslice__, __sizeof__, count, extend, index, insert, pop, remove, reverse, sort

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __setattr__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from list: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, elements=None)
(Constructor)

source code 

Initialise the Monte Carlo simulation parameter list.

Parameters:
  • elements (None or int) - The number of elements to initialise the length of the list to.
Returns: new empty list
Overrides: object.__init__

__setitem__(self, slice_obj, value)
(Index assignment operator)

source code 

This is a read-only object!

Overrides: list.__setitem__

_append(self, value)

source code 

The secret append method.

Parameters:
  • value (anything) - The value to append to the list.

_set(self, value=None, sim_index=None)

source code 

Replacement secret method for __setitem__().

Parameters:
  • value (anything) - The value to set.
  • sim_index (int) - The index of the simulation value to set.

append(self, value)

source code 

This is a read-only object!

Overrides: list.append