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