Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
288 commits
Select commit Hold shift + click to select a range
fa6c1ff
post-testing cleanup
Dec 19, 2024
bdf0177
testing
Dec 19, 2024
d3331d6
error scaling in curve_fit
Dec 19, 2024
2641209
Merge branch 'motion_model_mjh' into mh_dev
hustonm Dec 20, 2024
1be8cc8
Merge pull request #10 from MovingUniverseLab/mh_dev
hustonm Dec 20, 2024
44a67e4
improve motion model fitting
Dec 20, 2024
d35e3c6
modify plx fitting
Dec 20, 2024
5d46b09
plot updates for motion model
Dec 20, 2024
6b9b775
minor bug fixes
Jan 13, 2025
622beda
continued testing
Jan 13, 2025
ab6b1be
undo accidental comment
Jan 13, 2025
07d1265
update gaia to dr3
Jan 14, 2025
f7fa74e
tiny bug fix
Jan 14, 2025
0cad524
test bug fix
Jan 14, 2025
2a4124c
more motion model debugging
Jan 14, 2025
5a0a408
more motion model debugging
Jan 14, 2025
ab93f99
debugging with real data
Jan 15, 2025
6d2e6f6
still debugging....
Jan 15, 2025
c6f5bfd
debugging - temporary solution
Jan 15, 2025
8278d23
align.py
Jan 15, 2025
62daecc
debugged issue mb19284 brought up
Jan 15, 2025
6acd56a
motion model application to plots
Jan 17, 2025
70430b8
debugging periter, adding atend update_ref_orig options
Jan 18, 2025
bba22e3
reset input model option for fit_velocitis
Jan 22, 2025
8625d4f
only fit stars if needed
Jan 22, 2025
35c08d3
more motion model debugging, with plots and parallax
Jan 23, 2025
fecf8af
weird pyplot reshape thing
Jan 23, 2025
59828d6
motion model testing updates
Jan 29, 2025
a9f58a2
motion model debugging
Mar 26, 2025
bed88d2
adding motion model to plots
Mar 27, 2025
5cb692a
debugging
Apr 16, 2025
b81c221
n_good=2 case for linear fitting
Apr 17, 2025
a7ffa81
continuous model plotting (display improved for parallax)
Apr 17, 2025
8cda1d5
bootstrap improvements
May 7, 2025
144a9c9
new per_filter plotting functions for chi2 distribution
skterry May 10, 2025
29506c4
add optional print flag for plot_stars_nfilt()
skterry May 14, 2025
c40fdea
parallax handling tweaks
Jun 3, 2025
04acd80
Merge branch 'motion_model_mjh' of https://github.com/MovingUniverseL…
Jun 3, 2025
8d91bf8
add mm input to gaia table
Jun 3, 2025
3139bee
remove extra prints)
Jun 16, 2025
82f50fd
gaia motion model editable by keyword
Jun 16, 2025
4b467c8
reference frame shift function
Jun 18, 2025
5e1711d
reference frame shift function
Jun 18, 2025
0d7cd36
debug calc_bootstrap_errors for motion model
Jun 18, 2025
80a6930
debug motion_model_used for MosaicSelfRef
Jun 20, 2025
d777c61
check in motion model progress
Jun 26, 2025
c36b716
debug matching issue in calc_bootstrap_errors
Jun 27, 2025
e2176e5
check in debug attempts
Jul 15, 2025
a40ad28
dof handling
Jul 17, 2025
85f78c4
implementation of motion_model_dict to store motion model metadata
Jul 28, 2025
3c3e0ea
debug motion model rework
Jul 30, 2025
0c64e5c
improve plx caching
Jul 30, 2025
bc57c60
fit_velocities_all_detected to motion_model first pass
Aug 7, 2025
f73d9c5
Added test catalog for testing linear models
wei-lingfeng Aug 7, 2025
37c94e2
debug:
Aug 7, 2025
2871b6c
Merge branch 'mm_rework' of https://github.com/MovingUniverseLab/flys…
Aug 7, 2025
13a523a
Fix undefined startable
wei-lingfeng Aug 7, 2025
88e36b0
Merge branch 'mm_rework' of https://github.com/MovingUniverseLab/flys…
wei-lingfeng Aug 7, 2025
c29daaa
Added test function for fit_velocities_detected_all
wei-lingfeng Aug 8, 2025
bf89b6f
motion model import
Aug 8, 2025
b252fbb
Fix test_fit_velocities_all_detected
wei-lingfeng Aug 8, 2025
f2699db
Merge branch 'mm_rework' of https://github.com/MovingUniverseLab/flys…
wei-lingfeng Aug 8, 2025
454e497
move fitter options into fit_velocities functions, not motion_model o…
Aug 14, 2025
dd50d18
move fitter settings for fit_velocities_all_detected test
Aug 14, 2025
1bf24d8
change motion_model tests for updates
Aug 15, 2025
ed80332
remove some unecessary fitting
Aug 27, 2025
1c80e66
remove fit_velocities.py
hustonm Aug 28, 2025
495690b
Add select_idx function and single epoch case
wei-lingfeng Aug 28, 2025
fef5025
Default t0 to 0
wei-lingfeng Aug 28, 2025
42674b6
Nothing but code format change
wei-lingfeng Aug 28, 2025
721e2d5
Merge branch 'mm_rework' of https://github.com/MovingUniverseLab/flys…
wei-lingfeng Aug 28, 2025
0ce4814
Add use_scipy, absolute_sigma, and save_path in align.py
wei-lingfeng Aug 29, 2025
c062a35
Reverting the t0 to be required parameter
wei-lingfeng Aug 29, 2025
55ca61a
Removing the all detected requirement for time array
wei-lingfeng Aug 29, 2025
88090c7
working on merge conflicts
hustonm Aug 29, 2025
32d16f2
working on merge conflicts
hustonm Aug 29, 2025
1f349e7
merging
hustonm Aug 29, 2025
c696977
fitter keyword debug
Aug 29, 2025
c8d8186
debug weighting keywords
Sep 5, 2025
4e70fbe
Minor format change
wei-lingfeng Sep 10, 2025
94f72a0
Merge branch 'mm_rework' of https://github.com/MovingUniverseLab/flys…
wei-lingfeng Sep 10, 2025
bd7ac5e
debug motion model validation
Sep 13, 2025
243b56f
Remove 2-epoch linear fitting as scipy/matrix already handles it; Fix…
wei-lingfeng Sep 17, 2025
1385464
Add testing function for both absolute_sigma True and False
wei-lingfeng Sep 17, 2025
d7884e8
Simple cleanup
wei-lingfeng Sep 17, 2025
dabd8a2
Merge branch 'mm_rework' of https://github.com/MovingUniverseLab/flys…
wei-lingfeng Sep 17, 2025
200d7e7
Revert 2 epoch case changes
wei-lingfeng Sep 17, 2025
5a859db
Fix r string import warning
wei-lingfeng Sep 25, 2025
4c85f80
catch up
Oct 23, 2025
010e6b1
decrease memory useage in bootstrap
Oct 24, 2025
6e50b6c
debug bootstrap vel
Oct 24, 2025
8d68cbf
debug bootstrap vel
Oct 24, 2025
b28f8a0
finalize bootstrap changes
Oct 24, 2025
1f66d3b
Merge pull request #15 from MovingUniverseLab/bootstrap_memory
hustonm Oct 24, 2025
ce82de2
minor cleanup
Nov 4, 2025
d74dd8b
Merge pull request #16 from MovingUniverseLab/bootstrap_memory
hustonm Nov 4, 2025
253c52d
Clean up: Remove scale_errors; Update init functions; Update Linear m…
wei-lingfeng Nov 7, 2025
0ba32c9
Rename py to plt; Add save path; Fix unclosed figure
wei-lingfeng Nov 7, 2025
f0e478c
Minor fix: Add assertion message; Add times into ref_table meta data;…
wei-lingfeng Nov 7, 2025
7b01003
Minor fix: Update startables accordingly with motion model
wei-lingfeng Nov 7, 2025
289150d
Revert class meta definitions
wei-lingfeng Nov 7, 2025
a9adeee
Merge branch 'mm_rework' of https://github.com/MovingUniverseLab/flys…
wei-lingfeng Nov 7, 2025
443c4bd
Add get_sigma
wei-lingfeng Nov 12, 2025
a1ef471
Revert back to get_weight
wei-lingfeng Nov 12, 2025
1a7481d
Major Update:
wei-lingfeng Nov 13, 2025
77820b2
Rewrite startable fit velocity function for acceleration and the new …
wei-lingfeng Nov 13, 2025
043cdf1
Add support for motion_model_input
wei-lingfeng Nov 17, 2025
82585b4
attempt to fix plot_stars_nfilt
Nov 18, 2025
5ec18cb
Passed testing for fit_motion_model. Merged get_pos_at_time and get_b…
wei-lingfeng Nov 21, 2025
d892a36
Merge branch 'mm_rework' of https://github.com/MovingUniverseLab/flys…
wei-lingfeng Nov 21, 2025
69af17b
update startable_subset() with bootstrap errors
skterry Nov 22, 2025
e0e0c2c
MotionModel acceleration with passed testings. Merged get_pos_at_time…
wei-lingfeng Nov 25, 2025
2b0bccb
Remove unecessary plx functions and add motion model documentation
Dec 4, 2025
a5c988a
Merge branch 'mm_rework' of https://github.com/MovingUniverseLab/flys…
Dec 4, 2025
9aa4da7
missing tab fix
Dec 9, 2025
f932e23
Add Parallax test plot
wei-lingfeng Dec 10, 2025
be25492
Partial Update of align and test_align
wei-lingfeng Dec 15, 2025
6de890b
test debugging
hustonm Dec 16, 2025
a19b106
Passed startable tests; Accelerated imports with relative import
wei-lingfeng Dec 16, 2025
48321cb
Resolve undefined variables and cleaned imports
wei-lingfeng Dec 16, 2025
dc369e6
Merge local changes with decaf changes
wei-lingfeng Dec 16, 2025
f0e8884
Fix bootstrap sampling strategy and 100% passed startable test
wei-lingfeng Dec 16, 2025
a1ff8f3
Midway save of align
wei-lingfeng Dec 20, 2025
04fd8ea
Add select_stars functionality in fit_motion_model
wei-lingfeng Dec 20, 2025
87d7cc4
Passed all tests!
wei-lingfeng Dec 21, 2025
a685011
Merge with upstream mm_rework branch
wei-lingfeng Dec 21, 2025
99f678a
Removed old functions; Merged with upstream mm_rework branch
wei-lingfeng Dec 21, 2025
f75a55f
Added Motion Model Example Notebook; Revert Acceleration Velocity Names
wei-lingfeng Dec 22, 2025
141be48
calc_bootstrap_errors ref star selection bugfix, plus removing unnece…
Jan 8, 2026
a34161d
reintroducing requirement that ref star actually be matched in epoch
Jan 8, 2026
0663092
minor debugs and new helper functions
Jan 9, 2026
3e07730
Merge branch 'mm_rework' of https://github.com/MovingUniverseLab/flys…
Jan 9, 2026
4a7e77c
commenting out --doctest-rst which crashes testing
Jan 9, 2026
5134099
Merge pull request #18 from MovingUniverseLab/mm_rework
mwhosek Jan 9, 2026
5368750
plotting fixes for multiple motion models
Jan 12, 2026
b238937
Merge pull request #19 from MovingUniverseLab/bootstrap_fix
hustonm Jan 12, 2026
91eec87
debug bootstrap indexing
Jan 12, 2026
c8ac551
simplify bug fix
Jan 12, 2026
93afbb6
allow bootstrap to optionally update positional errors
Jan 15, 2026
5a049fe
Fix bootstrap index size error
wei-lingfeng Jan 15, 2026
d87766d
Simplify n_params calculation
wei-lingfeng Jan 22, 2026
a7af1e1
Merge branch 'mm_rework_lingfeng' into mm_rework
hustonm Jan 23, 2026
82448d3
Merge pull request #20 from wei-lingfeng/mm_rework
hustonm Jan 23, 2026
2170fbc
Reorder parameters of MosaicSelf/ToRef
wei-lingfeng Jan 26, 2026
1422171
Update type comparison method
wei-lingfeng Jan 26, 2026
b2a28c7
Merge branch 'mm_rework_lingfeng' of https://github.com/MovingUnivers…
wei-lingfeng Jan 26, 2026
93f4d44
Add save path for log file
wei-lingfeng Jan 28, 2026
9251d9c
Fix mag_lim error in align
wei-lingfeng Jan 30, 2026
4980483
Update save path: Must ends with pkl
wei-lingfeng Feb 2, 2026
b78c876
Merge branch 'mm_rework_lingfeng' of https://github.com/wei-lingfeng/…
wei-lingfeng Feb 2, 2026
dcf8d13
Fix string warning message
wei-lingfeng Feb 3, 2026
89eaee5
Update motion model used for keep_orig stars in align; Update chi2 af…
wei-lingfeng Feb 8, 2026
316e79d
Fixed testing errors (Except general_match); Fixed parallax align err…
wei-lingfeng Feb 9, 2026
2aedc4d
Restore commented functions; Restore update chi squares
wei-lingfeng Feb 9, 2026
8bf14a9
Temporarily added parallax test
wei-lingfeng Feb 9, 2026
2a4a611
Midpoint test commit
wei-lingfeng Feb 11, 2026
f979af7
Add motion_model_for_new_star used in add_rows_for_new_stars; Fixed m…
wei-lingfeng Feb 18, 2026
0686a9a
Trim trailing spaces
wei-lingfeng Feb 26, 2026
ed8eea0
Update test data paths
wei-lingfeng Mar 12, 2026
4f816f2
Slightly accelerated fit motion model preparation
wei-lingfeng Mar 12, 2026
0a4c276
Added determine motion model function used in get_ref_list_from_table…
wei-lingfeng Mar 12, 2026
646a957
Passed parallax fit
wei-lingfeng Mar 12, 2026
3927e66
Add number of iterations in align output information
wei-lingfeng Mar 19, 2026
6a94841
n_fit now requires unique times as well
wei-lingfeng Mar 19, 2026
f5102b1
Added seed for test function
wei-lingfeng Mar 25, 2026
ab85b4d
Added mag offset to verbose output
wei-lingfeng Mar 25, 2026
aaadaa5
Minor fix of variable names in docstring
wei-lingfeng Mar 25, 2026
e097536
Masking close to 0 values in xe ye in fit motion model to avoid infin…
wei-lingfeng Mar 25, 2026
c85d2af
Revert "Minor fix of variable names in docstring"
wei-lingfeng Mar 25, 2026
82462bc
Minor fix of variable names in docstring
wei-lingfeng Mar 25, 2026
93fa222
Added singular matrix handling; Optimized warning message printing
wei-lingfeng Mar 30, 2026
3d611b7
Removed unecessary fixed motion model fit; Fixed bootstrap unmatched …
wei-lingfeng Mar 30, 2026
942e148
Merged show_progress into verbose; Changed to construct list of param…
wei-lingfeng Mar 30, 2026
c9b54a5
Adjusted import orders
wei-lingfeng Mar 30, 2026
5332543
Removed velocity assertion in align.ref_table if all epochs are the s…
wei-lingfeng Mar 30, 2026
f982b5b
Rename matplotlib imports
wei-lingfeng Apr 25, 2026
4f22e99
Update prompt message when length < Nbrite
wei-lingfeng Apr 25, 2026
4bac085
Add dimension check and update dimension manipulation for input starl…
wei-lingfeng Apr 25, 2026
9beff67
Updated outlier_tol default behavior; Added prefix_name for saved fil…
wei-lingfeng Apr 25, 2026
1405972
Convert combine_lists into mask lists to avoid minus .data; Optimized…
wei-lingfeng Apr 25, 2026
938dbb2
Remove main function
wei-lingfeng Apr 25, 2026
c7a55e8
Merge branch 'mm_rework_lingfeng' of https://github.com/wei-lingfeng/…
wei-lingfeng Apr 25, 2026
7012551
Added verbose control over done with fit message
wei-lingfeng Apr 26, 2026
66dc631
Revert get all epochs to numpy array; Changed default mask_lists to N…
wei-lingfeng Apr 27, 2026
0faeb87
Fix dr calculation in match
wei-lingfeng Apr 27, 2026
abbf98d
Fix xe and ye when not provided
wei-lingfeng Apr 27, 2026
594657a
Changed plotly scatter to scattergl for faster plotting
wei-lingfeng Apr 29, 2026
01f3e7e
Add symbol control in plotly_stars
wei-lingfeng Apr 30, 2026
0655987
Changed to png with dpi=300 for faster viewing; Fixed marker symbol f…
wei-lingfeng May 1, 2026
33c1dfa
Added required_fixed_param_names and optional_fixed_params for motion…
wei-lingfeng May 1, 2026
0a9c5ce
Update fixed params dict construction in fit_motion_model: If not spe…
wei-lingfeng May 1, 2026
d826990
Unify run_fit parameters for motion models
wei-lingfeng May 1, 2026
6caf11e
Added star name option in plotly stars
wei-lingfeng May 1, 2026
62f9248
Utilized scipy curve_fit fvec to accelerate chi2 calculation; Added s…
wei-lingfeng May 22, 2026
3f2ce00
Fixed infer positions dimension handling
wei-lingfeng May 22, 2026
b41896d
Fix wrong parameter name in curve_fit
wei-lingfeng Jun 16, 2026
2f64d7d
Added starlist_vertices function to find briteN stars only in overlap…
wei-lingfeng Jun 16, 2026
c106631
Update from_lis_file column from snr to me (NEED CONFIRMATION)
wei-lingfeng Jun 16, 2026
dbe0462
Fixed test functions after fixing match.match dr calculation
wei-lingfeng Jun 16, 2026
33b35d2
Save bootstrap results automatically after calc_bootstrap_errors
wei-lingfeng Jun 16, 2026
6431e52
Add actual shape of arg_test in StarList init error message
wei-lingfeng Jun 16, 2026
5857f15
Merge branch 'mm_rework_lingfeng' of https://github.com/wei-lingfeng/…
wei-lingfeng Jun 16, 2026
9df7b00
Changed fit_motion_model to fit_motion_models; Changed n_params to re…
wei-lingfeng Jun 17, 2026
fcb5058
Added reflist_vertex for MosaicToRef; Removed motion_model_for_new_star
wei-lingfeng Jun 17, 2026
cf29f75
Update variable names in example notebook
wei-lingfeng Jun 17, 2026
a7d1e6b
Fix duplicate columns; Fix plotting error
wei-lingfeng Jun 18, 2026
d494c23
Revert n_params name and add n_fit_params attribute
wei-lingfeng Jun 18, 2026
3d70e5a
Search for fixed params in the order of fixed_params_dict -> table co…
wei-lingfeng Jun 19, 2026
4520ed9
Update adding fixed parameter into meta or column in fit_motion_models
wei-lingfeng Jun 19, 2026
e6f2583
Remove extra import
wei-lingfeng Jun 23, 2026
e76292c
Add missing parameters in determine_motion_model
wei-lingfeng Jun 23, 2026
d0ae608
Switched back to standard deviation as uncertainties in startables.co…
wei-lingfeng Jul 2, 2026
90b2bb6
Change default absolute_sigma=True in align, consistent with motion m…
wei-lingfeng Jul 3, 2026
43e285e
Reverted back to trans_weights and vel_weights
wei-lingfeng Jul 7, 2026
22eefd4
Reverted back to snr
wei-lingfeng Jul 7, 2026
7407bce
Added checking metadata for optional fixed parameters checking
wei-lingfeng Jul 7, 2026
aaff539
Merge branch 'mm_rework_lingfeng' of https://github.com/wei-lingfeng/…
wei-lingfeng Jul 7, 2026
af80a05
Updated shift_reference_frame
wei-lingfeng Jul 7, 2026
34227db
Added keyword check in shift_reference_frame
wei-lingfeng Jul 7, 2026
9d7c12b
Added xlabel and ylabel control for plotly_stars
wei-lingfeng Jul 9, 2026
dc943a0
Add t0 if all motion_model_input==Fixed
wei-lingfeng Jul 9, 2026
01c9c47
Merge branch 'mm_rework_lingfeng' of https://github.com/MovingUnivers…
wei-lingfeng Jul 9, 2026
10280eb
Update adding t0 and n_fit at the end of fit
wei-lingfeng Jul 10, 2026
78bd1a0
Update xe ye logic when not provided
wei-lingfeng Jul 10, 2026
06df7bf
Adjusted hover label ordering; Updated docstring
wei-lingfeng Jul 10, 2026
702674f
Moved use_in_trans selection BEFORE deriving transformation to avoid …
wei-lingfeng Jul 29, 2026
0fc17a1
Optimized calculation and added data checking in match.match
wei-lingfeng Jul 29, 2026
b52b880
Added plt.show/close! Adjusted figure size
wei-lingfeng Jul 29, 2026
1bc48ce
Changed uncertainty to error propagation (error on the mean) in combi…
wei-lingfeng Jul 29, 2026
98854cd
Fix testing errors
wei-lingfeng Jul 30, 2026
598029d
Implemented multiprocesssing for fit_motion_models and added testing …
wei-lingfeng Jul 30, 2026
91a5c27
Implemented multiprocessing in align
wei-lingfeng Jul 30, 2026
3ecbf85
Added control of scipy curve_fit method in startable and align
wei-lingfeng Jul 30, 2026
cc05db4
Fixed bugs and match updated mm_rework results
wei-lingfeng Aug 6, 2026
a6991e9
Cleaned up imports, avoided cyclic imports, and reverted back to abso…
wei-lingfeng Aug 6, 2026
3209314
Added Parallax testing data
wei-lingfeng Aug 6, 2026
46be405
Moved generic_match to align to avoid cyclic imports, as it does not …
wei-lingfeng Aug 7, 2026
2e0a1a2
Updated transformation save plot folder name
wei-lingfeng Aug 7, 2026
6ea68a5
Added keep existing option for fit_motion_models
wei-lingfeng Aug 7, 2026
8f7a850
Update plot save path; Added indices mode in trans_initial_guess
wei-lingfeng Aug 7, 2026
48a02e4
Merge branch 'mm_rework_lingfeng' of https://github.com/wei-lingfeng/…
wei-lingfeng Aug 7, 2026
d26d86b
Merge branch 'dev' into mm_rework_lingfeng
wei-lingfeng Aug 7, 2026
a0e4570
Removed unecessary if statement
wei-lingfeng Aug 7, 2026
305b14e
Merge branch 'mm_rework_lingfeng' of https://github.com/MovingUnivers…
wei-lingfeng Aug 7, 2026
8834a49
Fixed bugs
wei-lingfeng Aug 7, 2026
4642bec
Removed white trailing spaces
wei-lingfeng Aug 7, 2026
5106742
Fixed testing errors and trimmed white spaces
wei-lingfeng Aug 7, 2026
dcf9e2c
Added support for only setting list_time meta in starlists and optimi…
wei-lingfeng Aug 11, 2026
e536b6a
Updated initialization; Added support for list_time meta in add_starlist
wei-lingfeng Aug 11, 2026
278fee3
Added support for different mag limits in each iteration in align
wei-lingfeng Aug 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
*.png
*random*.fits
*random*.lis
*.DS_Store
*.pyc
.ipynb_checkpoints/

Expand Down
1,363 changes: 1,363 additions & 0 deletions docs/flystar/examples/motion_model_example.ipynb

Large diffs are not rendered by default.

3,758 changes: 2,048 additions & 1,710 deletions flystar/align.py

Large diffs are not rendered by default.

Loading