Exemplo n.º 1
def get_projection_data(input_data, file_name, group_name, mpi=False, new_shape=None):
    Gets a file backed, Raw data object

    :returns:  a RawTimeseriesData Object containing the example data.
    data = ProjectionData()
    data.create_backing_h5(file_name, group_name, input_data, mpi, new_shape)
    return data
Exemplo n.º 2
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()
    return projection_data