IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 19, 2013, 4:31:05 PM (13 years ago)
Author:
eugene
Message:

merge changes from eam_branches/ipp-20130307 : parallelize dvosecfilt, use dvo_average,measure,secfilt_init functions more broadly; move image calibration to relphot_images; add synthetic photometry referece (w-band); put relphot MARKTIME & INITTIME in macros; in dvo_clients, mextract fields which need image data use a subset image metadata table (instead of loading full Images.dat table); create FIELD and MOSAIC fields for mextract; somewhat better rules for photcode:ave & similar selections in mextract; add hpm_* concept in relastro (high-speed proper motions); fix precision errors in dvopsps; check for dvopsps exit conditions; error-bar clipping to limits of plotting window; parallelize delstar -dup-images; do NOT delete parents (because parent IDs are broken after dvomerge); minor handshake when setting up KAPA connection; avextract and related do not need to launch remote jobs on all clients if region does not include tables from all hosts; add fitplx and xsection functions to mana; enable addstar of diff cmfs (at least PS1_DV3)

Location:
trunk/Ohana
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana

  • trunk/Ohana/src/kapa2/src/bDrawObjects.c

    r32346 r35416  
    578578  bar = object[0].ebar; sz = object[0].size*graph[0].axis[1].dfy*0.03;
    579579   
     580  double X0 = graph[0].axis[0].fx;
     581  double X1 = graph[0].axis[0].fx + graph[0].axis[0].dfx;
     582  double Y0 = graph[0].axis[1].fy;
     583  double Y1 = graph[0].axis[1].fy + graph[0].axis[1].dfy;
     584
    580585  for (i = 0; i < object[0].Npts; i++) {
    581586    if (!(finite(x[i]) && finite(y[i]) && finite(dxp[i]))) continue;
     
    589594         (sy1 < graph[0].axis[1].fy) && (sy1 > graph[0].axis[1].fy + graph[0].axis[1].dfy)))
    590595    {
    591       DrawLine (buffer, sx0, sy0, sx1, sy1);
     596      bDrawClipLine (buffer, sx0, sy0, sx1, sy1, X0, Y0, X1, Y1);
     597      //   DrawLine (buffer, sx0, sy0, sx1, sy1);
    592598      if (bar) {
    593599        sx10 = sy1 - sz;
    594600        sx11 = sy1 + sz;
    595         DrawLine (buffer, sx1, sx10, sx1, sx11);
     601        bDrawClipLine (buffer, sx1, sx10, sx1, sx11, X0, Y0, X1, Y1);
     602        //   DrawLine (buffer, sx1, sx10, sx1, sx11);
    596603      }
    597604    }
     
    606613         (sy1 < graph[0].axis[1].fy) && (sy1 > graph[0].axis[1].fy + graph[0].axis[1].dfy)))
    607614    {
    608       DrawLine (buffer, sx0, sy0, sx1, sy1);
     615      bDrawClipLine (buffer, sx0, sy0, sx1, sy1, X0, Y0, X1, Y1);
     616      //   DrawLine (buffer, sx0, sy0, sx1, sy1);
    609617      if (bar) {
    610618        sx10 = sy1 - sz;
    611619        sx11 = sy1 + sz;
    612         DrawLine (buffer, sx1, sx10, sx1, sx11);
     620        bDrawClipLine (buffer, sx1, sx10, sx1, sx11, X0, Y0, X1, Y1);
     621        //   DrawLine (buffer, sx1, sx10, sx1, sx11);
    613622      }
    614623    }
     
    640649  bar = object[0].ebar; sz = object[0].size*graph[0].axis[0].dfx*0.03;
    641650 
     651  double X0 = graph[0].axis[0].fx;
     652  double X1 = graph[0].axis[0].fx + graph[0].axis[0].dfx;
     653  double Y0 = graph[0].axis[1].fy;
     654  double Y1 = graph[0].axis[1].fy + graph[0].axis[1].dfy;
     655
    642656  for (i = 0; i < object[0].Npts; i++) {
    643657    if (!(finite(x[i]) && finite(y[i]) && finite(dyp[i]))) continue;
     
    651665         (sy1 < graph[0].axis[1].fy) && (sy1 > graph[0].axis[1].fy + graph[0].axis[1].dfy)))
    652666    {
    653       DrawLine (buffer, sx0, sy0, sx1, sy1);
     667      bDrawClipLine (buffer, sx0, sy0, sx1, sy1, X0, Y0, X1, Y1);
     668      //   DrawLine (buffer, sx0, sy0, sx1, sy1);
    654669      if (bar) {
    655670        sx10 = sx1 - sz;
    656671        sx11 = sx1 + sz;
    657         DrawLine (buffer, sx10, sy1, sx11, sy1);
     672        bDrawClipLine (buffer, sx10, sy1, sx11, sy1, X0, Y0, X1, Y1);
     673        //   DrawLine (buffer, sx10, sy1, sx11, sy1);
    658674      }
    659675    }
     
    668684         (sy1 < graph[0].axis[1].fy) && (sy1 > graph[0].axis[1].fy + graph[0].axis[1].dfy)))
    669685    {
    670       DrawLine (buffer, sx0, sy0, sx1, sy1);
     686      bDrawClipLine (buffer, sx0, sy0, sx1, sy1, X0, Y0, X1, Y1);
     687      //   DrawLine (buffer, sx0, sy0, sx1, sy1);
    671688      if (bar) {
    672689        sx10 = sx1 - sz;
    673690        sx11 = sx1 + sz;
    674         DrawLine (buffer, sx10, sy1, sx11, sy1);
     691        bDrawClipLine (buffer, sx10, sy1, sx11, sy1, X0, Y0, X1, Y1);
     692        //   DrawLine (buffer, sx10, sy1, sx11, sy1);
    675693      }
    676694    }
Note: See TracChangeset for help on using the changeset viewer.