Esempio n. 1
0
def get_projection_test_data():
    """Gets the test data and returns it in the ProjectionData Structure

    :returns:  a ProjectionData Object containing the example data.

    """
    path = get_test_data_path('projections.h5')
    projection_data = ProjectionData()
    projection_data.populate_from_h5(path)
    return projection_data
Esempio n. 2
0
def get_projection_test_data():
    """Gets the test data and returns it in the ProjectionData Structure

    :returns:  a ProjectionData Object containing the example data.

    """
    path = get_test_data_path("projections.h5")
    projection_data = ProjectionData()
    projection_data.populate_from_h5(path)
    return projection_data