flystar.tests.test_align

Functions

test_MosaicSelfRef()

Cross-match and align 4 starlists using the OO version of mosaic lists.

test_MosaicSelfRef_vel_tconst()

Cross-match and align 4 starlists using the OO version of mosaic lists.

test_MosaicSelfRef_vel()

Cross-match and align 4 starlists using the OO version of mosaic lists.

test_MosaicToRef()

make_fake_starlists_shifts()

make_fake_starlists_poly1([seed])

make_fake_starlists_poly1_vel([seed])

test_MosaicToRef_hst_me()

Test Casey's issue with 'me' not getting propogated

test_bootstrap()

Test to make sure calc_bootstrap_error() call is working

test_calc_vel_in_bootstrap()

Check calc_vel_in_bootstrap performance in calc_bootstrap_errors()

test_transform_xym()

Test to make sure transforms are being done to mags only

test_MosaicToRef_mag_bug()

Bug found by Tuan Do on 2020-04-12.

test_masked_cols()

Test to make sure analysis.prepare_gaia_for_flystar

Module Contents

flystar.tests.test_align.test_MosaicSelfRef()

Cross-match and align 4 starlists using the OO version of mosaic lists.

flystar.tests.test_align.test_MosaicSelfRef_vel_tconst()

Cross-match and align 4 starlists using the OO version of mosaic lists. The 4 lists are all taken at the same time (so 0 velocities should result).

flystar.tests.test_align.test_MosaicSelfRef_vel()

Cross-match and align 4 starlists using the OO version of mosaic lists.

flystar.tests.test_align.test_MosaicToRef()
flystar.tests.test_align.make_fake_starlists_shifts()
flystar.tests.test_align.make_fake_starlists_poly1(seed=-1)
flystar.tests.test_align.make_fake_starlists_poly1_vel(seed=-1)
flystar.tests.test_align.test_MosaicToRef_hst_me()

Test Casey’s issue with ‘me’ not getting propogated from the input starlists to the output table.

Use data from MB10-364 microlensing target for the test.

flystar.tests.test_align.test_bootstrap()

Test to make sure calc_bootstrap_error() call is working properly (e.g., only called when user calls calc_bootstrap_error, n_boot param for calc_bootstrap_error only, boot_epochs_min working, etc.)

flystar.tests.test_align.test_calc_vel_in_bootstrap()

Check calc_vel_in_bootstrap performance in calc_bootstrap_errors()

Only calculate velocity bootstrap (e.g., bootstrap over epochs and calculating proper motions) if calc_vel_in_bootstrap=True.

flystar.tests.test_align.test_transform_xym()

Test to make sure transforms are being done to mags only if mag_trans = True. This can cause subtle bugs otherwise

flystar.tests.test_align.test_MosaicToRef_mag_bug()

Bug found by Tuan Do on 2020-04-12.

flystar.tests.test_align.test_masked_cols()

Test to make sure analysis.prepare_gaia_for_flystar produces an astropy.table.Table, NOT a masked column table. MosaicToRef cannot handle masked column tables.

Also make sure this example works, since we use it for the examples jupyter notebook.