TestStream

class trackstream.tests.test_stream.TestStream[source]

Bases: object

Test trackstream.stream.Stream.

Methods Summary

setup_class()

Setup fixtures for testing.

stream(stream_cls, request)

Stream instance.

stream_cls()

Stream class.

test_arm1_coords(stream)

test_arm1_data(stream)

test_arm1_has_data(stream)

test_arm1_index(stream)

test_arm2_coords(stream)

test_arm2_data(stream)

test_arm2_has_data(stream)

test_arm2_index(stream)

test_coords(stream)

test_data_coords(stream)

test_data_frame(stream)

test_fit_track(stream)

Test fit stream track.

test_frame(stream)

Test attribute frame.

test_init(stream_cls)

Test initialization.

test_init_fail_numargs(stream_cls)

Test with wrong number of arguments.

test_loading_pal5(stream_cls)

test_normalize_data(stream_cls)

test_number_of_tails(stream)

test_system_frame(stream)

Test system-centric frame.

test_track(stream)

Methods Documentation

classmethod setup_class()[source]

Setup fixtures for testing.

stream(stream_cls, request)[source]

Stream instance.

stream_cls()[source]

Stream class.

test_arm1_coords(stream)[source]
test_arm1_data(stream)[source]
test_arm1_has_data(stream)[source]
test_arm1_index(stream)[source]
test_arm2_coords(stream)[source]
test_arm2_data(stream)[source]
test_arm2_has_data(stream)[source]
test_arm2_index(stream)[source]
test_coords(stream)[source]
test_data_coords(stream)[source]
test_data_frame(stream)[source]
test_fit_track(stream)[source]

Test fit stream track.

test_frame(stream)[source]

Test attribute frame.

test_init(stream_cls)[source]

Test initialization.

test_init_fail_numargs(stream_cls)[source]

Test with wrong number of arguments. A reminder to include origin.

test_loading_pal5(stream_cls)[source]
test_normalize_data(stream_cls)[source]
test_number_of_tails(stream)[source]
test_system_frame(stream)[source]

Test system-centric frame.

test_track(stream)[source]