Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Table of Contents
stylenone

...

  1. run ATpneumatics_checkout
  2. open dome: auxtel/atdome/open_dome.py
  3. open mirror covers (component: ATPneumatics, cmd: openM1Cover)
  4. enable corrections:
  5. With run command, disable dome following.
  6. run correct pointing (put range for target there)
  7. try to run latiss_wep_align to focus telescope - may not work, may have to do manual focus sweep
  8. NOTE: FIND CORRECT AZ POINTING FOR THE DOME
  9. Find targets of mag 12 +/- 1 at a large range of airmasses/elevations and take images of those without moving dome
    1. take_image_latiss as engtest → with g band in filter wheel, reason is on-sky, probably
  10. stop tracking
  11. point to MOSS and take a series of images there
    1. take_image_latiss

...

Which x and y coordinates do these source_id values correspond to?


Image Added


Plotting our four groups of peaks gives me this, which does look like we are plotting the same shape as the images I have that look like the above. However, maybe it's the COM plotting that is being difficult; when I plot grouping by the positions relative to the COM in x and y (as the pairwise distances function does), I get weird chunks in my groupings that don't conform to the expected peak positions. (third image is to illustrate that we have the proper shape by making the x and y scales even, although it's upside down)

Why would the center of mass function be splitting up these groups? The code for the COM groups is:

...

It is applied to the dataframe, and then new columns are added relating to COM. I think it must be the .mean() call from the calculate_com function, because the other major operation is just subtraction and should not throw relative spacing off (should just shift it). This comes into play in our differential_motion_analysis code because the pairwise distances calculates distance using the COM values!


Writing a new function nonCOM_pairwise_distances to see if this is truly the problem


Image Added


New function does not seem to have changed anything even though I wrote in that the 'centroid_x' and 'centroid_y' columns should be used as opposed to the COM columns.


Think it is swapping the peak id of two values, so I need to re-sort them in the dataframe (add a new column of source id!).