desihub / desimeter

DESI coordinates and transformations
BSD 3-Clause "New" or "Revised" License
2 stars 4 forks source link

Posmoves recent rehome #96

Closed julienguy closed 4 years ago

julienguy commented 4 years ago

Full example

# use expid=2107 on 2020/06/05, but assume no recent-rehome
# good RC on 2020/06/08 for most positioners, expid=2119
get_posmoves --host beyonce.lbl.gov --port 5432 --password reader --exposure-ids 2107,2119 --petal-id 1 -o . --recent-rehome 2119
# new RC on 2020/06/09 for some positioners, expid=2141, overwrite them
get_posmoves --host beyonce.lbl.gov --port 5432 --password reader --exposure-ids 2141 --petal-id 1 -o . --recent-rehome 2141 --pos-ids M06248,M06223,M06226,M06252,M08138
# new RC on 2020/06/10 for some positioners, expid=2154, overwrite them
get_posmoves --host beyonce.lbl.gov --port 5432 --password reader --exposure-ids 2154 --petal-id 1 -o . --recent-rehome 2154 --pos-ids M08052,M06998,M01985

fit_posparams -i M?????.csv -o .
merge_posparams -i M*_paramfits.csv -o all_paramfits.csv
../../scripts/plot_paramfits.py all_paramfits.csv

GOOD (10 worst):
M06478 rms=0.050 x=69.6 y=23.3
M06520 rms=0.025 x=32.8 y=14.2
M02202 rms=0.024 x=59.1 y= 5.2
M02491 rms=0.023 x=48.6 y= 5.1
M01985 rms=0.021 x=205.4 y=131.8
M06523 rms=0.020 x=43.3 y=14.2
M06998 rms=0.020 x=194.9 y=113.8
M06257 rms=0.020 x=48.6 y=23.3
M08052 rms=0.020 x=148.1 y=14.3
M02182 rms=0.020 x=101.1 y= 5.2

BAD:
FLAGGED:
M01639 FLAGS=8 ['INVALID_TABLE']
M06190 FLAGS=5 ['THETA_STUCK', 'FAILED_FIT']
M06469 FLAGS=8 ['INVALID_TABLE']
M06805 FLAGS=16 ['INVALID_AFTER_FILTER']
M06807 FLAGS=8 ['INVALID_TABLE']
M06923 FLAGS=8 ['INVALID_TABLE']
M06925 FLAGS=16 ['INVALID_AFTER_FILTER']
M06926 FLAGS=16 ['INVALID_AFTER_FILTER']
M06928 FLAGS=16 ['INVALID_AFTER_FILTER']
M07112 FLAGS=5 ['THETA_STUCK', 'FAILED_FIT']
M07699 FLAGS=5 ['THETA_STUCK', 'FAILED_FIT']
M08203 FLAGS=16 ['INVALID_AFTER_FILTER']
M08272 FLAGS=16 ['INVALID_AFTER_FILTER']
M08273 FLAGS=16 ['INVALID_AFTER_FILTER']
M08348 FLAGS=5 ['THETA_STUCK', 'FAILED_FIT']

Figure_3 Figure_2 Figure_1

joesilber commented 4 years ago

This looks good to me. To capture for the future, my current thoughts on next steps are: