Public Member Functions | |
def | __init__ |
def | convertfreq |
def | convertdop |
def | quantity |
def | getvalue |
def | getunit |
def | canonical |
def | canon |
def | convert |
def | define |
def | map |
def | maprec |
def | fits |
def | angle |
def | time |
def | add |
def | sub |
def | mul |
def | div |
def | neg |
def | norm |
def | le |
def | lt |
def | eq |
def | ne |
def | gt |
def | ge |
def | sin |
def | cos |
def | tan |
def | asin |
def | acos |
def | atan |
def | atan2 |
def | abs |
def | ceil |
def | floor |
def | log |
def | log10 |
def | exp |
def | sqrt |
def | compare |
def | check |
def | checkfreq |
def | pow |
def | constants |
def | isangle |
def | totime |
def | toangle |
def | splitdate |
def | tos |
def | type |
def | done |
def | unit |
def | isquantity |
def | setformat |
def | getformat |
def | formxxx |
Public Attributes | |
this | |
Static Private Attributes | |
dictionary | __swig_setmethods__ |
tuple | __setattr__ |
dictionary | __swig_getmethods__ |
tuple | __getattr__ |
__repr__ | |
__swig_destroy__ | |
__del__ |
def __casac__.quanta.quanta.__init__ | ( | self | ) |
def __casac__.quanta.quanta.abs | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.acos | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.add | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.angle | ( | self, | |
args, | |||
kwargs | |||
) |
angle(self, v, prec=0, form=std::vector< string >(1, ""), showform=False) -> std::vector< std::string > Summary show an angle as a formatted string Input Parameters: v angle quantity value to output prec number of digits shown 0 form formatting information in coded string array showform show square brackets and separating , false --------------------------------------------------------------------------------
def __casac__.quanta.quanta.asin | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.atan | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.atan2 | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.canon | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.canonical | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.ceil | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.check | ( | self, | |
args, | |||
kwargs | |||
) |
check(self, v) -> bool Summary check for proper unit string Input Parameters: v value --------------------------------------------------------------------------------
Definition at line 721 of file quanta.py.
Referenced by tests.test_sdgrid.sdgrid_flagging._testresult(), tests.test_sdgrid.sdgrid_single_integ.test100(), tests.test_sdgrid.sdgrid_single_integ.test101(), tests.test_sdgrid.sdgrid_single_integ.test102(), tests.test_sdgrid.sdgrid_single_integ.test103(), tests.test_sdgrid.sdgrid_clipping.test200(), tests.test_sdgrid.sdgrid_weighting.test400(), tests.test_sdgrid.sdgrid_weighting.test401(), tests.test_sdgrid.sdgrid_weighting.test402(), tests.test_sdgrid.sdgrid_weighting.test403(), tests.test_sdgrid.sdgrid_map.test500(), tests.test_sdgrid.sdgrid_map.test501(), tests.test_sdgrid.sdgrid_map.test502(), and tests.test_sdgrid.sdgrid_map.test503().
def __casac__.quanta.quanta.checkfreq | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.compare | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.constants | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.convert | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.convertdop | ( | self, | |
args, | |||
kwargs | |||
) |
convertdop(self, v=initialize_variant("0.0"), outunit=string("km/s")) -> record * Summary convert a doppler velocity quantity to another unit Input Parameters: v quantity to convert 0.0 outunit unit to convert to km/s --------------------------------------------------------------------------------
def __casac__.quanta.quanta.convertfreq | ( | self, | |
args, | |||
kwargs | |||
) |
convertfreq(self, v=initialize_variant("1.0"), outunit=string("Hz")) -> record * Summary convert a frequency quantity to another unit Input Parameters: v quantity to convert 1.0 outunit unit to convert to Hz --------------------------------------------------------------------------------
def __casac__.quanta.quanta.cos | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.define | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.div | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.done | ( | self, | |
kill = False |
|||
) |
done(self, kill=False) -> bool Summary Free resources used by tool. Current implementation ignores input parameter, does nothing and returns true Input Parameters: kill force kill of the default tool (ignored) false --------------------------------------------------------------------------------
def __casac__.quanta.quanta.eq | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.exp | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.fits | ( | self | ) |
def __casac__.quanta.quanta.floor | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.formxxx | ( | self, | |
args, | |||
kwargs | |||
) |
formxxx(self, v, format=string("dms"), prec=2) -> string Summary Format a quantity using given format, allowed are hms, dms, deg, rad, +deg. Input Parameters: v value to be converted format xxx can be hms, dms, deg, rad or +deg dms prec # digits in fractional part of output string for dms,hms 2 --------------------------------------------------------------------------------
def __casac__.quanta.quanta.ge | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.getformat | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.getunit | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.getvalue | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.gt | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.isangle | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.isquantity | ( | self, | |
args, | |||
kwargs | |||
) |
isquantity(self, v) -> bool Summary Check if quantity Input Parameters: v value to be tested --------------------------------------------------------------------------------
Definition at line 901 of file quanta.py.
Referenced by simutil.simutil.calc_pointings2(), simutil.simutil.modifymodel(), and simutil.simutil.sensitivity().
def __casac__.quanta.quanta.le | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.log | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.log10 | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.lt | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.map | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.maprec | ( | self, | |
args, | |||
kwargs | |||
) |
maprec(self, v=string("all")) -> record * Summary create record containing list of known unit names and constants Input Parameters: v type of information to list - coded string all --------------------------------------------------------------------------------
def __casac__.quanta.quanta.mul | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.ne | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.neg | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.norm | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.pow | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.quantity | ( | self, | |
args, | |||
kwargs | |||
) |
quantity(self, v, unitname=string("")) -> record * Summary make a quantity from a string or from a numeric value and a unit string Input Parameters: v quantity or numeric or string to convert to quantity unitname unit string if v numeric --------------------------------------------------------------------------------
def __casac__.quanta.quanta.setformat | ( | self, | |
args, | |||
kwargs | |||
) |
setformat(self, t=string(""), v=string("F")) -> bool Summary set format for output of numbers. (NOT IMPLEMENTED YET!) Input Parameters: t type -coded string indicating which format parameter to set v format parameter value - numeric or coded string, depending on format type to be set F --------------------------------------------------------------------------------
def __casac__.quanta.quanta.sin | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.splitdate | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.sqrt | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.sub | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.tan | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.time | ( | self, | |
args, | |||
kwargs | |||
) |
time(self, v, prec=0, form=std::vector< string >(1, ""), showform=False) -> std::vector< std::string > Summary show a time (or date) as a formatted string Input Parameters: v time quantity value to output prec number of digits shown 0 form formatting information in coded string array showform show square brackets and separating , false --------------------------------------------------------------------------------
def __casac__.quanta.quanta.toangle | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.tos | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.totime | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.quanta.quanta.type | ( | self | ) |
def __casac__.quanta.quanta.unit | ( | self, | |
args, | |||
kwargs | |||
) |
__casac__.quanta.quanta.__del__ [static, private] |
tuple __casac__.quanta.quanta.__getattr__ [static, private] |
__casac__.quanta.quanta.__repr__ [static, private] |
tuple __casac__.quanta.quanta.__setattr__ [static, private] |
__casac__.quanta.quanta.__swig_destroy__ [static, private] |
dictionary __casac__.quanta.quanta.__swig_getmethods__ [static, private] |
dictionary __casac__.quanta.quanta.__swig_setmethods__ [static, private] |