IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Initial Version and Version 1 of BillsSas39BatchesNotes


Ignore:
Timestamp:
Aug 14, 2015, 12:08:05 PM (11 years ago)
Author:
bills
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BillsSas39BatchesNotes

    v1 v1  
     1Bill looked at a sample of the IPP to PSPS batches posted on the data store. Below are some notes on some things that I noticed.
     2{{{
     3Comments on the various batch samples examined. I looked for -999 valued columns, zero valued columns that
     4look suspicous and things like that.
     5
     6Note: In the comments below a leading x in column name means that comment applies to columns for all
     7filters in grizy.  For example xQFPerfect.
     8
     9PSPS_SAS39_OB "Object Batch"
     10-----------------------------
     11
     12Looks like these batches contain the data for the table MeanObject.
     13
     14xQFPerfect is always -999  Do these columns make sense for an average object?
     15Seems like this column is a detection level thing. Maybe an average would be useful?
     16
     17
     18PSPS_SAS39_P2 "P2 Batch"
     19------------------------------
     20This contains the data for an individual exposure.
     21
     22Extensions
     23FrameMeta, 60 * (ImageMeta, Detection)
     24
     25FrameMeta: 1 row
     26-999 columns:
     27p1Recip, p2Recip, p3Recip
     28
     29ImageMeta: 1 row
     30-999 columns:
     31
     32  psfModelID
     33    In IPP speak this whould be "3" which is the value for PS_MODEL_PS1_V1 which is listed in the cmf header.
     34    Here I suppose it should be in psps space.  There is no corresponding value in the FitModel table.
     35    Is the intent that it should be PS_MODEL_PSF (1) but.  That doesn't allow for the possibility
     36    for using a different PSF model type in future releases.
     37  detrend4-8
     38    I think that there are a couple of other detrend types that are used in the processing could be saved
     39    here if those would be interesting.
     40
     410 valued columns
     42  should DataRelease be 0? Definitely not in PV3 I think.
     43  calibModNum. Maybe we should start with 1 instead of 0 for first calibration?
     44
     45Detection: many rows of course
     46-999 columns: None
     470 valued columns: dataRelease
     48
     49
     50PSPS_SAS39_DF "Diff Batch"
     51------------------------------
     52Extensions: Primary Array, NSkycells * (DiffMeta, DiffToImage, DiffDetection)
     53
     54These 2 items are more of a comment on the schema. Or perhaps I am missing something important.
     55Where is the ipp diff_id ?
     56
     57Looks like the diffs for SAS 39 were type 2: warp-stack
     58
     59DiffMeta
     60It looks like the diffMeta has ImageIDs for the positive and negative images. But PSPS ImageIDs are for chips.
     61Diff inputs are for skycells so there is a many to one problem.
     62
     63What are posImageID and negImageID ?
     64
     65NEEDS REVIEW:
     66Ok it looks like posImageID is the warp_id for the diffRun and negImageID looks like it's trying to be
     67the stack_id of the template.
     68
     69However the skycell_ids aren't SAS. They seem to pv2 stacks (which were recently set to be cleaned).
     70Or maybe I'm lost.
     71
     72DiffToImage
     73Perhaps this table resolves the issue. It looks like all of these DiffToImage tables are the same. It gives a list
     74of the input ImageMetas.
     75
     76Detection
     77-999 columns. There are several. Perhaps they are things that aren't measured for diffs. Needs more study.
     78
     79
     80PSPS_SAS39_DO "Diff Object Batch"
     81---------------------------------
     82Extensions: Primary Array, DiffDetObject
     83
     84I don't know what a diff object is?
     85Diff detections matched to each other from different diffRuns? Looks like it. Must be created in DVO.
     86No attempted match to PSPS objects? Sounds compute intensive I guess.
     87
     88-999 columns:
     89htmID zoneID cx,cy,cz lamda, beta, l, b, xQfPerfect
     90
     91
     92PSPS_SAS39_ST "Stack Batch" one per skycell
     93-------------------------------------------
     94Extensions
     95----------
     965 StackMeta (5 filters)
     97StackObjectThin
     98StackObjectAttributes
     99And "the various other stack tables: model fits, aperture fluxes, etc"
     100StackToImage: list of images that went into the stack. (Bill, recall ImageID == exp_id * 100 + (int) class_id)
     101
     102StackMeta
     103Description of each stack (stackMetaID == stackRun.stack_id)
     104-999 columns: magSat, competMag, astroScat, photoScat, nAstro, nPhoRef, calibModNum
     105
     106StackObjectThin Magnitudes only. No fluxes
     107-999 columns:
     108  stackDetectRowID: which of 5 possible stack detections this row refers to. Up to 3 secondary, 1 best.
     109  I think I heard that there were problems setting the primary flag in SAS 39.
     110
     1110 valued columns:
     112    primary
     113    bestDetection
     114    xInfoFlag2 !!!!!!!!!!! Stack detections very hard to use without this flag!
     115
     116StackObjectAttributes  Fluxes only (in janskys) no magnitudes.
     117    Has the detection attributes, but not the flags.
     118
     119StackModelFitExtra
     120    galaxy parameters
     121
     122StackModelFitExp, DeV, Ser
     123    model fit data
     124
     125StackPetrosian
     126    petrosian extension stuff
     127
     128StackApFlux
     129    results for aperture flux measurements for radius 5, 6, and 7 for the 3 images
     130    Looks like a choice of the "best" stack for each object.
     131
     132StackApFlxExGalUnc,Con6, Con8
     133    This has all of the app flux radii measurements. Other radii. Non best stacks. (what did I mean here?)
     134--------------------------------------------------------------------------------------------------
     135PSPS_SAS_39_FO "Forced object"
     136
     137ForcedMeanObject
     138-999 columns:
     139xGamma
     140
     141Forced MeanLensing
     142xpsfE1 xpsfE2   are -999
     143There is no columns gpsfE1 or gpsfE2 Is this intentional?
     144
     145--------------------------------------------------------------------------------------------------
     146PSPS_SAS_39_FW "Forced object"
     147Batches are by skycell/filter and thus by fullForceRun
     148
     149Extensions:
     150ForcedWarpMeta
     151--------------
     152skycellID has format 1405.07. For consistency with the rest of the schema it should probably be 2 columns
     153projectionCell and skycellID
     154
     155
     156-999 columns
     157photoCalID analVer astroScat photoScat nAstro nPoRef
     158
     1590 valued columns
     160magSat
     161completMag
     162
     163
     164ForcedWarpMeasurement
     165---------------------
     166
     167-999 columns
     168psfLikelihood
     169
     170ForcedWarpExtended
     171---------------------
     172No comments
     173ForcedWarpLensing
     174---------------------
     175No comments
     176
     177ForcedWarpToImage
     178-----------------
     179what is forcedWarpID ? It doesn't seem to be an ff_id
     180imageID is a pointer to the input's ImageMetas (IPP's chipProcessedImfile)
     181My comments above on the diff's tables may apply although here I did not see anything that specifies the warp.
     182
     183Here psModelID is a string PS_MODEL_PS1_V1
     184
     185
     186
     187
     188
     189}}}