Package cds.moc
Class HealpixMoc
java.lang.Object
cds.moc.Moc
cds.moc.Moc1D
cds.moc.SMoc
cds.moc.HealpixMoc
- All Implemented Interfaces:
Cloneable,Comparable<Moc>,Iterable<MocCell>
HEALPix Multi Order Coverage Map (MOC)
=> DEPRECATED CLASS => use SMoc instead
THIS CLASS IS ONLY PROVIDED FOR COMPATIBILITY => TAKE THE TIME TO REWRITE YOUR CODE BY USING SMoc
This object provides read, write and process methods to manipulate an HEALPix Multi Order Coverage Map (MOC)
A MOC is used to define a sky region by using HEALPix sky tesselation
-
Field Summary
Fields inherited from class cds.moc.Moc1D
biggestOrder, mocOrder, range, sysFields inherited from class cds.moc.Moc
ASCII, cacheDeepestOrder, cacheHashCode, cacheNbCells, comment, COMPRESS_SINGLETON, CR, FITS, JSON, LOGIC_MAX, LOGIC_MIN, MASK_COMP, MAXSIZE, MAXWORD, property, RAW, unites, UNMASK_COMP, VERSION -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.HEALPix Multi Order Coverage Map (MOC) creationHealpixMoc(int maxLimitOrder) Deprecated.Moc Creation with a specified max limitOrderHealpixMoc(int minLimitOrder, int maxLimitOrder) Deprecated.Moc Creation with a specified min and max limitOrder (by default 0..29)HealpixMoc(SMoc moc) Wrapper => just for helping the portabilityDeprecated.HEALPix Multi Order Coverage Map (MOC) creation and initialisation via a streamHealpixMoc(InputStream in, int mode) Deprecated.HEALPix Multi Order Coverage Map (MOC) creation and initialisation via a stream, either in JSON encoded format , ASCII encoded format or in FITS encoded formatHealpixMoc(String s) Deprecated.HEALPix Multi Order Coverage Map (MOC) creation and initialisationHealpixMoc(String coordSys, int minLimitOrder, int maxLimitOrder) Deprecated.Moc Creation with a specified min and max limitOrder (by default 0..29) -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(HealpixMoc moc) Deprecated.Add directly a full Moc.voidcheck()Deprecated.Check and fix the consistency of the mocvoidDeprecated.Check and fix the consistency of the mocDeprecated.Return the complementdup()Wrapper => just for helping the portabilitylonggetArea()Deprecated.=> see getCoverage() : Return the area of the Moc computed in pixels at the Moc orderintDeprecated.see getMaxLimitOrder()intDeprecated.Provide the limit order supported by the MocintDeprecated.Provide the greatest order really used by the MOCintDeprecated.Provide the minimal limit order supported by the Moc (by default 0)intgetSize()Deprecated.Provide the number of Healpix pixels (for all MOC orders)longDeprecated.=> see getCoverage() : Return the number of pixels of the Moc at the Moc orderintersection(HealpixMoc moc) Deprecated.Return the Intersection with another MocbooleanisAllSky()Deprecated.Return true if the MOC covers the whole skybooleanisInTree(int order, long npix) Deprecated.Fast test for checking if the HEALPix cell is intersectingbooleanisInTree(HealpixMoc moc) Deprecated.Fast test for checking if the parameter MOC is intersectingbooleanisSorted()Deprecated.Return true if all Moc level is sortedvoidsetCheckConsistencyFlag(boolean flag) Deprecated.Set the check consistency flag.voidsetLimitOrder(int limitOrder) Deprecated.see setMaxLimitOrder()voidsetMaxLimitOrder(int limitOrder) Deprecated.Set the limit order supported by the MocvoidsetMinLimitOrder(int limitOrder) Deprecated.Set the Min limit order supported by the Moc (by default 0)voidsort()Deprecated.Sort each level of the Mocsubtraction(HealpixMoc moc) Deprecated.Return the subtraction with another MocvoidDeprecated.Generate the HealpixMoc tree structure from the rangeSetvoidDeprecated.Store the MOC as a RangeSet if not yet doneunion(HealpixMoc moc) Deprecated.Return the Union with another MocMethods inherited from class cds.moc.SMoc
add, add, cDim, clear, clone, clone1, contains, contains, getAngularRes, getMinOrder, getNbCoding, getSpaceSys, intersection, isIncluding, isIntersecting, maxOrder, maxVal, queryDisc, readSpecificData, setMinOrder, setSpaceSys, shiftOrder, sizeOfCoding, subtraction, sys, union, writeSpecificData, writeSpecificFitsPropMethods inherited from class cds.moc.Moc1D
add, add, add, addToken, bufferOff, bufferOn, bufferOn, bufferSize, cellIterator, computeHierarchy, createMocByUniq, createMocByUniqUnsorted, equals, flush, getCoverage, getEnd, getMem, getMocOrder, getNbRanges, getNbValues, getStart, getSys, hashCode, isCompatible, isEmpty, isFull, isIncluding, isIntersecting, lowAscii, operation, readSpecificDataRange, readSpecificDataRange, readSpecificDataUniq, reduction, seeRangeList, setMocOrder, setRangeList, setSys, toDebug, valIterator, writeASCII, writeJSON, writeJSON, writeSpecificDataRangeMethods inherited from class cds.moc.Moc
accretion, add, codeComp, compareTo, compressRange, createMoc, createMoc, decodeComp, difference, getBourrage, getComment, getDeepestOrder, getFitsLine, getFitsLine, getMocOrder4op, getMocOrderLogic, getNbCells, getProperty, getPropertyKeys, getSpaceMoc, getSpaceOrder, getSpaceTimeMoc, getTimeMoc, getTimeOrder, getTimeSys, getUnitDisk, getUnitDisk, hpix2uniq, isCodedComp, isSpace, isTime, iterator, json2ASCII, log2, pow2, read, read, read, readASCII, readFITS, readFully, readFully, readJSON, readLong, resetCache, setMocOrderLogic, setProperty, setProperty, setSpaceOrder, setTimeOrder, setTimeSys, toASCII, toJSON, toString, uncompressRange, uncompressRange, uniq2hpix, uniq2hpix, write, write, write, write, writeASCII, writeASCII, writeASCIIFlush, writeData, writeFITS, writeFITS, writeJSON, writeValMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
HealpixMoc
Wrapper => just for helping the portability -
HealpixMoc
public HealpixMoc()Deprecated.HEALPix Multi Order Coverage Map (MOC) creation -
HealpixMoc
Deprecated.Moc Creation with a specified max limitOrder- Throws:
Exception
-
HealpixMoc
Deprecated.Moc Creation with a specified min and max limitOrder (by default 0..29)- Throws:
Exception
-
HealpixMoc
Deprecated.Moc Creation with a specified min and max limitOrder (by default 0..29)- Throws:
Exception
-
HealpixMoc
Deprecated.HEALPix Multi Order Coverage Map (MOC) creation and initialisation- Throws:
Exception
-
HealpixMoc
Deprecated.HEALPix Multi Order Coverage Map (MOC) creation and initialisation via a stream- Throws:
Exception
-
HealpixMoc
Deprecated.HEALPix Multi Order Coverage Map (MOC) creation and initialisation via a stream, either in JSON encoded format , ASCII encoded format or in FITS encoded format- Throws:
Exception
-
-
Method Details
-
dup
Wrapper => just for helping the portability -
setMinLimitOrder
Deprecated.Set the Min limit order supported by the Moc (by default 0)- Throws:
Exception
-
setMaxLimitOrder
Deprecated.Set the limit order supported by the Moc- Throws:
Exception
-
getMinLimitOrder
public int getMinLimitOrder()Deprecated.Provide the minimal limit order supported by the Moc (by default 0) -
getMaxLimitOrder
public int getMaxLimitOrder()Deprecated.Provide the limit order supported by the Moc -
getLimitOrder
public int getLimitOrder()Deprecated.see getMaxLimitOrder() -
setLimitOrder
Deprecated.see setMaxLimitOrder()- Throws:
Exception
-
getSize
public int getSize()Deprecated.Provide the number of Healpix pixels (for all MOC orders) -
getMaxOrder
public int getMaxOrder()Deprecated.Provide the greatest order really used by the MOC -
setCheckConsistencyFlag
Deprecated.Set the check consistency flag.- Throws:
Exception
-
checkAndFix
Deprecated.Check and fix the consistency of the moc- Throws:
Exception
-
check
Deprecated.Check and fix the consistency of the moc- Throws:
Exception
-
add
Deprecated.Add directly a full Moc.- Throws:
Exception
-
sort
public void sort()Deprecated.Sort each level of the Moc -
isSorted
public boolean isSorted()Deprecated.Return true if all Moc level is sorted -
isInTree
public boolean isInTree(int order, long npix) Deprecated.Fast test for checking if the HEALPix cell is intersecting -
isInTree
Deprecated.Fast test for checking if the parameter MOC is intersecting -
toRangeSet
public void toRangeSet()Deprecated.Store the MOC as a RangeSet if not yet done -
toHealpixMoc
Deprecated.Generate the HealpixMoc tree structure from the rangeSet- Throws:
Exception
-
isAllSky
public boolean isAllSky()Deprecated.Return true if the MOC covers the whole sky -
union
Deprecated.Return the Union with another Moc- Throws:
Exception
-
intersection
Deprecated.Return the Intersection with another Moc- Throws:
Exception
-
subtraction
Deprecated.Return the subtraction with another Moc- Throws:
Exception
-
complement
Deprecated.Return the complementDescription copied from class:SMocReturn the complement- Overrides:
complementin classSMoc- Throws:
Exception
-
getArea
public long getArea()Deprecated.=> see getCoverage() : Return the area of the Moc computed in pixels at the Moc order -
getUsedArea
public long getUsedArea()Deprecated.=> see getCoverage() : Return the number of pixels of the Moc at the Moc order
-