pymcxray.serialization package

Submodules

pymcxray.serialization.SerializationH5py module

class pymcxray.serialization.SerializationH5py.SerializationNumpy(filename=None, verbose=True)[source]

Bases: pymcxray.serialization._Serialization._Serialization

load()[source]
save(serializedData)[source]

pymcxray.serialization.SerializationNumpy module

class pymcxray.serialization.SerializationNumpy.SerializationNumpy(filename=None, verbose=True)[source]

Bases: pymcxray.serialization._Serialization._Serialization

load()[source]
save(serializedData)[source]
class pymcxray.serialization.SerializationNumpy.SerializationNumpyNPY(filename=None, verbose=True)[source]

Bases: pymcxray.serialization.SerializationNumpy.SerializationNumpy

load()[source]
save(data)[source]
class pymcxray.serialization.SerializationNumpy.SerializationNumpyNPZ(filename=None, verbose=True)[source]

Bases: pymcxray.serialization.SerializationNumpy.SerializationNumpy

load()[source]
save(data)[source]
class pymcxray.serialization.SerializationNumpy.SerializationNumpyTxt(filename=None, verbose=True)[source]

Bases: pymcxray.serialization.SerializationNumpy.SerializationNumpy

load()[source]
save(data)[source]
class pymcxray.serialization.SerializationNumpy.SerializationNumpyTxtGz(filename=None, verbose=True)[source]

Bases: pymcxray.serialization.SerializationNumpy.SerializationNumpyTxt

pymcxray.serialization.SerializationPickle module

class pymcxray.serialization.SerializationPickle.SerializationPickle(filename=None, verbose=True)[source]

Bases: pymcxray.serialization._Serialization._Serialization

KEY_FILE_VERSION = 'fileVersion'
KEY_SERIALIZED_DATA = 'serializedData'
load()[source]
save(serializedData)[source]

pymcxray.serialization.test_Serialization module

pymcxray.serialization.test_SerializationH5py module

class pymcxray.serialization.test_SerializationH5py.TestSerializationH5py(methodName='runTest')[source]

Bases: unittest.case.TestCase

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

testSkeleton()[source]

pymcxray.serialization.test_SerializationNumpy module

class pymcxray.serialization.test_SerializationNumpy.TestSerializationNumpy(methodName='runTest')[source]

Bases: unittest.case.TestCase

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

testSkeleton()[source]
test_loadSaveSerializationNumpy()[source]
test_loadSaveSerializationNumpyNPY()[source]
test_loadSaveSerializationNumpyNPZ()[source]
test_loadSaveSerializationNumpyTxt()[source]
test_loadSaveSerializationNumpyTxtGz()[source]

pymcxray.serialization.test_SerializationPickle module

class pymcxray.serialization.test_SerializationPickle.TestSerialization(methodName='runTest')[source]

Bases: unittest.case.TestCase

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

testSkeleton()[source]
test_loadSave()[source]
test_version()[source]

pymcxray.serialization.tests module

Regression testing for the project.

Module contents