- Timestamp:
- Nov 17, 2015, 1:07:29 PM (11 years ago)
- Location:
- trunk/ippToPsps/jython
- Files:
-
- 3 edited
-
dvo.py (modified) (1 diff)
-
ipptopspsdb.py (modified) (1 diff)
-
skychunk.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/dvo.py
r39148 r39152 704 704 # to grab all detections / objects which are contributed by an 705 705 # item with the center in the given box 706 dR_border = self.skychunk.BORDER / math.cos(math.radians(boxDim['DEC'])) 707 dD_border = self.skychunk.BORDER 708 709 # This is a terrible hack but I'm tired of it taking a decade to ingest the FW skycells. 710 711 #if self.batchType == "ST": 712 # dR_border = .4 / math.cos(math.radians(boxDim['DEC'])) 713 # dD_border = .4 714 #if self.batchType == "FW": 715 # dR_border = .4 / math.cos(math.radians(boxDim['DEC'])) 716 # dD_border = .4 706 707 # P2 and DF need to use a full GPC1 exposure radius: 708 myBorder = self.skychunk.BORDER_GPC1 709 710 # ST and FW need to use just a skycell 711 if self.batchType == "ST" : 712 myBorder = self.skychunk.BORDER_SKYCELL 713 if self.batchType == "FW" : 714 myBorder = self.skychunk.BORDER_SKYCELL 715 716 dR_border = myBorder / math.cos(math.radians(boxDim['DEC'])) 717 dD_border = myBorder 717 718 718 719 minRA = boxDim['minRA'] - dR_border -
trunk/ippToPsps/jython/ipptopspsdb.py
r39008 r39152 1158 1158 1159 1159 self.skychunk.boxSize = rs.getDouble(10) 1160 # self.skychunk.halfBox = self.skychunk.boxSize/2.01161 # self.skychunk.boxSizeWithBorder = self.skychunk.boxSize + (self.skychunk.BORDER * 2)1162 1160 1163 1161 self.skychunk.basePath = rs.getString(11) -
trunk/ippToPsps/jython/skychunk.py
r38763 r39152 39 39 # XXX this is a poor place to put this information -- it is completely gpc-specific. 40 40 # probably should go elsewhere. This number is scaled in loader.py by cos(dec) 41 self.BORDER = 1.65 41 self.BORDER_GPC1 = 1.65 42 self.BORDER_SKYCELL = 0.40 42 43 self.isLoaded = False 43 44
Note:
See TracChangeset
for help on using the changeset viewer.
