id
int32
0
252k
repo
stringlengths
7
55
path
stringlengths
4
127
func_name
stringlengths
1
88
original_string
stringlengths
75
19.8k
language
stringclasses
1 value
code
stringlengths
75
19.8k
code_tokens
list
docstring
stringlengths
3
17.3k
docstring_tokens
list
sha
stringlengths
40
40
url
stringlengths
87
242
14,700
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
ekifld
def ekifld(handle, tabnam, ncols, nrows, cnmlen, cnames, declen, decls): """ Initialize a new E-kernel segment to allow fast writing. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekifld_c.html :param handle: File handle. :type handle: int :param tabnam: Table name. :type tabnam:...
python
def ekifld(handle, tabnam, ncols, nrows, cnmlen, cnames, declen, decls): """ Initialize a new E-kernel segment to allow fast writing. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekifld_c.html :param handle: File handle. :type handle: int :param tabnam: Table name. :type tabnam:...
[ "def", "ekifld", "(", "handle", ",", "tabnam", ",", "ncols", ",", "nrows", ",", "cnmlen", ",", "cnames", ",", "declen", ",", "decls", ")", ":", "handle", "=", "ctypes", ".", "c_int", "(", "handle", ")", "tabnam", "=", "stypes", ".", "stringToCharP", ...
Initialize a new E-kernel segment to allow fast writing. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekifld_c.html :param handle: File handle. :type handle: int :param tabnam: Table name. :type tabnam: str :param ncols: Number of columns in the segment. :type ncols: int :pa...
[ "Initialize", "a", "new", "E", "-", "kernel", "segment", "to", "allow", "fast", "writing", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4182-L4219
14,701
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
ekinsr
def ekinsr(handle, segno, recno): """ Add a new, empty record to a specified E-kernel segment at a specified index. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekinsr_c.html :param handle: File handle. :type handle: int :param segno: Segment number. :type segno: int :pa...
python
def ekinsr(handle, segno, recno): """ Add a new, empty record to a specified E-kernel segment at a specified index. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekinsr_c.html :param handle: File handle. :type handle: int :param segno: Segment number. :type segno: int :pa...
[ "def", "ekinsr", "(", "handle", ",", "segno", ",", "recno", ")", ":", "handle", "=", "ctypes", ".", "c_int", "(", "handle", ")", "segno", "=", "ctypes", ".", "c_int", "(", "segno", ")", "recno", "=", "ctypes", ".", "c_int", "(", "recno", ")", "libs...
Add a new, empty record to a specified E-kernel segment at a specified index. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekinsr_c.html :param handle: File handle. :type handle: int :param segno: Segment number. :type segno: int :param recno: Record number. :type recno: int
[ "Add", "a", "new", "empty", "record", "to", "a", "specified", "E", "-", "kernel", "segment", "at", "a", "specified", "index", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4223-L4240
14,702
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
eklef
def eklef(fname): """ Load an EK file, making it accessible to the EK readers. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/eklef_c.html :param fname: Name of EK file to load. :type fname: str :return: File handle of loaded EK file. :rtype: int """ fname = stypes.stringT...
python
def eklef(fname): """ Load an EK file, making it accessible to the EK readers. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/eklef_c.html :param fname: Name of EK file to load. :type fname: str :return: File handle of loaded EK file. :rtype: int """ fname = stypes.stringT...
[ "def", "eklef", "(", "fname", ")", ":", "fname", "=", "stypes", ".", "stringToCharP", "(", "fname", ")", "handle", "=", "ctypes", ".", "c_int", "(", ")", "libspice", ".", "eklef_c", "(", "fname", ",", "ctypes", ".", "byref", "(", "handle", ")", ")", ...
Load an EK file, making it accessible to the EK readers. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/eklef_c.html :param fname: Name of EK file to load. :type fname: str :return: File handle of loaded EK file. :rtype: int
[ "Load", "an", "EK", "file", "making", "it", "accessible", "to", "the", "EK", "readers", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4244-L4258
14,703
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
eknelt
def eknelt(selidx, row): """ Return the number of elements in a specified column entry in the current row. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/eknelt_c.html :param selidx: Index of parent column in SELECT clause. :type selidx: int :param row: Row containing element. ...
python
def eknelt(selidx, row): """ Return the number of elements in a specified column entry in the current row. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/eknelt_c.html :param selidx: Index of parent column in SELECT clause. :type selidx: int :param row: Row containing element. ...
[ "def", "eknelt", "(", "selidx", ",", "row", ")", ":", "selidx", "=", "ctypes", ".", "c_int", "(", "selidx", ")", "row", "=", "ctypes", ".", "c_int", "(", "row", ")", "return", "libspice", ".", "eknelt_c", "(", "selidx", ",", "row", ")" ]
Return the number of elements in a specified column entry in the current row. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/eknelt_c.html :param selidx: Index of parent column in SELECT clause. :type selidx: int :param row: Row containing element. :type row: int :return: The numb...
[ "Return", "the", "number", "of", "elements", "in", "a", "specified", "column", "entry", "in", "the", "current", "row", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4262-L4278
14,704
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
ekntab
def ekntab(): """ Return the number of loaded EK tables. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekntab_c.html :return: The number of loaded EK tables. :rtype: int """ n = ctypes.c_int(0) libspice.ekntab_c(ctypes.byref(n)) return n.value
python
def ekntab(): """ Return the number of loaded EK tables. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekntab_c.html :return: The number of loaded EK tables. :rtype: int """ n = ctypes.c_int(0) libspice.ekntab_c(ctypes.byref(n)) return n.value
[ "def", "ekntab", "(", ")", ":", "n", "=", "ctypes", ".", "c_int", "(", "0", ")", "libspice", ".", "ekntab_c", "(", "ctypes", ".", "byref", "(", "n", ")", ")", "return", "n", ".", "value" ]
Return the number of loaded EK tables. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekntab_c.html :return: The number of loaded EK tables. :rtype: int
[ "Return", "the", "number", "of", "loaded", "EK", "tables", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4298-L4309
14,705
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
ekopn
def ekopn(fname, ifname, ncomch): """ Open a new E-kernel file and prepare the file for writing. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekopn_c.html :param fname: Name of EK file. :type fname: str :param ifname: Internal file name. :type ifname: str :param ncomch: The ...
python
def ekopn(fname, ifname, ncomch): """ Open a new E-kernel file and prepare the file for writing. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekopn_c.html :param fname: Name of EK file. :type fname: str :param ifname: Internal file name. :type ifname: str :param ncomch: The ...
[ "def", "ekopn", "(", "fname", ",", "ifname", ",", "ncomch", ")", ":", "fname", "=", "stypes", ".", "stringToCharP", "(", "fname", ")", "ifname", "=", "stypes", ".", "stringToCharP", "(", "ifname", ")", "ncomch", "=", "ctypes", ".", "c_int", "(", "ncomc...
Open a new E-kernel file and prepare the file for writing. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekopn_c.html :param fname: Name of EK file. :type fname: str :param ifname: Internal file name. :type ifname: str :param ncomch: The number of characters to reserve for comments. ...
[ "Open", "a", "new", "E", "-", "kernel", "file", "and", "prepare", "the", "file", "for", "writing", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4313-L4333
14,706
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
ekopr
def ekopr(fname): """ Open an existing E-kernel file for reading. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekopr_c.html :param fname: Name of EK file. :type fname: str :return: Handle attached to EK file. :rtype: int """ fname = stypes.stringToCharP(fname) handle...
python
def ekopr(fname): """ Open an existing E-kernel file for reading. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekopr_c.html :param fname: Name of EK file. :type fname: str :return: Handle attached to EK file. :rtype: int """ fname = stypes.stringToCharP(fname) handle...
[ "def", "ekopr", "(", "fname", ")", ":", "fname", "=", "stypes", ".", "stringToCharP", "(", "fname", ")", "handle", "=", "ctypes", ".", "c_int", "(", ")", "libspice", ".", "ekopr_c", "(", "fname", ",", "ctypes", ".", "byref", "(", "handle", ")", ")", ...
Open an existing E-kernel file for reading. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekopr_c.html :param fname: Name of EK file. :type fname: str :return: Handle attached to EK file. :rtype: int
[ "Open", "an", "existing", "E", "-", "kernel", "file", "for", "reading", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4337-L4351
14,707
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
ekopw
def ekopw(fname): """ Open an existing E-kernel file for writing. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekopw_c.html :param fname: Name of EK file. :type fname: str :return: Handle attached to EK file. :rtype: int """ fname = stypes.stringToCharP(fname) handle...
python
def ekopw(fname): """ Open an existing E-kernel file for writing. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekopw_c.html :param fname: Name of EK file. :type fname: str :return: Handle attached to EK file. :rtype: int """ fname = stypes.stringToCharP(fname) handle...
[ "def", "ekopw", "(", "fname", ")", ":", "fname", "=", "stypes", ".", "stringToCharP", "(", "fname", ")", "handle", "=", "ctypes", ".", "c_int", "(", ")", "libspice", ".", "ekopw_c", "(", "fname", ",", "ctypes", ".", "byref", "(", "handle", ")", ")", ...
Open an existing E-kernel file for writing. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekopw_c.html :param fname: Name of EK file. :type fname: str :return: Handle attached to EK file. :rtype: int
[ "Open", "an", "existing", "E", "-", "kernel", "file", "for", "writing", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4371-L4385
14,708
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
ekpsel
def ekpsel(query, msglen, tablen, collen): """ Parse the SELECT clause of an EK query, returning full particulars concerning each selected item. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekpsel_c.html note: oddly docs at url are incomplete/incorrect. :param query: EK query. :...
python
def ekpsel(query, msglen, tablen, collen): """ Parse the SELECT clause of an EK query, returning full particulars concerning each selected item. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekpsel_c.html note: oddly docs at url are incomplete/incorrect. :param query: EK query. :...
[ "def", "ekpsel", "(", "query", ",", "msglen", ",", "tablen", ",", "collen", ")", ":", "query", "=", "stypes", ".", "stringToCharP", "(", "query", ")", "msglen", "=", "ctypes", ".", "c_int", "(", "msglen", ")", "tablen", "=", "ctypes", ".", "c_int", "...
Parse the SELECT clause of an EK query, returning full particulars concerning each selected item. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekpsel_c.html note: oddly docs at url are incomplete/incorrect. :param query: EK query. :type query: str :param msglen: Available space in t...
[ "Parse", "the", "SELECT", "clause", "of", "an", "EK", "query", "returning", "full", "particulars", "concerning", "each", "selected", "item", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4389-L4440
14,709
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
ekrcec
def ekrcec(handle, segno, recno, column, lenout, nelts=_SPICE_EK_EKRCEX_ROOM_DEFAULT): """ Read data from a character column in a specified EK record. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekrcec_c.html :param handle: Handle attached to EK file. :type handle: int :param segno...
python
def ekrcec(handle, segno, recno, column, lenout, nelts=_SPICE_EK_EKRCEX_ROOM_DEFAULT): """ Read data from a character column in a specified EK record. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekrcec_c.html :param handle: Handle attached to EK file. :type handle: int :param segno...
[ "def", "ekrcec", "(", "handle", ",", "segno", ",", "recno", ",", "column", ",", "lenout", ",", "nelts", "=", "_SPICE_EK_EKRCEX_ROOM_DEFAULT", ")", ":", "handle", "=", "ctypes", ".", "c_int", "(", "handle", ")", "segno", "=", "ctypes", ".", "c_int", "(", ...
Read data from a character column in a specified EK record. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekrcec_c.html :param handle: Handle attached to EK file. :type handle: int :param segno: Index of segment containing record. :type segno: int :param recno: Record from which data...
[ "Read", "data", "from", "a", "character", "column", "in", "a", "specified", "EK", "record", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4444-L4478
14,710
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
ekrced
def ekrced(handle, segno, recno, column, nelts=_SPICE_EK_EKRCEX_ROOM_DEFAULT): """ Read data from a double precision column in a specified EK record. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekrced_c.html :param handle: Handle attached to EK file. :type handle: int :param segno:...
python
def ekrced(handle, segno, recno, column, nelts=_SPICE_EK_EKRCEX_ROOM_DEFAULT): """ Read data from a double precision column in a specified EK record. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekrced_c.html :param handle: Handle attached to EK file. :type handle: int :param segno:...
[ "def", "ekrced", "(", "handle", ",", "segno", ",", "recno", ",", "column", ",", "nelts", "=", "_SPICE_EK_EKRCEX_ROOM_DEFAULT", ")", ":", "handle", "=", "ctypes", ".", "c_int", "(", "handle", ")", "segno", "=", "ctypes", ".", "c_int", "(", "segno", ")", ...
Read data from a double precision column in a specified EK record. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekrced_c.html :param handle: Handle attached to EK file. :type handle: int :param segno: Index of segment containing record. :type segno: int :param recno: Record from whi...
[ "Read", "data", "from", "a", "double", "precision", "column", "in", "a", "specified", "EK", "record", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4482-L4512
14,711
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
ekrcei
def ekrcei(handle, segno, recno, column, nelts=_SPICE_EK_EKRCEX_ROOM_DEFAULT): """ Read data from an integer column in a specified EK record. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekrcei_c.html :param handle: Handle attached to EK file. :type handle: int :param segno: Index o...
python
def ekrcei(handle, segno, recno, column, nelts=_SPICE_EK_EKRCEX_ROOM_DEFAULT): """ Read data from an integer column in a specified EK record. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekrcei_c.html :param handle: Handle attached to EK file. :type handle: int :param segno: Index o...
[ "def", "ekrcei", "(", "handle", ",", "segno", ",", "recno", ",", "column", ",", "nelts", "=", "_SPICE_EK_EKRCEX_ROOM_DEFAULT", ")", ":", "handle", "=", "ctypes", ".", "c_int", "(", "handle", ")", "segno", "=", "ctypes", ".", "c_int", "(", "segno", ")", ...
Read data from an integer column in a specified EK record. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekrcei_c.html :param handle: Handle attached to EK file. :type handle: int :param segno: Index of segment containing record. :type segno: int :param recno: Record from which data ...
[ "Read", "data", "from", "an", "integer", "column", "in", "a", "specified", "EK", "record", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4516-L4546
14,712
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
ekssum
def ekssum(handle, segno): """ Return summary information for a specified segment in a specified EK. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekssum_c.html :param handle: Handle of EK. :type handle: int :param segno: Number of segment to be summarized. :type segno: int :...
python
def ekssum(handle, segno): """ Return summary information for a specified segment in a specified EK. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekssum_c.html :param handle: Handle of EK. :type handle: int :param segno: Number of segment to be summarized. :type segno: int :...
[ "def", "ekssum", "(", "handle", ",", "segno", ")", ":", "handle", "=", "ctypes", ".", "c_int", "(", "handle", ")", "segno", "=", "ctypes", ".", "c_int", "(", "segno", ")", "segsum", "=", "stypes", ".", "SpiceEKSegSum", "(", ")", "libspice", ".", "eks...
Return summary information for a specified segment in a specified EK. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekssum_c.html :param handle: Handle of EK. :type handle: int :param segno: Number of segment to be summarized. :type segno: int :return: EK segment summary. :rtype:...
[ "Return", "summary", "information", "for", "a", "specified", "segment", "in", "a", "specified", "EK", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4550-L4567
14,713
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
ektnam
def ektnam(n, lenout=_default_len_out): """ Return the name of a specified, loaded table. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ektnam_c.html :param n: Index of table. :type n: int :param lenout: Maximum table name length. :type lenout: int :return: Name of table. ...
python
def ektnam(n, lenout=_default_len_out): """ Return the name of a specified, loaded table. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ektnam_c.html :param n: Index of table. :type n: int :param lenout: Maximum table name length. :type lenout: int :return: Name of table. ...
[ "def", "ektnam", "(", "n", ",", "lenout", "=", "_default_len_out", ")", ":", "n", "=", "ctypes", ".", "c_int", "(", "n", ")", "lenout", "=", "ctypes", ".", "c_int", "(", "lenout", ")", "table", "=", "stypes", ".", "stringToCharP", "(", "lenout", ")",...
Return the name of a specified, loaded table. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ektnam_c.html :param n: Index of table. :type n: int :param lenout: Maximum table name length. :type lenout: int :return: Name of table. :rtype: str
[ "Return", "the", "name", "of", "a", "specified", "loaded", "table", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4571-L4588
14,714
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
ekucec
def ekucec(handle, segno, recno, column, nvals, cvals, isnull): """ Update a character column entry in a specified EK record. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekucec_c.html :param handle: EK file handle. :type handle: int :param segno: Index of segment containing record....
python
def ekucec(handle, segno, recno, column, nvals, cvals, isnull): """ Update a character column entry in a specified EK record. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekucec_c.html :param handle: EK file handle. :type handle: int :param segno: Index of segment containing record....
[ "def", "ekucec", "(", "handle", ",", "segno", ",", "recno", ",", "column", ",", "nvals", ",", "cvals", ",", "isnull", ")", ":", "handle", "=", "ctypes", ".", "c_int", "(", "handle", ")", "segno", "=", "ctypes", ".", "c_int", "(", "segno", ")", "rec...
Update a character column entry in a specified EK record. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekucec_c.html :param handle: EK file handle. :type handle: int :param segno: Index of segment containing record. :type segno: int :param recno: Record to which data is to be update...
[ "Update", "a", "character", "column", "entry", "in", "a", "specified", "EK", "record", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4592-L4621
14,715
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
ekuced
def ekuced(handle, segno, recno, column, nvals, dvals, isnull): """ Update a double precision column entry in a specified EK record. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekuced_c.html :param handle: EK file handle. :type handle: int :param segno: Index of segment containing ...
python
def ekuced(handle, segno, recno, column, nvals, dvals, isnull): """ Update a double precision column entry in a specified EK record. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekuced_c.html :param handle: EK file handle. :type handle: int :param segno: Index of segment containing ...
[ "def", "ekuced", "(", "handle", ",", "segno", ",", "recno", ",", "column", ",", "nvals", ",", "dvals", ",", "isnull", ")", ":", "handle", "=", "ctypes", ".", "c_int", "(", "handle", ")", "segno", "=", "ctypes", ".", "c_int", "(", "segno", ")", "rec...
Update a double precision column entry in a specified EK record. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekuced_c.html :param handle: EK file handle. :type handle: int :param segno: Index of segment containing record. :type segno: int :param recno: Record to which data is to be...
[ "Update", "a", "double", "precision", "column", "entry", "in", "a", "specified", "EK", "record", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4625-L4653
14,716
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
ekucei
def ekucei(handle, segno, recno, column, nvals, ivals, isnull): """ Update an integer column entry in a specified EK record. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekucei_c.html :param handle: EK file handle. :type handle: int :param segno: Index of segment containing record. ...
python
def ekucei(handle, segno, recno, column, nvals, ivals, isnull): """ Update an integer column entry in a specified EK record. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekucei_c.html :param handle: EK file handle. :type handle: int :param segno: Index of segment containing record. ...
[ "def", "ekucei", "(", "handle", ",", "segno", ",", "recno", ",", "column", ",", "nvals", ",", "ivals", ",", "isnull", ")", ":", "handle", "=", "ctypes", ".", "c_int", "(", "handle", ")", "segno", "=", "ctypes", ".", "c_int", "(", "segno", ")", "rec...
Update an integer column entry in a specified EK record. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ekucei_c.html :param handle: EK file handle. :type handle: int :param segno: Index of segment containing record. :type segno: int :param recno: Record to which data is to be updated...
[ "Update", "an", "integer", "column", "entry", "in", "a", "specified", "EK", "record", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4657-L4685
14,717
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
el2cgv
def el2cgv(ellipse): """ Convert an ellipse to a center vector and two generating vectors. The selected generating vectors are semi-axes of the ellipse. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/el2cgv_c.html :param ellipse: An Ellipse :type ellipse: spiceypy.utils.support_ty...
python
def el2cgv(ellipse): """ Convert an ellipse to a center vector and two generating vectors. The selected generating vectors are semi-axes of the ellipse. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/el2cgv_c.html :param ellipse: An Ellipse :type ellipse: spiceypy.utils.support_ty...
[ "def", "el2cgv", "(", "ellipse", ")", ":", "assert", "(", "isinstance", "(", "ellipse", ",", "stypes", ".", "Ellipse", ")", ")", "center", "=", "stypes", ".", "emptyDoubleVector", "(", "3", ")", "smajor", "=", "stypes", ".", "emptyDoubleVector", "(", "3"...
Convert an ellipse to a center vector and two generating vectors. The selected generating vectors are semi-axes of the ellipse. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/el2cgv_c.html :param ellipse: An Ellipse :type ellipse: spiceypy.utils.support_types.Ellipse :return: Center a...
[ "Convert", "an", "ellipse", "to", "a", "center", "vector", "and", "two", "generating", "vectors", ".", "The", "selected", "generating", "vectors", "are", "semi", "-", "axes", "of", "the", "ellipse", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4705-L4724
14,718
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
elemc
def elemc(item, inset): """ Determine whether an item is an element of a character set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/elemc_c.html :param item: Item to be tested. :type item: str :param inset: Set to be tested. :type inset: spiceypy.utils.support_types.SpiceCell ...
python
def elemc(item, inset): """ Determine whether an item is an element of a character set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/elemc_c.html :param item: Item to be tested. :type item: str :param inset: Set to be tested. :type inset: spiceypy.utils.support_types.SpiceCell ...
[ "def", "elemc", "(", "item", ",", "inset", ")", ":", "assert", "isinstance", "(", "inset", ",", "stypes", ".", "SpiceCell", ")", "item", "=", "stypes", ".", "stringToCharP", "(", "item", ")", "return", "bool", "(", "libspice", ".", "elemc_c", "(", "ite...
Determine whether an item is an element of a character set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/elemc_c.html :param item: Item to be tested. :type item: str :param inset: Set to be tested. :type inset: spiceypy.utils.support_types.SpiceCell :return: True if item is an eleme...
[ "Determine", "whether", "an", "item", "is", "an", "element", "of", "a", "character", "set", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4728-L4743
14,719
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
elemd
def elemd(item, inset): """ Determine whether an item is an element of a double precision set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/elemd_c.html :param item: Item to be tested. :type item: float :param inset: Set to be tested. :type inset: spiceypy.utils.support_types.Sp...
python
def elemd(item, inset): """ Determine whether an item is an element of a double precision set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/elemd_c.html :param item: Item to be tested. :type item: float :param inset: Set to be tested. :type inset: spiceypy.utils.support_types.Sp...
[ "def", "elemd", "(", "item", ",", "inset", ")", ":", "assert", "isinstance", "(", "inset", ",", "stypes", ".", "SpiceCell", ")", "assert", "inset", ".", "dtype", "==", "1", "item", "=", "ctypes", ".", "c_double", "(", "item", ")", "return", "bool", "...
Determine whether an item is an element of a double precision set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/elemd_c.html :param item: Item to be tested. :type item: float :param inset: Set to be tested. :type inset: spiceypy.utils.support_types.SpiceCell :return: True if item is...
[ "Determine", "whether", "an", "item", "is", "an", "element", "of", "a", "double", "precision", "set", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4747-L4763
14,720
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
elemi
def elemi(item, inset): """ Determine whether an item is an element of an integer set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/elemi_c.html :param item: Item to be tested. :type item: int :param inset: Set to be tested. :type inset: spiceypy.utils.support_types.SpiceCell ...
python
def elemi(item, inset): """ Determine whether an item is an element of an integer set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/elemi_c.html :param item: Item to be tested. :type item: int :param inset: Set to be tested. :type inset: spiceypy.utils.support_types.SpiceCell ...
[ "def", "elemi", "(", "item", ",", "inset", ")", ":", "assert", "isinstance", "(", "inset", ",", "stypes", ".", "SpiceCell", ")", "assert", "inset", ".", "dtype", "==", "2", "item", "=", "ctypes", ".", "c_int", "(", "item", ")", "return", "bool", "(",...
Determine whether an item is an element of an integer set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/elemi_c.html :param item: Item to be tested. :type item: int :param inset: Set to be tested. :type inset: spiceypy.utils.support_types.SpiceCell :return: True if item is an elemen...
[ "Determine", "whether", "an", "item", "is", "an", "element", "of", "an", "integer", "set", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4767-L4783
14,721
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
eqstr
def eqstr(a, b): """ Determine whether two strings are equivalent. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/eqstr_c.html :param a: Arbitrary character string. :type a: str :param b: Arbitrary character string. :type b: str :return: True if A and B are equivalent. :rt...
python
def eqstr(a, b): """ Determine whether two strings are equivalent. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/eqstr_c.html :param a: Arbitrary character string. :type a: str :param b: Arbitrary character string. :type b: str :return: True if A and B are equivalent. :rt...
[ "def", "eqstr", "(", "a", ",", "b", ")", ":", "return", "bool", "(", "libspice", ".", "eqstr_c", "(", "stypes", ".", "stringToCharP", "(", "a", ")", ",", "stypes", ".", "stringToCharP", "(", "b", ")", ")", ")" ]
Determine whether two strings are equivalent. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/eqstr_c.html :param a: Arbitrary character string. :type a: str :param b: Arbitrary character string. :type b: str :return: True if A and B are equivalent. :rtype: bool
[ "Determine", "whether", "two", "strings", "are", "equivalent", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4819-L4832
14,722
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
erract
def erract(op, lenout, action=None): """ Retrieve or set the default error action. spiceypy sets the default error action to "report" on init. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/erract_c.html :param op: peration, "GET" or "SET". :type op: str :param lenout: Length of l...
python
def erract(op, lenout, action=None): """ Retrieve or set the default error action. spiceypy sets the default error action to "report" on init. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/erract_c.html :param op: peration, "GET" or "SET". :type op: str :param lenout: Length of l...
[ "def", "erract", "(", "op", ",", "lenout", ",", "action", "=", "None", ")", ":", "if", "action", "is", "None", ":", "action", "=", "\"\"", "lenout", "=", "ctypes", ".", "c_int", "(", "lenout", ")", "op", "=", "stypes", ".", "stringToCharP", "(", "o...
Retrieve or set the default error action. spiceypy sets the default error action to "report" on init. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/erract_c.html :param op: peration, "GET" or "SET". :type op: str :param lenout: Length of list for output. :type lenout: int :param ...
[ "Retrieve", "or", "set", "the", "default", "error", "action", ".", "spiceypy", "sets", "the", "default", "error", "action", "to", "report", "on", "init", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4835-L4858
14,723
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
errch
def errch(marker, string): """ Substitute a character string for the first occurrence of a marker in the current long error message. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/errch_c.html :param marker: A substring of the error message to be replaced. :type marker: str :param...
python
def errch(marker, string): """ Substitute a character string for the first occurrence of a marker in the current long error message. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/errch_c.html :param marker: A substring of the error message to be replaced. :type marker: str :param...
[ "def", "errch", "(", "marker", ",", "string", ")", ":", "marker", "=", "stypes", ".", "stringToCharP", "(", "marker", ")", "string", "=", "stypes", ".", "stringToCharP", "(", "string", ")", "libspice", ".", "errch_c", "(", "marker", ",", "string", ")" ]
Substitute a character string for the first occurrence of a marker in the current long error message. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/errch_c.html :param marker: A substring of the error message to be replaced. :type marker: str :param string: The character string to substi...
[ "Substitute", "a", "character", "string", "for", "the", "first", "occurrence", "of", "a", "marker", "in", "the", "current", "long", "error", "message", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4861-L4875
14,724
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
errdev
def errdev(op, lenout, device): """ Retrieve or set the name of the current output device for error messages. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/errdev_c.html :param op: The operation, "GET" or "SET". :type op: str :param lenout: Length of device for output. :type leno...
python
def errdev(op, lenout, device): """ Retrieve or set the name of the current output device for error messages. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/errdev_c.html :param op: The operation, "GET" or "SET". :type op: str :param lenout: Length of device for output. :type leno...
[ "def", "errdev", "(", "op", ",", "lenout", ",", "device", ")", ":", "lenout", "=", "ctypes", ".", "c_int", "(", "lenout", ")", "op", "=", "stypes", ".", "stringToCharP", "(", "op", ")", "device", "=", "ctypes", ".", "create_string_buffer", "(", "str", ...
Retrieve or set the name of the current output device for error messages. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/errdev_c.html :param op: The operation, "GET" or "SET". :type op: str :param lenout: Length of device for output. :type lenout: int :param device: The device name. ...
[ "Retrieve", "or", "set", "the", "name", "of", "the", "current", "output", "device", "for", "error", "messages", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4878-L4898
14,725
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
errdp
def errdp(marker, number): """ Substitute a double precision number for the first occurrence of a marker found in the current long error message. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/errdp_c.html :param marker: A substring of the error message to be replaced. :type marker: s...
python
def errdp(marker, number): """ Substitute a double precision number for the first occurrence of a marker found in the current long error message. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/errdp_c.html :param marker: A substring of the error message to be replaced. :type marker: s...
[ "def", "errdp", "(", "marker", ",", "number", ")", ":", "marker", "=", "stypes", ".", "stringToCharP", "(", "marker", ")", "number", "=", "ctypes", ".", "c_double", "(", "number", ")", "libspice", ".", "errdp_c", "(", "marker", ",", "number", ")" ]
Substitute a double precision number for the first occurrence of a marker found in the current long error message. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/errdp_c.html :param marker: A substring of the error message to be replaced. :type marker: str :param number: The d.p. number t...
[ "Substitute", "a", "double", "precision", "number", "for", "the", "first", "occurrence", "of", "a", "marker", "found", "in", "the", "current", "long", "error", "message", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4901-L4915
14,726
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
errint
def errint(marker, number): """ Substitute an integer for the first occurrence of a marker found in the current long error message. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/errint_c.html :param marker: A substring of the error message to be replaced. :type marker: str :param...
python
def errint(marker, number): """ Substitute an integer for the first occurrence of a marker found in the current long error message. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/errint_c.html :param marker: A substring of the error message to be replaced. :type marker: str :param...
[ "def", "errint", "(", "marker", ",", "number", ")", ":", "marker", "=", "stypes", ".", "stringToCharP", "(", "marker", ")", "number", "=", "ctypes", ".", "c_int", "(", "number", ")", "libspice", ".", "errint_c", "(", "marker", ",", "number", ")" ]
Substitute an integer for the first occurrence of a marker found in the current long error message. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/errint_c.html :param marker: A substring of the error message to be replaced. :type marker: str :param number: The integer to substitute for m...
[ "Substitute", "an", "integer", "for", "the", "first", "occurrence", "of", "a", "marker", "found", "in", "the", "current", "long", "error", "message", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4918-L4932
14,727
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
errprt
def errprt(op, lenout, inlist): """ Retrieve or set the list of error message items to be output when an error is detected. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/errprt_c.html :param op: The operation, "GET" or "SET". :type op: str :param lenout: Length of list for output...
python
def errprt(op, lenout, inlist): """ Retrieve or set the list of error message items to be output when an error is detected. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/errprt_c.html :param op: The operation, "GET" or "SET". :type op: str :param lenout: Length of list for output...
[ "def", "errprt", "(", "op", ",", "lenout", ",", "inlist", ")", ":", "lenout", "=", "ctypes", ".", "c_int", "(", "lenout", ")", "op", "=", "stypes", ".", "stringToCharP", "(", "op", ")", "inlist", "=", "ctypes", ".", "create_string_buffer", "(", "str", ...
Retrieve or set the list of error message items to be output when an error is detected. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/errprt_c.html :param op: The operation, "GET" or "SET". :type op: str :param lenout: Length of list for output. :type lenout: int :param inlist: S...
[ "Retrieve", "or", "set", "the", "list", "of", "error", "message", "items", "to", "be", "output", "when", "an", "error", "is", "detected", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4935-L4956
14,728
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
esrchc
def esrchc(value, array): """ Search for a given value within a character string array. Return the index of the first equivalent array entry, or -1 if no equivalent element is found. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/esrchc_c.html :param value: Key value to be found in ar...
python
def esrchc(value, array): """ Search for a given value within a character string array. Return the index of the first equivalent array entry, or -1 if no equivalent element is found. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/esrchc_c.html :param value: Key value to be found in ar...
[ "def", "esrchc", "(", "value", ",", "array", ")", ":", "value", "=", "stypes", ".", "stringToCharP", "(", "value", ")", "ndim", "=", "ctypes", ".", "c_int", "(", "len", "(", "array", ")", ")", "lenvals", "=", "ctypes", ".", "c_int", "(", "len", "("...
Search for a given value within a character string array. Return the index of the first equivalent array entry, or -1 if no equivalent element is found. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/esrchc_c.html :param value: Key value to be found in array. :type value: str :param a...
[ "Search", "for", "a", "given", "value", "within", "a", "character", "string", "array", ".", "Return", "the", "index", "of", "the", "first", "equivalent", "array", "entry", "or", "-", "1", "if", "no", "equivalent", "element", "is", "found", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4959-L4980
14,729
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
et2lst
def et2lst(et, body, lon, typein, timlen=_default_len_out, ampmlen=_default_len_out): """ Given an ephemeris epoch, compute the local solar time for an object on the surface of a body at a specified longitude. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/et2lst_c.html :param et: Epoch i...
python
def et2lst(et, body, lon, typein, timlen=_default_len_out, ampmlen=_default_len_out): """ Given an ephemeris epoch, compute the local solar time for an object on the surface of a body at a specified longitude. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/et2lst_c.html :param et: Epoch i...
[ "def", "et2lst", "(", "et", ",", "body", ",", "lon", ",", "typein", ",", "timlen", "=", "_default_len_out", ",", "ampmlen", "=", "_default_len_out", ")", ":", "et", "=", "ctypes", ".", "c_double", "(", "et", ")", "body", "=", "ctypes", ".", "c_int", ...
Given an ephemeris epoch, compute the local solar time for an object on the surface of a body at a specified longitude. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/et2lst_c.html :param et: Epoch in seconds past J2000 epoch. :type et: float :param body: ID-code of the body of interest. ...
[ "Given", "an", "ephemeris", "epoch", "compute", "the", "local", "solar", "time", "for", "an", "object", "on", "the", "surface", "of", "a", "body", "at", "a", "specified", "longitude", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L4984-L5026
14,730
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
et2utc
def et2utc(et, formatStr, prec, lenout=_default_len_out): """ Convert an input time from ephemeris seconds past J2000 to Calendar, Day-of-Year, or Julian Date format, UTC. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/et2utc_c.html :param et: Input epoch, given in ephemeris seconds past ...
python
def et2utc(et, formatStr, prec, lenout=_default_len_out): """ Convert an input time from ephemeris seconds past J2000 to Calendar, Day-of-Year, or Julian Date format, UTC. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/et2utc_c.html :param et: Input epoch, given in ephemeris seconds past ...
[ "def", "et2utc", "(", "et", ",", "formatStr", ",", "prec", ",", "lenout", "=", "_default_len_out", ")", ":", "et", "=", "ctypes", ".", "c_double", "(", "et", ")", "prec", "=", "ctypes", ".", "c_int", "(", "prec", ")", "lenout", "=", "ctypes", ".", ...
Convert an input time from ephemeris seconds past J2000 to Calendar, Day-of-Year, or Julian Date format, UTC. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/et2utc_c.html :param et: Input epoch, given in ephemeris seconds past J2000. :type et: float :param formatStr: Format of output epoc...
[ "Convert", "an", "input", "time", "from", "ephemeris", "seconds", "past", "J2000", "to", "Calendar", "Day", "-", "of", "-", "Year", "or", "Julian", "Date", "format", "UTC", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L5030-L5054
14,731
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
etcal
def etcal(et, lenout=_default_len_out): """ Convert from an ephemeris epoch measured in seconds past the epoch of J2000 to a calendar string format using a formal calendar free of leapseconds. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/etcal_c.html :param et: Ephemeris time measur...
python
def etcal(et, lenout=_default_len_out): """ Convert from an ephemeris epoch measured in seconds past the epoch of J2000 to a calendar string format using a formal calendar free of leapseconds. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/etcal_c.html :param et: Ephemeris time measur...
[ "def", "etcal", "(", "et", ",", "lenout", "=", "_default_len_out", ")", ":", "lenout", "=", "ctypes", ".", "c_int", "(", "lenout", ")", "string", "=", "stypes", ".", "stringToCharP", "(", "lenout", ")", "if", "hasattr", "(", "et", ",", "\"__iter__\"", ...
Convert from an ephemeris epoch measured in seconds past the epoch of J2000 to a calendar string format using a formal calendar free of leapseconds. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/etcal_c.html :param et: Ephemeris time measured in seconds past J2000. :type et: Union[float,...
[ "Convert", "from", "an", "ephemeris", "epoch", "measured", "in", "seconds", "past", "the", "epoch", "of", "J2000", "to", "a", "calendar", "string", "format", "using", "a", "formal", "calendar", "free", "of", "leapseconds", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L5058-L5085
14,732
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
eul2m
def eul2m(angle3, angle2, angle1, axis3, axis2, axis1): """ Construct a rotation matrix from a set of Euler angles. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/eul2m_c.html :param angle3: Rotation angle about third rotation axis (radians). :type angle3: float :param angle2: Rotatio...
python
def eul2m(angle3, angle2, angle1, axis3, axis2, axis1): """ Construct a rotation matrix from a set of Euler angles. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/eul2m_c.html :param angle3: Rotation angle about third rotation axis (radians). :type angle3: float :param angle2: Rotatio...
[ "def", "eul2m", "(", "angle3", ",", "angle2", ",", "angle1", ",", "axis3", ",", "axis2", ",", "axis1", ")", ":", "angle3", "=", "ctypes", ".", "c_double", "(", "angle3", ")", "angle2", "=", "ctypes", ".", "c_double", "(", "angle2", ")", "angle1", "="...
Construct a rotation matrix from a set of Euler angles. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/eul2m_c.html :param angle3: Rotation angle about third rotation axis (radians). :type angle3: float :param angle2: Rotation angle about second rotation axis (radians). :type angle2: floa...
[ "Construct", "a", "rotation", "matrix", "from", "a", "set", "of", "Euler", "angles", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L5089-L5118
14,733
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
eul2xf
def eul2xf(eulang, axisa, axisb, axisc): """ This routine computes a state transformation from an Euler angle factorization of a rotation and the derivatives of those Euler angles. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/eul2xf_c.html :param eulang: An array of Euler angles and...
python
def eul2xf(eulang, axisa, axisb, axisc): """ This routine computes a state transformation from an Euler angle factorization of a rotation and the derivatives of those Euler angles. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/eul2xf_c.html :param eulang: An array of Euler angles and...
[ "def", "eul2xf", "(", "eulang", ",", "axisa", ",", "axisb", ",", "axisc", ")", ":", "assert", "len", "(", "eulang", ")", "is", "6", "eulang", "=", "stypes", ".", "toDoubleVector", "(", "eulang", ")", "axisa", "=", "ctypes", ".", "c_int", "(", "axisa"...
This routine computes a state transformation from an Euler angle factorization of a rotation and the derivatives of those Euler angles. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/eul2xf_c.html :param eulang: An array of Euler angles and their derivatives. :type eulang: 6-Element Array...
[ "This", "routine", "computes", "a", "state", "transformation", "from", "an", "Euler", "angle", "factorization", "of", "a", "rotation", "and", "the", "derivatives", "of", "those", "Euler", "angles", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L5122-L5148
14,734
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
exists
def exists(fname): """ Determine whether a file exists. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/exists_c.html :param fname: Name of the file in question. :return: True if the file exists, False otherwise. :rtype: bool """ fname = stypes.stringToCharP(fname) return b...
python
def exists(fname): """ Determine whether a file exists. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/exists_c.html :param fname: Name of the file in question. :return: True if the file exists, False otherwise. :rtype: bool """ fname = stypes.stringToCharP(fname) return b...
[ "def", "exists", "(", "fname", ")", ":", "fname", "=", "stypes", ".", "stringToCharP", "(", "fname", ")", "return", "bool", "(", "libspice", ".", "exists_c", "(", "fname", ")", ")" ]
Determine whether a file exists. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/exists_c.html :param fname: Name of the file in question. :return: True if the file exists, False otherwise. :rtype: bool
[ "Determine", "whether", "a", "file", "exists", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L5152-L5163
14,735
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
expool
def expool(name): """ Confirm the existence of a kernel variable in the kernel pool. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/expool_c.html :param name: Name of the variable whose value is to be returned. :type name: str :return: True when the variable is in the pool. :rtype...
python
def expool(name): """ Confirm the existence of a kernel variable in the kernel pool. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/expool_c.html :param name: Name of the variable whose value is to be returned. :type name: str :return: True when the variable is in the pool. :rtype...
[ "def", "expool", "(", "name", ")", ":", "name", "=", "stypes", ".", "stringToCharP", "(", "name", ")", "found", "=", "ctypes", ".", "c_int", "(", ")", "libspice", ".", "expool_c", "(", "name", ",", "ctypes", ".", "byref", "(", "found", ")", ")", "r...
Confirm the existence of a kernel variable in the kernel pool. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/expool_c.html :param name: Name of the variable whose value is to be returned. :type name: str :return: True when the variable is in the pool. :rtype: bool
[ "Confirm", "the", "existence", "of", "a", "kernel", "variable", "in", "the", "kernel", "pool", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L5167-L5181
14,736
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
frmnam
def frmnam(frcode, lenout=_default_len_out): """ Retrieve the name of a reference frame associated with a SPICE ID code. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/frmnam_c.html :param frcode: an integer code for a reference frame :type frcode: int :param lenout: Maximum length of...
python
def frmnam(frcode, lenout=_default_len_out): """ Retrieve the name of a reference frame associated with a SPICE ID code. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/frmnam_c.html :param frcode: an integer code for a reference frame :type frcode: int :param lenout: Maximum length of...
[ "def", "frmnam", "(", "frcode", ",", "lenout", "=", "_default_len_out", ")", ":", "frcode", "=", "ctypes", ".", "c_int", "(", "frcode", ")", "lenout", "=", "ctypes", ".", "c_int", "(", "lenout", ")", "frname", "=", "stypes", ".", "stringToCharP", "(", ...
Retrieve the name of a reference frame associated with a SPICE ID code. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/frmnam_c.html :param frcode: an integer code for a reference frame :type frcode: int :param lenout: Maximum length of output string. :type lenout: int :return: the na...
[ "Retrieve", "the", "name", "of", "a", "reference", "frame", "associated", "with", "a", "SPICE", "ID", "code", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L5333-L5350
14,737
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
furnsh
def furnsh(path): """ Load one or more SPICE kernels into a program. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/furnsh_c.html :param path: one or more paths to kernels :type path: str or list of str """ if isinstance(path, list): for p in path: libspice.fur...
python
def furnsh(path): """ Load one or more SPICE kernels into a program. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/furnsh_c.html :param path: one or more paths to kernels :type path: str or list of str """ if isinstance(path, list): for p in path: libspice.fur...
[ "def", "furnsh", "(", "path", ")", ":", "if", "isinstance", "(", "path", ",", "list", ")", ":", "for", "p", "in", "path", ":", "libspice", ".", "furnsh_c", "(", "stypes", ".", "stringToCharP", "(", "p", ")", ")", "else", ":", "path", "=", "stypes",...
Load one or more SPICE kernels into a program. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/furnsh_c.html :param path: one or more paths to kernels :type path: str or list of str
[ "Load", "one", "or", "more", "SPICE", "kernels", "into", "a", "program", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L5368-L5382
14,738
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
gcpool
def gcpool(name, start, room, lenout=_default_len_out): """ Return the character value of a kernel variable from the kernel pool. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gcpool_c.html :param name: Name of the variable whose value is to be returned. :type name: str :param start:...
python
def gcpool(name, start, room, lenout=_default_len_out): """ Return the character value of a kernel variable from the kernel pool. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gcpool_c.html :param name: Name of the variable whose value is to be returned. :type name: str :param start:...
[ "def", "gcpool", "(", "name", ",", "start", ",", "room", ",", "lenout", "=", "_default_len_out", ")", ":", "name", "=", "stypes", ".", "stringToCharP", "(", "name", ")", "start", "=", "ctypes", ".", "c_int", "(", "start", ")", "room", "=", "ctypes", ...
Return the character value of a kernel variable from the kernel pool. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gcpool_c.html :param name: Name of the variable whose value is to be returned. :type name: str :param start: Which component to start retrieving for name. :type start: int ...
[ "Return", "the", "character", "value", "of", "a", "kernel", "variable", "from", "the", "kernel", "pool", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L5391-L5418
14,739
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
gdpool
def gdpool(name, start, room): """ Return the d.p. value of a kernel variable from the kernel pool. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gdpool_c.html :param name: Name of the variable whose value is to be returned. :type name: str :param start: Which component to start retr...
python
def gdpool(name, start, room): """ Return the d.p. value of a kernel variable from the kernel pool. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gdpool_c.html :param name: Name of the variable whose value is to be returned. :type name: str :param start: Which component to start retr...
[ "def", "gdpool", "(", "name", ",", "start", ",", "room", ")", ":", "name", "=", "stypes", ".", "stringToCharP", "(", "name", ")", "start", "=", "ctypes", ".", "c_int", "(", "start", ")", "values", "=", "stypes", ".", "emptyDoubleVector", "(", "room", ...
Return the d.p. value of a kernel variable from the kernel pool. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gdpool_c.html :param name: Name of the variable whose value is to be returned. :type name: str :param start: Which component to start retrieving for name. :type start: int :...
[ "Return", "the", "d", ".", "p", ".", "value", "of", "a", "kernel", "variable", "from", "the", "kernel", "pool", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L5423-L5447
14,740
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
georec
def georec(lon, lat, alt, re, f): """ Convert geodetic coordinates to rectangular coordinates. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/georec_c.html :param lon: Geodetic longitude of point (radians). :type lon: float :param lat: Geodetic latitude of point (radians). :type ...
python
def georec(lon, lat, alt, re, f): """ Convert geodetic coordinates to rectangular coordinates. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/georec_c.html :param lon: Geodetic longitude of point (radians). :type lon: float :param lat: Geodetic latitude of point (radians). :type ...
[ "def", "georec", "(", "lon", ",", "lat", ",", "alt", ",", "re", ",", "f", ")", ":", "lon", "=", "ctypes", ".", "c_double", "(", "lon", ")", "lat", "=", "ctypes", ".", "c_double", "(", "lat", ")", "alt", "=", "ctypes", ".", "c_double", "(", "alt...
Convert geodetic coordinates to rectangular coordinates. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/georec_c.html :param lon: Geodetic longitude of point (radians). :type lon: float :param lat: Geodetic latitude of point (radians). :type lat: float :param alt: Altitude of point a...
[ "Convert", "geodetic", "coordinates", "to", "rectangular", "coordinates", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L5451-L5477
14,741
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
getelm
def getelm(frstyr, lineln, lines): """ Given a the "lines" of a two-line element set, parse the lines and return the elements in units suitable for use in SPICE software. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/getelm_c.html :param frstyr: Year of earliest representable two-lin...
python
def getelm(frstyr, lineln, lines): """ Given a the "lines" of a two-line element set, parse the lines and return the elements in units suitable for use in SPICE software. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/getelm_c.html :param frstyr: Year of earliest representable two-lin...
[ "def", "getelm", "(", "frstyr", ",", "lineln", ",", "lines", ")", ":", "frstyr", "=", "ctypes", ".", "c_int", "(", "frstyr", ")", "lineln", "=", "ctypes", ".", "c_int", "(", "lineln", ")", "lines", "=", "stypes", ".", "listToCharArrayPtr", "(", "lines"...
Given a the "lines" of a two-line element set, parse the lines and return the elements in units suitable for use in SPICE software. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/getelm_c.html :param frstyr: Year of earliest representable two-line elements. :type frstyr: int :param li...
[ "Given", "a", "the", "lines", "of", "a", "two", "-", "line", "element", "set", "parse", "the", "lines", "and", "return", "the", "elements", "in", "units", "suitable", "for", "use", "in", "SPICE", "software", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L5484-L5509
14,742
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
getfat
def getfat(file): """ Determine the file architecture and file type of most SPICE kernel files. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/getfat_c.html :param file: The name of a file to be examined. :type file: str :return: The architecture of the kernel file, The type of the ke...
python
def getfat(file): """ Determine the file architecture and file type of most SPICE kernel files. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/getfat_c.html :param file: The name of a file to be examined. :type file: str :return: The architecture of the kernel file, The type of the ke...
[ "def", "getfat", "(", "file", ")", ":", "file", "=", "stypes", ".", "stringToCharP", "(", "file", ")", "arclen", "=", "ctypes", ".", "c_int", "(", "4", ")", "typlen", "=", "ctypes", ".", "c_int", "(", "4", ")", "arch", "=", "stypes", ".", "stringTo...
Determine the file architecture and file type of most SPICE kernel files. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/getfat_c.html :param file: The name of a file to be examined. :type file: str :return: The architecture of the kernel file, The type of the kernel file. :rtype: tuple
[ "Determine", "the", "file", "architecture", "and", "file", "type", "of", "most", "SPICE", "kernel", "files", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L5513-L5530
14,743
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
getmsg
def getmsg(option, lenout=_default_len_out): """ Retrieve the current short error message, the explanation of the short error message, or the long error message. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/getmsg_c.html :param option: Indicates type of error message. :type opti...
python
def getmsg(option, lenout=_default_len_out): """ Retrieve the current short error message, the explanation of the short error message, or the long error message. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/getmsg_c.html :param option: Indicates type of error message. :type opti...
[ "def", "getmsg", "(", "option", ",", "lenout", "=", "_default_len_out", ")", ":", "option", "=", "stypes", ".", "stringToCharP", "(", "option", ")", "lenout", "=", "ctypes", ".", "c_int", "(", "lenout", ")", "msg", "=", "stypes", ".", "stringToCharP", "(...
Retrieve the current short error message, the explanation of the short error message, or the long error message. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/getmsg_c.html :param option: Indicates type of error message. :type option: str :param lenout: Available space in the output ...
[ "Retrieve", "the", "current", "short", "error", "message", "the", "explanation", "of", "the", "short", "error", "message", "or", "the", "long", "error", "message", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L5573-L5592
14,744
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
gfdist
def gfdist(target, abcorr, obsrvr, relate, refval, adjust, step, nintvls, cnfine, result=None): """ Return the time window over which a specified constraint on observer-target distance is met. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfdist_c.html :param target: Name of t...
python
def gfdist(target, abcorr, obsrvr, relate, refval, adjust, step, nintvls, cnfine, result=None): """ Return the time window over which a specified constraint on observer-target distance is met. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfdist_c.html :param target: Name of t...
[ "def", "gfdist", "(", "target", ",", "abcorr", ",", "obsrvr", ",", "relate", ",", "refval", ",", "adjust", ",", "step", ",", "nintvls", ",", "cnfine", ",", "result", "=", "None", ")", ":", "assert", "isinstance", "(", "cnfine", ",", "stypes", ".", "S...
Return the time window over which a specified constraint on observer-target distance is met. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfdist_c.html :param target: Name of the target body. :type target: str :param abcorr: Aberration correction flag. :type abcorr: str :param o...
[ "Return", "the", "time", "window", "over", "which", "a", "specified", "constraint", "on", "observer", "-", "target", "distance", "is", "met", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L5621-L5667
14,745
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
gfevnt
def gfevnt(udstep, udrefn, gquant, qnpars, lenvals, qpnams, qcpars, qdpars, qipars, qlpars, op, refval, tol, adjust, rpt, udrepi, udrepu, udrepf, nintvls, bail, udbail, cnfine, result=None): """ Determine time intervals when a specified geometric quantity satisfies a specifi...
python
def gfevnt(udstep, udrefn, gquant, qnpars, lenvals, qpnams, qcpars, qdpars, qipars, qlpars, op, refval, tol, adjust, rpt, udrepi, udrepu, udrepf, nintvls, bail, udbail, cnfine, result=None): """ Determine time intervals when a specified geometric quantity satisfies a specifi...
[ "def", "gfevnt", "(", "udstep", ",", "udrefn", ",", "gquant", ",", "qnpars", ",", "lenvals", ",", "qpnams", ",", "qcpars", ",", "qdpars", ",", "qipars", ",", "qlpars", ",", "op", ",", "refval", ",", "tol", ",", "adjust", ",", "rpt", ",", "udrepi", ...
Determine time intervals when a specified geometric quantity satisfies a specified mathematical condition. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfevnt_c.html :param udstep: Name of the routine that computes and returns a :type udstep: spiceypy.utils.callbacks.UDSTEP :param udref...
[ "Determine", "time", "intervals", "when", "a", "specified", "geometric", "quantity", "satisfies", "a", "specified", "mathematical", "condition", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L5671-L5754
14,746
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
gfilum
def gfilum(method, angtyp, target, illumn, fixref, abcorr, obsrvr, spoint, relate, refval, adjust, step, nintvls, cnfine, result=None): """ Return the time window over which a specified constraint on the observed phase, solar incidence, or emission angle at a specifed target body s...
python
def gfilum(method, angtyp, target, illumn, fixref, abcorr, obsrvr, spoint, relate, refval, adjust, step, nintvls, cnfine, result=None): """ Return the time window over which a specified constraint on the observed phase, solar incidence, or emission angle at a specifed target body s...
[ "def", "gfilum", "(", "method", ",", "angtyp", ",", "target", ",", "illumn", ",", "fixref", ",", "abcorr", ",", "obsrvr", ",", "spoint", ",", "relate", ",", "refval", ",", "adjust", ",", "step", ",", "nintvls", ",", "cnfine", ",", "result", "=", "Non...
Return the time window over which a specified constraint on the observed phase, solar incidence, or emission angle at a specifed target body surface point is met. :param method: Shape model used to represent the surface of the target body. :type method: str :param angtyp: The type of illumination a...
[ "Return", "the", "time", "window", "over", "which", "a", "specified", "constraint", "on", "the", "observed", "phase", "solar", "incidence", "or", "emission", "angle", "at", "a", "specifed", "target", "body", "surface", "point", "is", "met", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L5830-L5893
14,747
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
gfocce
def gfocce(occtyp, front, fshape, fframe, back, bshape, bframe, abcorr, obsrvr, tol, udstep, udrefn, rpt, udrepi, udrepu, udrepf, bail, udbail, cnfine, result=None): """ Determine time intervals when an observer sees one target occulted by another. Report progress and handle...
python
def gfocce(occtyp, front, fshape, fframe, back, bshape, bframe, abcorr, obsrvr, tol, udstep, udrefn, rpt, udrepi, udrepu, udrepf, bail, udbail, cnfine, result=None): """ Determine time intervals when an observer sees one target occulted by another. Report progress and handle...
[ "def", "gfocce", "(", "occtyp", ",", "front", ",", "fshape", ",", "fframe", ",", "back", ",", "bshape", ",", "bframe", ",", "abcorr", ",", "obsrvr", ",", "tol", ",", "udstep", ",", "udrefn", ",", "rpt", ",", "udrepi", ",", "udrepu", ",", "udrepf", ...
Determine time intervals when an observer sees one target occulted by another. Report progress and handle interrupts if so commanded. The surfaces of the target bodies may be represented by triaxial ellipsoids or by topographic data provided by DSK files. http://naif.jpl.nasa.gov/pub/naif/toolkit_...
[ "Determine", "time", "intervals", "when", "an", "observer", "sees", "one", "target", "occulted", "by", "another", ".", "Report", "progress", "and", "handle", "interrupts", "if", "so", "commanded", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L5913-L5991
14,748
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
gfoclt
def gfoclt(occtyp, front, fshape, fframe, back, bshape, bframe, abcorr, obsrvr, step, cnfine, result=None): """ Determine time intervals when an observer sees one target occulted by, or in transit across, another. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfoclt_c.html :pa...
python
def gfoclt(occtyp, front, fshape, fframe, back, bshape, bframe, abcorr, obsrvr, step, cnfine, result=None): """ Determine time intervals when an observer sees one target occulted by, or in transit across, another. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfoclt_c.html :pa...
[ "def", "gfoclt", "(", "occtyp", ",", "front", ",", "fshape", ",", "fframe", ",", "back", ",", "bshape", ",", "bframe", ",", "abcorr", ",", "obsrvr", ",", "step", ",", "cnfine", ",", "result", "=", "None", ")", ":", "assert", "isinstance", "(", "cnfin...
Determine time intervals when an observer sees one target occulted by, or in transit across, another. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfoclt_c.html :param occtyp: Type of occultation. :type occtyp: str :param front: Name of body occulting the other. :type front: str ...
[ "Determine", "time", "intervals", "when", "an", "observer", "sees", "one", "target", "occulted", "by", "or", "in", "transit", "across", "another", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L5994-L6047
14,749
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
gfpa
def gfpa(target, illmin, abcorr, obsrvr, relate, refval, adjust, step, nintvals, cnfine, result=None): """ Determine time intervals for which a specified constraint on the phase angle between an illumination source, a target, and observer body centers is met. http://naif.jpl.nasa.gov/pub/n...
python
def gfpa(target, illmin, abcorr, obsrvr, relate, refval, adjust, step, nintvals, cnfine, result=None): """ Determine time intervals for which a specified constraint on the phase angle between an illumination source, a target, and observer body centers is met. http://naif.jpl.nasa.gov/pub/n...
[ "def", "gfpa", "(", "target", ",", "illmin", ",", "abcorr", ",", "obsrvr", ",", "relate", ",", "refval", ",", "adjust", ",", "step", ",", "nintvals", ",", "cnfine", ",", "result", "=", "None", ")", ":", "assert", "isinstance", "(", "cnfine", ",", "st...
Determine time intervals for which a specified constraint on the phase angle between an illumination source, a target, and observer body centers is met. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfpa_c.html :param target: Name of the target body. :type target: str :param illmin: ...
[ "Determine", "time", "intervals", "for", "which", "a", "specified", "constraint", "on", "the", "phase", "angle", "between", "an", "illumination", "source", "a", "target", "and", "observer", "body", "centers", "is", "met", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L6051-L6102
14,750
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
gfposc
def gfposc(target, inframe, abcorr, obsrvr, crdsys, coord, relate, refval, adjust, step, nintvals, cnfine, result=None): """ Determine time intervals for which a coordinate of an observer-target position vector satisfies a numerical constraint. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/...
python
def gfposc(target, inframe, abcorr, obsrvr, crdsys, coord, relate, refval, adjust, step, nintvals, cnfine, result=None): """ Determine time intervals for which a coordinate of an observer-target position vector satisfies a numerical constraint. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/...
[ "def", "gfposc", "(", "target", ",", "inframe", ",", "abcorr", ",", "obsrvr", ",", "crdsys", ",", "coord", ",", "relate", ",", "refval", ",", "adjust", ",", "step", ",", "nintvals", ",", "cnfine", ",", "result", "=", "None", ")", ":", "assert", "isin...
Determine time intervals for which a coordinate of an observer-target position vector satisfies a numerical constraint. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfposc_c.html :param target: Name of the target body. :type target: str :param inframe: Name of the reference frame for co...
[ "Determine", "time", "intervals", "for", "which", "a", "coordinate", "of", "an", "observer", "-", "target", "position", "vector", "satisfies", "a", "numerical", "constraint", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L6106-L6162
14,751
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
gfrefn
def gfrefn(t1, t2, s1, s2): """ For those times when we can't do better, we use a bisection method to find the next time at which to test for state change. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfrefn_c.html :param t1: One of two values bracketing a state change. :type t1: fl...
python
def gfrefn(t1, t2, s1, s2): """ For those times when we can't do better, we use a bisection method to find the next time at which to test for state change. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfrefn_c.html :param t1: One of two values bracketing a state change. :type t1: fl...
[ "def", "gfrefn", "(", "t1", ",", "t2", ",", "s1", ",", "s2", ")", ":", "t1", "=", "ctypes", ".", "c_double", "(", "t1", ")", "t2", "=", "ctypes", ".", "c_double", "(", "t2", ")", "s1", "=", "ctypes", ".", "c_int", "(", "s1", ")", "s2", "=", ...
For those times when we can't do better, we use a bisection method to find the next time at which to test for state change. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfrefn_c.html :param t1: One of two values bracketing a state change. :type t1: float :param t2: The other value that ...
[ "For", "those", "times", "when", "we", "can", "t", "do", "better", "we", "use", "a", "bisection", "method", "to", "find", "the", "next", "time", "at", "which", "to", "test", "for", "state", "change", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L6166-L6190
14,752
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
gfrepi
def gfrepi(window, begmss, endmss): """ This entry point initializes a search progress report. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfrepi_c.html :param window: A window over which a job is to be performed. :type window: spiceypy.utils.support_types.SpiceCell :param begmss: ...
python
def gfrepi(window, begmss, endmss): """ This entry point initializes a search progress report. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfrepi_c.html :param window: A window over which a job is to be performed. :type window: spiceypy.utils.support_types.SpiceCell :param begmss: ...
[ "def", "gfrepi", "(", "window", ",", "begmss", ",", "endmss", ")", ":", "begmss", "=", "stypes", ".", "stringToCharP", "(", "begmss", ")", "endmss", "=", "stypes", ".", "stringToCharP", "(", "endmss", ")", "# don't do anything if we were given a pointer to a Spice...
This entry point initializes a search progress report. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfrepi_c.html :param window: A window over which a job is to be performed. :type window: spiceypy.utils.support_types.SpiceCell :param begmss: Beginning of the text portion of the output mess...
[ "This", "entry", "point", "initializes", "a", "search", "progress", "report", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L6205-L6225
14,753
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
gfrepu
def gfrepu(ivbeg, ivend, time): """ This function tells the progress reporting system how far a search has progressed. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfrepu_c.html :param ivbeg: Start time of work interval. :type ivbeg: float :param ivend: End time of work interval...
python
def gfrepu(ivbeg, ivend, time): """ This function tells the progress reporting system how far a search has progressed. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfrepu_c.html :param ivbeg: Start time of work interval. :type ivbeg: float :param ivend: End time of work interval...
[ "def", "gfrepu", "(", "ivbeg", ",", "ivend", ",", "time", ")", ":", "ivbeg", "=", "ctypes", ".", "c_double", "(", "ivbeg", ")", "ivend", "=", "ctypes", ".", "c_double", "(", "ivend", ")", "time", "=", "ctypes", ".", "c_double", "(", "time", ")", "l...
This function tells the progress reporting system how far a search has progressed. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfrepu_c.html :param ivbeg: Start time of work interval. :type ivbeg: float :param ivend: End time of work interval. :type ivend: float :param time: Cu...
[ "This", "function", "tells", "the", "progress", "reporting", "system", "how", "far", "a", "search", "has", "progressed", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L6229-L6246
14,754
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
gfsep
def gfsep(targ1, shape1, inframe1, targ2, shape2, inframe2, abcorr, obsrvr, relate, refval, adjust, step, nintvals, cnfine, result=None): """ Determine time intervals when the angular separation between the position vectors of two target bodies relative to an observer satisfies a numerical rel...
python
def gfsep(targ1, shape1, inframe1, targ2, shape2, inframe2, abcorr, obsrvr, relate, refval, adjust, step, nintvals, cnfine, result=None): """ Determine time intervals when the angular separation between the position vectors of two target bodies relative to an observer satisfies a numerical rel...
[ "def", "gfsep", "(", "targ1", ",", "shape1", ",", "inframe1", ",", "targ2", ",", "shape2", ",", "inframe2", ",", "abcorr", ",", "obsrvr", ",", "relate", ",", "refval", ",", "adjust", ",", "step", ",", "nintvals", ",", "cnfine", ",", "result", "=", "N...
Determine time intervals when the angular separation between the position vectors of two target bodies relative to an observer satisfies a numerical relationship. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfsep_c.html :param targ1: Name of first body. :type targ1: str :param shap...
[ "Determine", "time", "intervals", "when", "the", "angular", "separation", "between", "the", "position", "vectors", "of", "two", "target", "bodies", "relative", "to", "an", "observer", "satisfies", "a", "numerical", "relationship", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L6345-L6408
14,755
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
gfsntc
def gfsntc(target, fixref, method, abcorr, obsrvr, dref, dvec, crdsys, coord, relate, refval, adjust, step, nintvals, cnfine, result=None): """ Determine time intervals for which a coordinate of an surface intercept position vector satisfies a numerical constraint. http://naif.jpl...
python
def gfsntc(target, fixref, method, abcorr, obsrvr, dref, dvec, crdsys, coord, relate, refval, adjust, step, nintvals, cnfine, result=None): """ Determine time intervals for which a coordinate of an surface intercept position vector satisfies a numerical constraint. http://naif.jpl...
[ "def", "gfsntc", "(", "target", ",", "fixref", ",", "method", ",", "abcorr", ",", "obsrvr", ",", "dref", ",", "dvec", ",", "crdsys", ",", "coord", ",", "relate", ",", "refval", ",", "adjust", ",", "step", ",", "nintvals", ",", "cnfine", ",", "result"...
Determine time intervals for which a coordinate of an surface intercept position vector satisfies a numerical constraint. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfsntc_c.html :param target: Name of the target body. :type target: str :param fixref: Body fixed frame associated with ...
[ "Determine", "time", "intervals", "for", "which", "a", "coordinate", "of", "an", "surface", "intercept", "position", "vector", "satisfies", "a", "numerical", "constraint", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L6412-L6479
14,756
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
gfsubc
def gfsubc(target, fixref, method, abcorr, obsrvr, crdsys, coord, relate, refval, adjust, step, nintvals, cnfine, result): """ Determine time intervals for which a coordinate of an subpoint position vector satisfies a numerical constraint. http://naif.jpl.nasa.gov/pub/naif/toolkit...
python
def gfsubc(target, fixref, method, abcorr, obsrvr, crdsys, coord, relate, refval, adjust, step, nintvals, cnfine, result): """ Determine time intervals for which a coordinate of an subpoint position vector satisfies a numerical constraint. http://naif.jpl.nasa.gov/pub/naif/toolkit...
[ "def", "gfsubc", "(", "target", ",", "fixref", ",", "method", ",", "abcorr", ",", "obsrvr", ",", "crdsys", ",", "coord", ",", "relate", ",", "refval", ",", "adjust", ",", "step", ",", "nintvals", ",", "cnfine", ",", "result", ")", ":", "assert", "isi...
Determine time intervals for which a coordinate of an subpoint position vector satisfies a numerical constraint. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfsubc_c.html :param target: Name of the target body. :type target: str :param fixref: Body fixed frame associated with the targe...
[ "Determine", "time", "intervals", "for", "which", "a", "coordinate", "of", "an", "subpoint", "position", "vector", "satisfies", "a", "numerical", "constraint", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L6532-L6592
14,757
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
gfudb
def gfudb(udfuns, udfunb, step, cnfine, result): """ Perform a GF search on a user defined boolean quantity. https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfudb_c.html :param udfuns: Name of the routine that computes a scalar quantity of interest corresponding to an 'et'. :type udfuns: ...
python
def gfudb(udfuns, udfunb, step, cnfine, result): """ Perform a GF search on a user defined boolean quantity. https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfudb_c.html :param udfuns: Name of the routine that computes a scalar quantity of interest corresponding to an 'et'. :type udfuns: ...
[ "def", "gfudb", "(", "udfuns", ",", "udfunb", ",", "step", ",", "cnfine", ",", "result", ")", ":", "step", "=", "ctypes", ".", "c_double", "(", "step", ")", "libspice", ".", "gfudb_c", "(", "udfuns", ",", "udfunb", ",", "step", ",", "ctypes", ".", ...
Perform a GF search on a user defined boolean quantity. https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfudb_c.html :param udfuns: Name of the routine that computes a scalar quantity of interest corresponding to an 'et'. :type udfuns: ctypes.CFunctionType :param udfunb: Name of the routine r...
[ "Perform", "a", "GF", "search", "on", "a", "user", "defined", "boolean", "quantity", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L6643-L6663
14,758
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
gfuds
def gfuds(udfuns, udqdec, relate, refval, adjust, step, nintvls, cnfine, result): """ Perform a GF search on a user defined scalar quantity. https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfuds_c.html :param udfuns: Name of the routine that computes the scalar quantity of interest at some ti...
python
def gfuds(udfuns, udqdec, relate, refval, adjust, step, nintvls, cnfine, result): """ Perform a GF search on a user defined scalar quantity. https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfuds_c.html :param udfuns: Name of the routine that computes the scalar quantity of interest at some ti...
[ "def", "gfuds", "(", "udfuns", ",", "udqdec", ",", "relate", ",", "refval", ",", "adjust", ",", "step", ",", "nintvls", ",", "cnfine", ",", "result", ")", ":", "relate", "=", "stypes", ".", "stringToCharP", "(", "relate", ")", "refval", "=", "ctypes", ...
Perform a GF search on a user defined scalar quantity. https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfuds_c.html :param udfuns: Name of the routine that computes the scalar quantity of interest at some time. :type udfuns: ctypes.CFunctionType :param udqdec: Name of the routine that compute...
[ "Perform", "a", "GF", "search", "on", "a", "user", "defined", "scalar", "quantity", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L6667-L6700
14,759
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
gipool
def gipool(name, start, room): """ Return the integer value of a kernel variable from the kernel pool. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gipool_c.html :param name: Name of the variable whose value is to be returned. :type name: str :param start: Which component to start r...
python
def gipool(name, start, room): """ Return the integer value of a kernel variable from the kernel pool. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gipool_c.html :param name: Name of the variable whose value is to be returned. :type name: str :param start: Which component to start r...
[ "def", "gipool", "(", "name", ",", "start", ",", "room", ")", ":", "name", "=", "stypes", ".", "stringToCharP", "(", "name", ")", "start", "=", "ctypes", ".", "c_int", "(", "start", ")", "ivals", "=", "stypes", ".", "emptyIntVector", "(", "room", ")"...
Return the integer value of a kernel variable from the kernel pool. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gipool_c.html :param name: Name of the variable whose value is to be returned. :type name: str :param start: Which component to start retrieving for name. :type start: int ...
[ "Return", "the", "integer", "value", "of", "a", "kernel", "variable", "from", "the", "kernel", "pool", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L6705-L6728
14,760
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
gnpool
def gnpool(name, start, room, lenout=_default_len_out): """ Return names of kernel variables matching a specified template. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gnpool_c.html :param name: Template that names should match. :type name: str :param start: Index of first matching...
python
def gnpool(name, start, room, lenout=_default_len_out): """ Return names of kernel variables matching a specified template. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gnpool_c.html :param name: Template that names should match. :type name: str :param start: Index of first matching...
[ "def", "gnpool", "(", "name", ",", "start", ",", "room", ",", "lenout", "=", "_default_len_out", ")", ":", "name", "=", "stypes", ".", "stringToCharP", "(", "name", ")", "start", "=", "ctypes", ".", "c_int", "(", "start", ")", "kvars", "=", "stypes", ...
Return names of kernel variables matching a specified template. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gnpool_c.html :param name: Template that names should match. :type name: str :param start: Index of first matching name to retrieve. :type start: int :param room: The largest...
[ "Return", "names", "of", "kernel", "variables", "matching", "a", "specified", "template", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L6733-L6759
14,761
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
hx2dp
def hx2dp(string): """ Convert a string representing a double precision number in a base 16 scientific notation into its equivalent double precision number. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/hx2dp_c.html :param string: Hex form string to convert to double precision. :...
python
def hx2dp(string): """ Convert a string representing a double precision number in a base 16 scientific notation into its equivalent double precision number. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/hx2dp_c.html :param string: Hex form string to convert to double precision. :...
[ "def", "hx2dp", "(", "string", ")", ":", "string", "=", "stypes", ".", "stringToCharP", "(", "string", ")", "lenout", "=", "ctypes", ".", "c_int", "(", "80", ")", "errmsg", "=", "stypes", ".", "stringToCharP", "(", "lenout", ")", "number", "=", "ctypes...
Convert a string representing a double precision number in a base 16 scientific notation into its equivalent double precision number. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/hx2dp_c.html :param string: Hex form string to convert to double precision. :type string: str :return: D...
[ "Convert", "a", "string", "representing", "a", "double", "precision", "number", "in", "a", "base", "16", "scientific", "notation", "into", "its", "equivalent", "double", "precision", "number", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L6809-L6832
14,762
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
ident
def ident(): """ This routine returns the 3x3 identity matrix. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ident_c.html :return: The 3x3 identity matrix. :rtype: 3x3-Element Array of floats """ matrix = stypes.emptyDoubleMatrix() libspice.ident_c(matrix) return stypes.c...
python
def ident(): """ This routine returns the 3x3 identity matrix. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ident_c.html :return: The 3x3 identity matrix. :rtype: 3x3-Element Array of floats """ matrix = stypes.emptyDoubleMatrix() libspice.ident_c(matrix) return stypes.c...
[ "def", "ident", "(", ")", ":", "matrix", "=", "stypes", ".", "emptyDoubleMatrix", "(", ")", "libspice", ".", "ident_c", "(", "matrix", ")", "return", "stypes", ".", "cMatrixToNumpy", "(", "matrix", ")" ]
This routine returns the 3x3 identity matrix. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ident_c.html :return: The 3x3 identity matrix. :rtype: 3x3-Element Array of floats
[ "This", "routine", "returns", "the", "3x3", "identity", "matrix", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L6840-L6851
14,763
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
inedpl
def inedpl(a, b, c, plane): """ Find the intersection of a triaxial ellipsoid and a plane. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/inedpl_c.html :param a: Length of ellipsoid semi-axis lying on the x-axis. :type a: float :param b: Length of ellipsoid semi-axis lying on the y-ax...
python
def inedpl(a, b, c, plane): """ Find the intersection of a triaxial ellipsoid and a plane. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/inedpl_c.html :param a: Length of ellipsoid semi-axis lying on the x-axis. :type a: float :param b: Length of ellipsoid semi-axis lying on the y-ax...
[ "def", "inedpl", "(", "a", ",", "b", ",", "c", ",", "plane", ")", ":", "assert", "(", "isinstance", "(", "plane", ",", "stypes", ".", "Plane", ")", ")", "ellipse", "=", "stypes", ".", "Ellipse", "(", ")", "a", "=", "ctypes", ".", "c_double", "(",...
Find the intersection of a triaxial ellipsoid and a plane. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/inedpl_c.html :param a: Length of ellipsoid semi-axis lying on the x-axis. :type a: float :param b: Length of ellipsoid semi-axis lying on the y-axis. :type b: float :param c: Len...
[ "Find", "the", "intersection", "of", "a", "triaxial", "ellipsoid", "and", "a", "plane", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7061-L7086
14,764
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
inelpl
def inelpl(ellips, plane): """ Find the intersection of an ellipse and a plane. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/inelpl_c.html :param ellips: A SPICE ellipse. :type plane: spiceypy.utils.support_types.Ellipse :param plane: A SPICE plane. :type plane: spiceypy.utils.s...
python
def inelpl(ellips, plane): """ Find the intersection of an ellipse and a plane. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/inelpl_c.html :param ellips: A SPICE ellipse. :type plane: spiceypy.utils.support_types.Ellipse :param plane: A SPICE plane. :type plane: spiceypy.utils.s...
[ "def", "inelpl", "(", "ellips", ",", "plane", ")", ":", "assert", "(", "isinstance", "(", "plane", ",", "stypes", ".", "Plane", ")", ")", "assert", "(", "isinstance", "(", "ellips", ",", "stypes", ".", "Ellipse", ")", ")", "nxpts", "=", "ctypes", "."...
Find the intersection of an ellipse and a plane. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/inelpl_c.html :param ellips: A SPICE ellipse. :type plane: spiceypy.utils.support_types.Ellipse :param plane: A SPICE plane. :type plane: spiceypy.utils.support_types.Plane :return: ...
[ "Find", "the", "intersection", "of", "an", "ellipse", "and", "a", "plane", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7090-L7113
14,765
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
inrypl
def inrypl(vertex, direct, plane): """ Find the intersection of a ray and a plane. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/inrypl_c.html :param vertex: Vertex vector of ray. :type vertex: 3-Element Array of floats :param direct: Direction vector of ray. :type direct: 3-Elem...
python
def inrypl(vertex, direct, plane): """ Find the intersection of a ray and a plane. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/inrypl_c.html :param vertex: Vertex vector of ray. :type vertex: 3-Element Array of floats :param direct: Direction vector of ray. :type direct: 3-Elem...
[ "def", "inrypl", "(", "vertex", ",", "direct", ",", "plane", ")", ":", "assert", "(", "isinstance", "(", "plane", ",", "stypes", ".", "Plane", ")", ")", "vertex", "=", "stypes", ".", "toDoubleVector", "(", "vertex", ")", "direct", "=", "stypes", ".", ...
Find the intersection of a ray and a plane. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/inrypl_c.html :param vertex: Vertex vector of ray. :type vertex: 3-Element Array of floats :param direct: Direction vector of ray. :type direct: 3-Element Array of floats :param plane: A SPICE p...
[ "Find", "the", "intersection", "of", "a", "ray", "and", "a", "plane", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7117-L7142
14,766
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
insrtc
def insrtc(item, inset): """ Insert an item into a character set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/insrtc_c.html :param item: Item to be inserted. :type item: str or list of str :param inset: Insertion set. :type inset: spiceypy.utils.support_types.SpiceCell """ ...
python
def insrtc(item, inset): """ Insert an item into a character set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/insrtc_c.html :param item: Item to be inserted. :type item: str or list of str :param inset: Insertion set. :type inset: spiceypy.utils.support_types.SpiceCell """ ...
[ "def", "insrtc", "(", "item", ",", "inset", ")", ":", "assert", "isinstance", "(", "inset", ",", "stypes", ".", "SpiceCell", ")", "if", "isinstance", "(", "item", ",", "list", ")", ":", "for", "c", "in", "item", ":", "libspice", ".", "insrtc_c", "(",...
Insert an item into a character set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/insrtc_c.html :param item: Item to be inserted. :type item: str or list of str :param inset: Insertion set. :type inset: spiceypy.utils.support_types.SpiceCell
[ "Insert", "an", "item", "into", "a", "character", "set", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7146-L7163
14,767
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
insrtd
def insrtd(item, inset): """ Insert an item into a double precision set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/insrtd_c.html :param item: Item to be inserted. :type item: Union[float,Iterable[float]] :param inset: Insertion set. :type inset: spiceypy.utils.support_types.S...
python
def insrtd(item, inset): """ Insert an item into a double precision set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/insrtd_c.html :param item: Item to be inserted. :type item: Union[float,Iterable[float]] :param inset: Insertion set. :type inset: spiceypy.utils.support_types.S...
[ "def", "insrtd", "(", "item", ",", "inset", ")", ":", "assert", "isinstance", "(", "inset", ",", "stypes", ".", "SpiceCell", ")", "if", "hasattr", "(", "item", ",", "\"__iter__\"", ")", ":", "for", "d", "in", "item", ":", "libspice", ".", "insrtd_c", ...
Insert an item into a double precision set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/insrtd_c.html :param item: Item to be inserted. :type item: Union[float,Iterable[float]] :param inset: Insertion set. :type inset: spiceypy.utils.support_types.SpiceCell
[ "Insert", "an", "item", "into", "a", "double", "precision", "set", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7167-L7184
14,768
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
insrti
def insrti(item, inset): """ Insert an item into an integer set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/insrti_c.html :param item: Item to be inserted. :type item: Union[float,Iterable[int]] :param inset: Insertion set. :type inset: spiceypy.utils.support_types.SpiceCell ...
python
def insrti(item, inset): """ Insert an item into an integer set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/insrti_c.html :param item: Item to be inserted. :type item: Union[float,Iterable[int]] :param inset: Insertion set. :type inset: spiceypy.utils.support_types.SpiceCell ...
[ "def", "insrti", "(", "item", ",", "inset", ")", ":", "assert", "isinstance", "(", "inset", ",", "stypes", ".", "SpiceCell", ")", "if", "hasattr", "(", "item", ",", "\"__iter__\"", ")", ":", "for", "i", "in", "item", ":", "libspice", ".", "insrti_c", ...
Insert an item into an integer set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/insrti_c.html :param item: Item to be inserted. :type item: Union[float,Iterable[int]] :param inset: Insertion set. :type inset: spiceypy.utils.support_types.SpiceCell
[ "Insert", "an", "item", "into", "an", "integer", "set", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7188-L7205
14,769
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
inter
def inter(a, b): """ Intersect two sets of any data type to form a third set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/inter_c.html :param a: First input set. :type a: spiceypy.utils.support_types.SpiceCell :param b: Second input set. :type b: spiceypy.utils.support_types.Sp...
python
def inter(a, b): """ Intersect two sets of any data type to form a third set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/inter_c.html :param a: First input set. :type a: spiceypy.utils.support_types.SpiceCell :param b: Second input set. :type b: spiceypy.utils.support_types.Sp...
[ "def", "inter", "(", "a", ",", "b", ")", ":", "assert", "isinstance", "(", "a", ",", "stypes", ".", "SpiceCell", ")", "assert", "isinstance", "(", "b", ",", "stypes", ".", "SpiceCell", ")", "assert", "a", ".", "dtype", "==", "b", ".", "dtype", "# N...
Intersect two sets of any data type to form a third set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/inter_c.html :param a: First input set. :type a: spiceypy.utils.support_types.SpiceCell :param b: Second input set. :type b: spiceypy.utils.support_types.SpiceCell :return: Intersec...
[ "Intersect", "two", "sets", "of", "any", "data", "type", "to", "form", "a", "third", "set", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7209-L7236
14,770
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
invert
def invert(m): """ Generate the inverse of a 3x3 matrix. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/invert_c.html :param m: Matrix to be inverted. :type m: 3x3-Element Array of floats :return: Inverted matrix (m1)^-1 :rtype: 3x3-Element Array of floats """ m = stypes.t...
python
def invert(m): """ Generate the inverse of a 3x3 matrix. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/invert_c.html :param m: Matrix to be inverted. :type m: 3x3-Element Array of floats :return: Inverted matrix (m1)^-1 :rtype: 3x3-Element Array of floats """ m = stypes.t...
[ "def", "invert", "(", "m", ")", ":", "m", "=", "stypes", ".", "toDoubleMatrix", "(", "m", ")", "mout", "=", "stypes", ".", "emptyDoubleMatrix", "(", ")", "libspice", ".", "invert_c", "(", "m", ",", "mout", ")", "return", "stypes", ".", "cMatrixToNumpy"...
Generate the inverse of a 3x3 matrix. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/invert_c.html :param m: Matrix to be inverted. :type m: 3x3-Element Array of floats :return: Inverted matrix (m1)^-1 :rtype: 3x3-Element Array of floats
[ "Generate", "the", "inverse", "of", "a", "3x3", "matrix", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7268-L7282
14,771
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
invort
def invort(m): """ Given a matrix, construct the matrix whose rows are the columns of the first divided by the length squared of the the corresponding columns of the input matrix. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/invort_c.html :param m: A 3x3 Matrix. :type m: 3x3-Ele...
python
def invort(m): """ Given a matrix, construct the matrix whose rows are the columns of the first divided by the length squared of the the corresponding columns of the input matrix. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/invort_c.html :param m: A 3x3 Matrix. :type m: 3x3-Ele...
[ "def", "invort", "(", "m", ")", ":", "m", "=", "stypes", ".", "toDoubleMatrix", "(", "m", ")", "mout", "=", "stypes", ".", "emptyDoubleMatrix", "(", ")", "libspice", ".", "invort_c", "(", "m", ",", "mout", ")", "return", "stypes", ".", "cMatrixToNumpy"...
Given a matrix, construct the matrix whose rows are the columns of the first divided by the length squared of the the corresponding columns of the input matrix. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/invort_c.html :param m: A 3x3 Matrix. :type m: 3x3-Element Array of floats :r...
[ "Given", "a", "matrix", "construct", "the", "matrix", "whose", "rows", "are", "the", "columns", "of", "the", "first", "divided", "by", "the", "length", "squared", "of", "the", "the", "corresponding", "columns", "of", "the", "input", "matrix", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7286-L7302
14,772
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
isordv
def isordv(array, n): """ Determine whether an array of n items contains the integers 0 through n-1. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/isordv_c.html :param array: Array of integers. :type array: Array of ints :param n: Number of integers in array. :type n: int ...
python
def isordv(array, n): """ Determine whether an array of n items contains the integers 0 through n-1. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/isordv_c.html :param array: Array of integers. :type array: Array of ints :param n: Number of integers in array. :type n: int ...
[ "def", "isordv", "(", "array", ",", "n", ")", ":", "array", "=", "stypes", ".", "toIntVector", "(", "array", ")", "n", "=", "ctypes", ".", "c_int", "(", "n", ")", "return", "bool", "(", "libspice", ".", "isordv_c", "(", "array", ",", "n", ")", ")...
Determine whether an array of n items contains the integers 0 through n-1. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/isordv_c.html :param array: Array of integers. :type array: Array of ints :param n: Number of integers in array. :type n: int :return: The function...
[ "Determine", "whether", "an", "array", "of", "n", "items", "contains", "the", "integers", "0", "through", "n", "-", "1", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7306-L7324
14,773
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
isrchc
def isrchc(value, ndim, lenvals, array): """ Search for a given value within a character string array. Return the index of the first matching array entry, or -1 if the key value was not found. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/isrchc_c.html :param value: Key value to be f...
python
def isrchc(value, ndim, lenvals, array): """ Search for a given value within a character string array. Return the index of the first matching array entry, or -1 if the key value was not found. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/isrchc_c.html :param value: Key value to be f...
[ "def", "isrchc", "(", "value", ",", "ndim", ",", "lenvals", ",", "array", ")", ":", "value", "=", "stypes", ".", "stringToCharP", "(", "value", ")", "array", "=", "stypes", ".", "listToCharArrayPtr", "(", "array", ",", "xLen", "=", "lenvals", ",", "yLe...
Search for a given value within a character string array. Return the index of the first matching array entry, or -1 if the key value was not found. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/isrchc_c.html :param value: Key value to be found in array. :type value: str :param ndim: ...
[ "Search", "for", "a", "given", "value", "within", "a", "character", "string", "array", ".", "Return", "the", "index", "of", "the", "first", "matching", "array", "entry", "or", "-", "1", "if", "the", "key", "value", "was", "not", "found", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7328-L7353
14,774
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
isrchd
def isrchd(value, ndim, array): """ Search for a given value within a double precision array. Return the index of the first matching array entry, or -1 if the key value was not found. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/isrchd_c.html :param value: Key value to be found in a...
python
def isrchd(value, ndim, array): """ Search for a given value within a double precision array. Return the index of the first matching array entry, or -1 if the key value was not found. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/isrchd_c.html :param value: Key value to be found in a...
[ "def", "isrchd", "(", "value", ",", "ndim", ",", "array", ")", ":", "value", "=", "ctypes", ".", "c_double", "(", "value", ")", "ndim", "=", "ctypes", ".", "c_int", "(", "ndim", ")", "array", "=", "stypes", ".", "toDoubleVector", "(", "array", ")", ...
Search for a given value within a double precision array. Return the index of the first matching array entry, or -1 if the key value was not found. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/isrchd_c.html :param value: Key value to be found in array. :type value: float :param ndim...
[ "Search", "for", "a", "given", "value", "within", "a", "double", "precision", "array", ".", "Return", "the", "index", "of", "the", "first", "matching", "array", "entry", "or", "-", "1", "if", "the", "key", "value", "was", "not", "found", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7357-L7379
14,775
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
isrchi
def isrchi(value, ndim, array): """ Search for a given value within an integer array. Return the index of the first matching array entry, or -1 if the key value was not found. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/isrchi_c.html :param value: Key value to be found in array. ...
python
def isrchi(value, ndim, array): """ Search for a given value within an integer array. Return the index of the first matching array entry, or -1 if the key value was not found. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/isrchi_c.html :param value: Key value to be found in array. ...
[ "def", "isrchi", "(", "value", ",", "ndim", ",", "array", ")", ":", "value", "=", "ctypes", ".", "c_int", "(", "value", ")", "ndim", "=", "ctypes", ".", "c_int", "(", "ndim", ")", "array", "=", "stypes", ".", "toIntVector", "(", "array", ")", "retu...
Search for a given value within an integer array. Return the index of the first matching array entry, or -1 if the key value was not found. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/isrchi_c.html :param value: Key value to be found in array. :type value: int :param ndim: Dimensio...
[ "Search", "for", "a", "given", "value", "within", "an", "integer", "array", ".", "Return", "the", "index", "of", "the", "first", "matching", "array", "entry", "or", "-", "1", "if", "the", "key", "value", "was", "not", "found", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7383-L7405
14,776
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
isrot
def isrot(m, ntol, dtol): """ Indicate whether a 3x3 matrix is a rotation matrix. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/isrot_c.html :param m: A matrix to be tested. :type m: 3x3-Element Array of floats :param ntol: Tolerance for the norms of the columns of m. :type ntol:...
python
def isrot(m, ntol, dtol): """ Indicate whether a 3x3 matrix is a rotation matrix. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/isrot_c.html :param m: A matrix to be tested. :type m: 3x3-Element Array of floats :param ntol: Tolerance for the norms of the columns of m. :type ntol:...
[ "def", "isrot", "(", "m", ",", "ntol", ",", "dtol", ")", ":", "m", "=", "stypes", ".", "toDoubleMatrix", "(", "m", ")", "ntol", "=", "ctypes", ".", "c_double", "(", "ntol", ")", "dtol", "=", "ctypes", ".", "c_double", "(", "dtol", ")", "return", ...
Indicate whether a 3x3 matrix is a rotation matrix. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/isrot_c.html :param m: A matrix to be tested. :type m: 3x3-Element Array of floats :param ntol: Tolerance for the norms of the columns of m. :type ntol: float :param dtol: ...
[ "Indicate", "whether", "a", "3x3", "matrix", "is", "a", "rotation", "matrix", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7409-L7429
14,777
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
iswhsp
def iswhsp(string): """ Return a boolean value indicating whether a string contains only white space characters. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/iswhsp_c.html :param string: String to be tested. :type string: str :return: the boolean value True if the st...
python
def iswhsp(string): """ Return a boolean value indicating whether a string contains only white space characters. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/iswhsp_c.html :param string: String to be tested. :type string: str :return: the boolean value True if the st...
[ "def", "iswhsp", "(", "string", ")", ":", "string", "=", "stypes", ".", "stringToCharP", "(", "string", ")", "return", "bool", "(", "libspice", ".", "iswhsp_c", "(", "string", ")", ")" ]
Return a boolean value indicating whether a string contains only white space characters. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/iswhsp_c.html :param string: String to be tested. :type string: str :return: the boolean value True if the string is empty or contains ...
[ "Return", "a", "boolean", "value", "indicating", "whether", "a", "string", "contains", "only", "white", "space", "characters", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7433-L7448
14,778
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
kdata
def kdata(which, kind, fillen=_default_len_out, typlen=_default_len_out, srclen=_default_len_out): """ Return data for the nth kernel that is among a list of specified kernel types. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/kdata_c.html :param which: Index of kernel to fetch from the...
python
def kdata(which, kind, fillen=_default_len_out, typlen=_default_len_out, srclen=_default_len_out): """ Return data for the nth kernel that is among a list of specified kernel types. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/kdata_c.html :param which: Index of kernel to fetch from the...
[ "def", "kdata", "(", "which", ",", "kind", ",", "fillen", "=", "_default_len_out", ",", "typlen", "=", "_default_len_out", ",", "srclen", "=", "_default_len_out", ")", ":", "which", "=", "ctypes", ".", "c_int", "(", "which", ")", "kind", "=", "stypes", "...
Return data for the nth kernel that is among a list of specified kernel types. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/kdata_c.html :param which: Index of kernel to fetch from the list of kernels. :type which: int :param kind: The kind of kernel to which fetches are limited. :t...
[ "Return", "data", "for", "the", "nth", "kernel", "that", "is", "among", "a", "list", "of", "specified", "kernel", "types", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7529-L7565
14,779
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
kinfo
def kinfo(file, typlen=_default_len_out, srclen=_default_len_out): """ Return information about a loaded kernel specified by name. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/kinfo_c.html :param file: Name of a kernel to fetch information for :type file: str :param typlen: Availabl...
python
def kinfo(file, typlen=_default_len_out, srclen=_default_len_out): """ Return information about a loaded kernel specified by name. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/kinfo_c.html :param file: Name of a kernel to fetch information for :type file: str :param typlen: Availabl...
[ "def", "kinfo", "(", "file", ",", "typlen", "=", "_default_len_out", ",", "srclen", "=", "_default_len_out", ")", ":", "typlen", "=", "ctypes", ".", "c_int", "(", "typlen", ")", "srclen", "=", "ctypes", ".", "c_int", "(", "srclen", ")", "file", "=", "s...
Return information about a loaded kernel specified by name. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/kinfo_c.html :param file: Name of a kernel to fetch information for :type file: str :param typlen: Available space in output kernel type string. :type typlen: int :param srclen: ...
[ "Return", "information", "about", "a", "loaded", "kernel", "specified", "by", "name", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7570-L7598
14,780
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
kplfrm
def kplfrm(frmcls, outCell=None): """ Return a SPICE set containing the frame IDs of all reference frames of a given class having specifications in the kernel pool. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/kplfrm_c.html :param frmcls: Frame class. :type frmcls: int :param ou...
python
def kplfrm(frmcls, outCell=None): """ Return a SPICE set containing the frame IDs of all reference frames of a given class having specifications in the kernel pool. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/kplfrm_c.html :param frmcls: Frame class. :type frmcls: int :param ou...
[ "def", "kplfrm", "(", "frmcls", ",", "outCell", "=", "None", ")", ":", "if", "not", "outCell", ":", "outCell", "=", "stypes", ".", "SPICEINT_CELL", "(", "1000", ")", "frmcls", "=", "ctypes", ".", "c_int", "(", "frmcls", ")", "libspice", ".", "kplfrm_c"...
Return a SPICE set containing the frame IDs of all reference frames of a given class having specifications in the kernel pool. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/kplfrm_c.html :param frmcls: Frame class. :type frmcls: int :param outCell: Optional output Spice Int Cell :typ...
[ "Return", "a", "SPICE", "set", "containing", "the", "frame", "IDs", "of", "all", "reference", "frames", "of", "a", "given", "class", "having", "specifications", "in", "the", "kernel", "pool", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7602-L7620
14,781
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
ktotal
def ktotal(kind): """ Return the current number of kernels that have been loaded via the KEEPER interface that are of a specified type. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ktotal_c.html :param kind: A list of kinds of kernels to count. :type kind: str :return: The numbe...
python
def ktotal(kind): """ Return the current number of kernels that have been loaded via the KEEPER interface that are of a specified type. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ktotal_c.html :param kind: A list of kinds of kernels to count. :type kind: str :return: The numbe...
[ "def", "ktotal", "(", "kind", ")", ":", "kind", "=", "stypes", ".", "stringToCharP", "(", "kind", ")", "count", "=", "ctypes", ".", "c_int", "(", ")", "libspice", ".", "ktotal_c", "(", "kind", ",", "ctypes", ".", "byref", "(", "count", ")", ")", "r...
Return the current number of kernels that have been loaded via the KEEPER interface that are of a specified type. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ktotal_c.html :param kind: A list of kinds of kernels to count. :type kind: str :return: The number of kernels of type kind. ...
[ "Return", "the", "current", "number", "of", "kernels", "that", "have", "been", "loaded", "via", "the", "KEEPER", "interface", "that", "are", "of", "a", "specified", "type", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7624-L7639
14,782
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
kxtrct
def kxtrct(keywd, terms, nterms, instring, termlen=_default_len_out, stringlen=_default_len_out, substrlen=_default_len_out): """ Locate a keyword in a string and extract the substring from the beginning of the first word following the keyword to the beginning of the first subsequent recognized terminat...
python
def kxtrct(keywd, terms, nterms, instring, termlen=_default_len_out, stringlen=_default_len_out, substrlen=_default_len_out): """ Locate a keyword in a string and extract the substring from the beginning of the first word following the keyword to the beginning of the first subsequent recognized terminat...
[ "def", "kxtrct", "(", "keywd", ",", "terms", ",", "nterms", ",", "instring", ",", "termlen", "=", "_default_len_out", ",", "stringlen", "=", "_default_len_out", ",", "substrlen", "=", "_default_len_out", ")", ":", "assert", "nterms", "<=", "len", "(", "terms...
Locate a keyword in a string and extract the substring from the beginning of the first word following the keyword to the beginning of the first subsequent recognized terminator of a list. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/kxtrct_c.html :param keywd: Word that marks the beginning ...
[ "Locate", "a", "keyword", "in", "a", "string", "and", "extract", "the", "substring", "from", "the", "beginning", "of", "the", "first", "word", "following", "the", "keyword", "to", "the", "beginning", "of", "the", "first", "subsequent", "recognized", "terminato...
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7644-L7687
14,783
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
latcyl
def latcyl(radius, lon, lat): """ Convert from latitudinal coordinates to cylindrical coordinates. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/latcyl_c.html :param radius: Distance of a point from the origin. :type radius: :param lon: Angle of the point from the XZ plane in radians...
python
def latcyl(radius, lon, lat): """ Convert from latitudinal coordinates to cylindrical coordinates. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/latcyl_c.html :param radius: Distance of a point from the origin. :type radius: :param lon: Angle of the point from the XZ plane in radians...
[ "def", "latcyl", "(", "radius", ",", "lon", ",", "lat", ")", ":", "radius", "=", "ctypes", ".", "c_double", "(", "radius", ")", "lon", "=", "ctypes", ".", "c_double", "(", "lon", ")", "lat", "=", "ctypes", ".", "c_double", "(", "lat", ")", "r", "...
Convert from latitudinal coordinates to cylindrical coordinates. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/latcyl_c.html :param radius: Distance of a point from the origin. :type radius: :param lon: Angle of the point from the XZ plane in radians. :param lat: Angle of the point from ...
[ "Convert", "from", "latitudinal", "coordinates", "to", "cylindrical", "coordinates", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7711-L7732
14,784
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
latrec
def latrec(radius, longitude, latitude): """ Convert from latitudinal coordinates to rectangular coordinates. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/latrec_c.html :param radius: Distance of a point from the origin. :type radius: float :param longitude: Longitude of point in ra...
python
def latrec(radius, longitude, latitude): """ Convert from latitudinal coordinates to rectangular coordinates. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/latrec_c.html :param radius: Distance of a point from the origin. :type radius: float :param longitude: Longitude of point in ra...
[ "def", "latrec", "(", "radius", ",", "longitude", ",", "latitude", ")", ":", "radius", "=", "ctypes", ".", "c_double", "(", "radius", ")", "longitude", "=", "ctypes", ".", "c_double", "(", "longitude", ")", "latitude", "=", "ctypes", ".", "c_double", "("...
Convert from latitudinal coordinates to rectangular coordinates. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/latrec_c.html :param radius: Distance of a point from the origin. :type radius: float :param longitude: Longitude of point in radians. :type longitude: float :param latitude...
[ "Convert", "from", "latitudinal", "coordinates", "to", "rectangular", "coordinates", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7736-L7756
14,785
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
latsph
def latsph(radius, lon, lat): """ Convert from latitudinal coordinates to spherical coordinates. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/latsph_c.html :param radius: Distance of a point from the origin. :param lon: Angle of the point from the XZ plane in radians. :param lat: An...
python
def latsph(radius, lon, lat): """ Convert from latitudinal coordinates to spherical coordinates. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/latsph_c.html :param radius: Distance of a point from the origin. :param lon: Angle of the point from the XZ plane in radians. :param lat: An...
[ "def", "latsph", "(", "radius", ",", "lon", ",", "lat", ")", ":", "radius", "=", "ctypes", ".", "c_double", "(", "radius", ")", "lon", "=", "ctypes", ".", "c_double", "(", "lon", ")", "lat", "=", "ctypes", ".", "c_double", "(", "lat", ")", "rho", ...
Convert from latitudinal coordinates to spherical coordinates. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/latsph_c.html :param radius: Distance of a point from the origin. :param lon: Angle of the point from the XZ plane in radians. :param lat: Angle of the point from the XY plane in radi...
[ "Convert", "from", "latitudinal", "coordinates", "to", "spherical", "coordinates", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7760-L7780
14,786
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
lcase
def lcase(instr, lenout=_default_len_out): """ Convert the characters in a string to lowercase. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lcase_c.html :param instr: Input string. :type instr: str :param lenout: Maximum length of output string. :type lenout: int :return: O...
python
def lcase(instr, lenout=_default_len_out): """ Convert the characters in a string to lowercase. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lcase_c.html :param instr: Input string. :type instr: str :param lenout: Maximum length of output string. :type lenout: int :return: O...
[ "def", "lcase", "(", "instr", ",", "lenout", "=", "_default_len_out", ")", ":", "instr", "=", "stypes", ".", "stringToCharP", "(", "instr", ")", "lenout", "=", "ctypes", ".", "c_int", "(", "lenout", ")", "outstr", "=", "stypes", ".", "stringToCharP", "("...
Convert the characters in a string to lowercase. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lcase_c.html :param instr: Input string. :type instr: str :param lenout: Maximum length of output string. :type lenout: int :return: Output string, all lowercase. :rtype: str
[ "Convert", "the", "characters", "in", "a", "string", "to", "lowercase", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7819-L7836
14,787
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
lmpool
def lmpool(cvals): """ Load the variables contained in an internal buffer into the kernel pool. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lmpool_c.html :param cvals: list of strings. :type cvals: list of str """ lenvals = ctypes.c_int(len(max(cvals, key=len)) + 1) n =...
python
def lmpool(cvals): """ Load the variables contained in an internal buffer into the kernel pool. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lmpool_c.html :param cvals: list of strings. :type cvals: list of str """ lenvals = ctypes.c_int(len(max(cvals, key=len)) + 1) n =...
[ "def", "lmpool", "(", "cvals", ")", ":", "lenvals", "=", "ctypes", ".", "c_int", "(", "len", "(", "max", "(", "cvals", ",", "key", "=", "len", ")", ")", "+", "1", ")", "n", "=", "ctypes", ".", "c_int", "(", "len", "(", "cvals", ")", ")", "cva...
Load the variables contained in an internal buffer into the kernel pool. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lmpool_c.html :param cvals: list of strings. :type cvals: list of str
[ "Load", "the", "variables", "contained", "in", "an", "internal", "buffer", "into", "the", "kernel", "pool", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7953-L7966
14,788
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
lparse
def lparse(inlist, delim, nmax): """ Parse a list of items delimited by a single character. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lparse_c.html :param inlist: list of items delimited by delim. :type inlist: list :param delim: Single character used to delimit items. :type ...
python
def lparse(inlist, delim, nmax): """ Parse a list of items delimited by a single character. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lparse_c.html :param inlist: list of items delimited by delim. :type inlist: list :param delim: Single character used to delimit items. :type ...
[ "def", "lparse", "(", "inlist", ",", "delim", ",", "nmax", ")", ":", "delim", "=", "stypes", ".", "stringToCharP", "(", "delim", ")", "lenout", "=", "ctypes", ".", "c_int", "(", "len", "(", "inlist", ")", ")", "inlist", "=", "stypes", ".", "stringToC...
Parse a list of items delimited by a single character. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lparse_c.html :param inlist: list of items delimited by delim. :type inlist: list :param delim: Single character used to delimit items. :type delim: str :param nmax: Maximum number of...
[ "Parse", "a", "list", "of", "items", "delimited", "by", "a", "single", "character", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7970-L7993
14,789
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
lparsm
def lparsm(inlist, delims, nmax, lenout=None): """ Parse a list of items separated by multiple delimiters. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lparsm_c.html :param inlist: list of items delimited by delims. :type inlist: list of strings :param delims: Single characters whic...
python
def lparsm(inlist, delims, nmax, lenout=None): """ Parse a list of items separated by multiple delimiters. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lparsm_c.html :param inlist: list of items delimited by delims. :type inlist: list of strings :param delims: Single characters whic...
[ "def", "lparsm", "(", "inlist", ",", "delims", ",", "nmax", ",", "lenout", "=", "None", ")", ":", "if", "lenout", "is", "None", ":", "lenout", "=", "ctypes", ".", "c_int", "(", "len", "(", "inlist", ")", "+", "1", ")", "else", ":", "lenout", "=",...
Parse a list of items separated by multiple delimiters. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lparsm_c.html :param inlist: list of items delimited by delims. :type inlist: list of strings :param delims: Single characters which delimit items. :type delims: str :param nmax: Max...
[ "Parse", "a", "list", "of", "items", "separated", "by", "multiple", "delimiters", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L7997-L8024
14,790
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
lparss
def lparss(inlist, delims, NMAX=20, LENGTH=50): """ Parse a list of items separated by multiple delimiters, placing the resulting items into a set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lparss_c.html :param inlist: list of items delimited by delims. :type inlist: :param d...
python
def lparss(inlist, delims, NMAX=20, LENGTH=50): """ Parse a list of items separated by multiple delimiters, placing the resulting items into a set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lparss_c.html :param inlist: list of items delimited by delims. :type inlist: :param d...
[ "def", "lparss", "(", "inlist", ",", "delims", ",", "NMAX", "=", "20", ",", "LENGTH", "=", "50", ")", ":", "inlist", "=", "stypes", ".", "stringToCharP", "(", "inlist", ")", "delims", "=", "stypes", ".", "stringToCharP", "(", "delims", ")", "returnSet"...
Parse a list of items separated by multiple delimiters, placing the resulting items into a set. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lparss_c.html :param inlist: list of items delimited by delims. :type inlist: :param delims: Single characters which delimit items. :type deli...
[ "Parse", "a", "list", "of", "items", "separated", "by", "multiple", "delimiters", "placing", "the", "resulting", "items", "into", "a", "set", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L8028-L8050
14,791
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
lspcn
def lspcn(body, et, abcorr): """ Compute L_s, the planetocentric longitude of the sun, as seen from a specified body. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lspcn_c.html :param body: Name of central body. :type body: str :param et: Epoch in seconds past J2000 TDB. :typ...
python
def lspcn(body, et, abcorr): """ Compute L_s, the planetocentric longitude of the sun, as seen from a specified body. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lspcn_c.html :param body: Name of central body. :type body: str :param et: Epoch in seconds past J2000 TDB. :typ...
[ "def", "lspcn", "(", "body", ",", "et", ",", "abcorr", ")", ":", "body", "=", "stypes", ".", "stringToCharP", "(", "body", ")", "et", "=", "ctypes", ".", "c_double", "(", "et", ")", "abcorr", "=", "stypes", ".", "stringToCharP", "(", "abcorr", ")", ...
Compute L_s, the planetocentric longitude of the sun, as seen from a specified body. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lspcn_c.html :param body: Name of central body. :type body: str :param et: Epoch in seconds past J2000 TDB. :type et: float :param abcorr: Aberration...
[ "Compute", "L_s", "the", "planetocentric", "longitude", "of", "the", "sun", "as", "seen", "from", "a", "specified", "body", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L8054-L8073
14,792
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
lstlec
def lstlec(string, n, lenvals, array): """ Given a character string and an ordered array of character strings, find the index of the largest array element less than or equal to the given string. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lstlec_c.html :param string: Upper bound va...
python
def lstlec(string, n, lenvals, array): """ Given a character string and an ordered array of character strings, find the index of the largest array element less than or equal to the given string. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lstlec_c.html :param string: Upper bound va...
[ "def", "lstlec", "(", "string", ",", "n", ",", "lenvals", ",", "array", ")", ":", "string", "=", "stypes", ".", "stringToCharP", "(", "string", ")", "array", "=", "stypes", ".", "listToCharArrayPtr", "(", "array", ",", "xLen", "=", "lenvals", ",", "yLe...
Given a character string and an ordered array of character strings, find the index of the largest array element less than or equal to the given string. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lstlec_c.html :param string: Upper bound value to search against. :type string: str :p...
[ "Given", "a", "character", "string", "and", "an", "ordered", "array", "of", "character", "strings", "find", "the", "index", "of", "the", "largest", "array", "element", "less", "than", "or", "equal", "to", "the", "given", "string", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L8077-L8102
14,793
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
lstled
def lstled(x, n, array): """ Given a number x and an array of non-decreasing floats find the index of the largest array element less than or equal to x. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lstled_c.html :param x: Value to search against. :type x: float :param n: Number ...
python
def lstled(x, n, array): """ Given a number x and an array of non-decreasing floats find the index of the largest array element less than or equal to x. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lstled_c.html :param x: Value to search against. :type x: float :param n: Number ...
[ "def", "lstled", "(", "x", ",", "n", ",", "array", ")", ":", "array", "=", "stypes", ".", "toDoubleVector", "(", "array", ")", "x", "=", "ctypes", ".", "c_double", "(", "x", ")", "n", "=", "ctypes", ".", "c_int", "(", "n", ")", "return", "libspic...
Given a number x and an array of non-decreasing floats find the index of the largest array element less than or equal to x. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lstled_c.html :param x: Value to search against. :type x: float :param n: Number elements in array. :type n: int ...
[ "Given", "a", "number", "x", "and", "an", "array", "of", "non", "-", "decreasing", "floats", "find", "the", "index", "of", "the", "largest", "array", "element", "less", "than", "or", "equal", "to", "x", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L8106-L8125
14,794
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
lstlei
def lstlei(x, n, array): """ Given a number x and an array of non-decreasing ints, find the index of the largest array element less than or equal to x. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lstlei_c.html :param x: Value to search against. :type x: int :param n: Number ele...
python
def lstlei(x, n, array): """ Given a number x and an array of non-decreasing ints, find the index of the largest array element less than or equal to x. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lstlei_c.html :param x: Value to search against. :type x: int :param n: Number ele...
[ "def", "lstlei", "(", "x", ",", "n", ",", "array", ")", ":", "array", "=", "stypes", ".", "toIntVector", "(", "array", ")", "x", "=", "ctypes", ".", "c_int", "(", "x", ")", "n", "=", "ctypes", ".", "c_int", "(", "n", ")", "return", "libspice", ...
Given a number x and an array of non-decreasing ints, find the index of the largest array element less than or equal to x. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lstlei_c.html :param x: Value to search against. :type x: int :param n: Number elements in array. :type n: int ...
[ "Given", "a", "number", "x", "and", "an", "array", "of", "non", "-", "decreasing", "ints", "find", "the", "index", "of", "the", "largest", "array", "element", "less", "than", "or", "equal", "to", "x", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L8129-L8148
14,795
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
lstltc
def lstltc(string, n, lenvals, array): """ Given a character string and an ordered array of character strings, find the index of the largest array element less than the given string. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lstltc_c.html :param string: Upper bound value to searc...
python
def lstltc(string, n, lenvals, array): """ Given a character string and an ordered array of character strings, find the index of the largest array element less than the given string. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lstltc_c.html :param string: Upper bound value to searc...
[ "def", "lstltc", "(", "string", ",", "n", ",", "lenvals", ",", "array", ")", ":", "string", "=", "stypes", ".", "stringToCharP", "(", "string", ")", "array", "=", "stypes", ".", "listToCharArrayPtr", "(", "array", ",", "xLen", "=", "lenvals", ",", "yLe...
Given a character string and an ordered array of character strings, find the index of the largest array element less than the given string. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lstltc_c.html :param string: Upper bound value to search against. :type string: int :param n: Numb...
[ "Given", "a", "character", "string", "and", "an", "ordered", "array", "of", "character", "strings", "find", "the", "index", "of", "the", "largest", "array", "element", "less", "than", "the", "given", "string", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L8152-L8177
14,796
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
lstltd
def lstltd(x, n, array): """ Given a number x and an array of non-decreasing floats find the index of the largest array element less than x. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lstltd_c.html :param x: Value to search against :type x: float :param n: Number elements in a...
python
def lstltd(x, n, array): """ Given a number x and an array of non-decreasing floats find the index of the largest array element less than x. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lstltd_c.html :param x: Value to search against :type x: float :param n: Number elements in a...
[ "def", "lstltd", "(", "x", ",", "n", ",", "array", ")", ":", "array", "=", "stypes", ".", "toDoubleVector", "(", "array", ")", "x", "=", "ctypes", ".", "c_double", "(", "x", ")", "n", "=", "ctypes", ".", "c_int", "(", "n", ")", "return", "libspic...
Given a number x and an array of non-decreasing floats find the index of the largest array element less than x. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lstltd_c.html :param x: Value to search against :type x: float :param n: Number elements in array :type n: int :param arra...
[ "Given", "a", "number", "x", "and", "an", "array", "of", "non", "-", "decreasing", "floats", "find", "the", "index", "of", "the", "largest", "array", "element", "less", "than", "x", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L8181-L8200
14,797
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
lstlti
def lstlti(x, n, array): """ Given a number x and an array of non-decreasing int, find the index of the largest array element less than x. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lstlti_c.html :param x: Value to search against :type x: int :param n: Number elements in array...
python
def lstlti(x, n, array): """ Given a number x and an array of non-decreasing int, find the index of the largest array element less than x. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lstlti_c.html :param x: Value to search against :type x: int :param n: Number elements in array...
[ "def", "lstlti", "(", "x", ",", "n", ",", "array", ")", ":", "array", "=", "stypes", ".", "toIntVector", "(", "array", ")", "x", "=", "ctypes", ".", "c_int", "(", "x", ")", "n", "=", "ctypes", ".", "c_int", "(", "n", ")", "return", "libspice", ...
Given a number x and an array of non-decreasing int, find the index of the largest array element less than x. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lstlti_c.html :param x: Value to search against :type x: int :param n: Number elements in array :type n: int :param array: A...
[ "Given", "a", "number", "x", "and", "an", "array", "of", "non", "-", "decreasing", "int", "find", "the", "index", "of", "the", "largest", "array", "element", "less", "than", "x", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L8204-L8223
14,798
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
lx4dec
def lx4dec(string, first): """ Scan a string from a specified starting position for the end of a decimal number. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lx4dec_c.html :param string: Any character string. :type string: str :param first: First character to scan from in string...
python
def lx4dec(string, first): """ Scan a string from a specified starting position for the end of a decimal number. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lx4dec_c.html :param string: Any character string. :type string: str :param first: First character to scan from in string...
[ "def", "lx4dec", "(", "string", ",", "first", ")", ":", "string", "=", "stypes", ".", "stringToCharP", "(", "string", ")", "first", "=", "ctypes", ".", "c_int", "(", "first", ")", "last", "=", "ctypes", ".", "c_int", "(", ")", "nchar", "=", "ctypes",...
Scan a string from a specified starting position for the end of a decimal number. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lx4dec_c.html :param string: Any character string. :type string: str :param first: First character to scan from in string. :type first: int :return: las...
[ "Scan", "a", "string", "from", "a", "specified", "starting", "position", "for", "the", "end", "of", "a", "decimal", "number", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L8259-L8278
14,799
AndrewAnnex/SpiceyPy
spiceypy/spiceypy.py
lx4num
def lx4num(string, first): """ Scan a string from a specified starting position for the end of a number. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lx4num_c.html :param string: Any character string. :type string: str :param first: First character to scan from in string. :t...
python
def lx4num(string, first): """ Scan a string from a specified starting position for the end of a number. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lx4num_c.html :param string: Any character string. :type string: str :param first: First character to scan from in string. :t...
[ "def", "lx4num", "(", "string", ",", "first", ")", ":", "string", "=", "stypes", ".", "stringToCharP", "(", "string", ")", "first", "=", "ctypes", ".", "c_int", "(", "first", ")", "last", "=", "ctypes", ".", "c_int", "(", ")", "nchar", "=", "ctypes",...
Scan a string from a specified starting position for the end of a number. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lx4num_c.html :param string: Any character string. :type string: str :param first: First character to scan from in string. :type first: int :return: last and nc...
[ "Scan", "a", "string", "from", "a", "specified", "starting", "position", "for", "the", "end", "of", "a", "number", "." ]
fc20a9b9de68b58eed5b332f0c051fb343a6e335
https://github.com/AndrewAnnex/SpiceyPy/blob/fc20a9b9de68b58eed5b332f0c051fb343a6e335/spiceypy/spiceypy.py#L8282-L8301