A B C D E F G I J L M N O P R S T U V W Y Z

A

a - Variable in class cds.astro.Parsing
The text as an array of chars
acceptAsNaN(String) - Method in class cds.astro.Astroformat
Give alternative representation of nulls.
addSymbol(String, String, String) - Static method in class cds.astro.Unit
Introduce a new Symbol into the list of Symbols.
addSymbol(String, String) - Static method in class cds.astro.Unit
Introduce a new Symbol into the list of Symbols.
advance(int) - Method in class cds.astro.Parsing
Move (forward / backward) in the Parsing piece
ARCSEC - Static variable in class cds.astro.AstroMath
 
asinc(double) - Static method in class cds.astro.AstroMath
Function asinc(x), inverse function of sinc
asind(double) - Static method in class cds.astro.AstroMath
sin-1 (inverse function of sine), gives argument in degrees
Astroformat - Class in cds.astro
This class contains definitions used in Parsing and Editing of numbers, and the default representation of the NaN (null) value.
Astroformat() - Constructor for class cds.astro.Astroformat
Create an Astroformat with the defaut "---" edition for NULL values.
Astroformat(String) - Constructor for class cds.astro.Astroformat
Create an Astroformat with the defaut "---" edition for NULL values.
AstroMath - Class in cds.astro
Trigonometric and a few other functions used in the astronomical context.
AstroMath() - Constructor for class cds.astro.AstroMath
 
Astrotime - Class in cds.astro
The astronomical time may be expressed in (Modified) Julian Days, Julian Years or Besselian years.
Astrotime() - Constructor for class cds.astro.Astrotime
Default contructor (undefined time)
Astrotime(String) - Constructor for class cds.astro.Astrotime
Constructor from a String.
atan2d(double, double) - Static method in class cds.astro.AstroMath
get the polar angle from 2-D cartesian coordinates
atand(double) - Static method in class cds.astro.AstroMath
tan-1 (inverse function of tangent), gives argument in degrees
atanh(double) - Static method in class cds.astro.AstroMath
tanh-1 (inverse function of tanh)

B

B2J(double) - Static method in class cds.astro.Astrotime
Conversion of a Besselian epoch to a Julian epoch
B2JD(double) - Static method in class cds.astro.Astrotime
Conversion of a Besselian epoch to a Julian Date
Byr - Static variable in class cds.astro.Astrotime
Value of Besselian Year in days

C

cds.astro - package cds.astro
 
checkSymbol(String) - Static method in class cds.astro.Unit
Check whether a symbol exists.
convert(double) - Method in class cds.astro.Converter
Convert a number.
convert(String) - Method in class cds.astro.Converter
Convert a value.
convert(Unit, Unit) - Static method in class cds.astro.Unit
Convert a unit+value into another unit+value.
Converter - Class in cds.astro
This class, tightly connected to the Unit class, gathers non-standard unit conversions.
Converter(String, String) - Constructor for class cds.astro.Converter
Creation of a standard converter.
Converter(String, String, double) - Constructor for class cds.astro.Converter
Creation (and registration) of a unit converter.
convertFrom(Unit) - Method in class cds.astro.Unit
Convert the value in argument to the target Unit.
convertTo(Unit) - Method in class cds.astro.Unit
Convert the value into another unit.
convertUnit(Unit, Unit) - Static method in class cds.astro.Unit
Convert a unit+value into another unit+value.
cosd(double) - Static method in class cds.astro.AstroMath
Cosine when argument in degrees
cosh(double) - Static method in class cds.astro.AstroMath
Hyperbolic cosine cosh = (exp(x) + exp(-x))/2
currentChar() - Method in class cds.astro.Parsing
Get the current char

D

DATE - Static variable in class cds.astro.Astroformat
The number represents a date; variants follow
DATE_alpha - Static variable in class cds.astro.Astroformat
Format of date contains alphabetical month
DATE_COMP - Static variable in class cds.astro.Astroformat
Number represents a date (returned as MJD)
DATE_DIFF - Static variable in class cds.astro.Astroformat
Time expressed as days (elapsed time)
DATE_DMY - Static variable in class cds.astro.Astroformat
Format of date is Day Month Year
DATE_DY - Static variable in class cds.astro.Astroformat
Format of date is Day and Year, day in range [1..366]
DATE_MDY - Static variable in class cds.astro.Astroformat
Format of date is Month Day Year
DATE_MY - Static variable in class cds.astro.Astroformat
Format of date is Year and Month
DATE_MYD - Static variable in class cds.astro.Astroformat
Format of date is Month Year Day
DATE_YD - Static variable in class cds.astro.Astroformat
Format of date is Year and Day, day in range [1..366]
DATE_YM - Static variable in class cds.astro.Astroformat
Format of date is Year and Month
DATE_YMD - Static variable in class cds.astro.Astroformat
Format of date is Year Month Day
DEBUG - Static variable in class cds.astro.Editing
Debugging option
DEBUG - Static variable in class cds.astro.Parsing
Debugging level
DECIMAL - Static variable in class cds.astro.Astroformat
Format of number is decimal
decimals() - Method in class cds.astro.Parsing
Retrieves the number of decimals of the last parsed number.
DEG - Static variable in class cds.astro.AstroMath
 
dexp(int) - Static method in class cds.astro.AstroMath
Compute just 10n
dexp(double) - Static method in class cds.astro.AstroMath
Compute just 10x
dexp() - Method in class cds.astro.Unit
Convert a value to its linear scale
digits() - Method in class cds.astro.Parsing
Retrieves the number of significant digits of the last parsed number.
dimension() - Method in class cds.astro.Unit
Physical dimension of a unit.
div(Unit) - Method in class cds.astro.Unit
Division of 2 quantities.
dump(String) - Method in class cds.astro.Astrotime
Dump the time contents.
dump(String) - Method in class cds.astro.Converter
Dump the object
dump(String) - Method in class cds.astro.Unit
Dump the details.

E

ed - Static variable in class cds.astro.Astrotime
The default choices of the edition for this class
edit(StringBuffer, int, int) - Method in class cds.astro.Editing
Edition of an integer number, right-aligned, with default options.
edit(StringBuffer) - Method in class cds.astro.Unit
Edition of the quantity.
editComplex(StringBuffer, double, String) - Method in class cds.astro.Editing
Edit a complex number (date, time, angle).
editDate(StringBuffer, int) - Method in class cds.astro.Editing
Edition of a MJD date into an ISO-8601 date YYYY-MM-DD
editDate(StringBuffer, int, int) - Method in class cds.astro.Editing
Edition of a MJD date into an ISO-8601 date YYYY-MM-DD
editDate(StringBuffer, double, int, int) - Method in class cds.astro.Editing
Edition of a MJD date into an ISO-8601 date YYYY-MM-DDThh:mm:ss[...]
editDecimal(StringBuffer, double, int, int, int) - Method in class cds.astro.Editing
Edition of a single floating-point number (%f).
editDimension(StringBuffer) - Method in class cds.astro.Unit
Edit the physical dimension of a unit.
editDouble(StringBuffer, double, int, int, int) - Method in class cds.astro.Editing
Edition of a single floating-point number (%g or %e).
editDouble(StringBuffer, double, int) - Method in class cds.astro.Editing
Edition of a single floating-point number (%g or %e).
editedValue() - Method in class cds.astro.Unit
String represntation of the value.
editFlags(StringBuffer, int, String[]) - Method in class cds.astro.Editing
Edit a number considered as a set of bits.
editInfinite(StringBuffer, int, int) - Method in class cds.astro.Editing
Assignment to Infinity represention, right-aligned.
Editing - Class in cds.astro
Class for 'nice' edition of numbers.
Editing() - Constructor for class cds.astro.Editing
The basic constructor: default NaN edition is "-".
Editing(String) - Constructor for class cds.astro.Editing
Constructor specifying the NaN representation, and default options.
editInt(StringBuffer, int, int, int) - Method in class cds.astro.Editing
Edition of an integer number, right-aligned, with user-specified options.
editLong(StringBuffer, long, int, int) - Method in class cds.astro.Editing
Edition of a long integer number, right-aligned, with user-specified options.
editNaN(StringBuffer, int) - Method in class cds.astro.Editing
Assignment to NaN represention.
editSexa(StringBuffer, double, int, int, int) - Method in class cds.astro.Editing
Edition of a single floating-point number in Sexagesimal.
editValue(StringBuffer) - Method in class cds.astro.Unit
Edit the value in a StringBuffer
EFORMAT - Static variable in class cds.astro.Astroformat
Format of number contains the E notation
equals(Object) - Method in class cds.astro.Unit
Check whether 2 quantities are equal.
ERROR - Static variable in class cds.astro.Parsing
The last (sexagesimal) parsing has a component greater than 60
error_message - Variable in class cds.astro.Parsing
Error message, if any (only in parseComplex)
explain(int) - Static method in class cds.astro.Astroformat
Explain the 'form' of the last parsed number
explainComplex(String) - Static method in class cds.astro.Astroformat
Explain the conventions of "complex" templates.
explainUnit(String) - Static method in class cds.astro.Unit
Explain the unit given in argument.
explainUnit() - Method in class cds.astro.Unit
Give a full explanation of the unit.

F

FACTOR - Static variable in class cds.astro.Astroformat
Format of number is of the form mantissax10±exp
factor - Variable in class cds.astro.Converter
The conversion factor, if used (target = factor * source)
form() - Method in class cds.astro.Parsing
Retrieves the 'format' of the last parsed number as a string.
format() - Method in class cds.astro.Parsing
Retrieves the 'format' of the last parsed number.

G

getByr() - Method in class cds.astro.Astrotime
Get the time expressed in Besselian yr
getConverter(String, String) - Static method in class cds.astro.Unit
Retrieve a special converter.
getJD() - Method in class cds.astro.Astrotime
Get the time expressed in JD
getJyr() - Method in class cds.astro.Astrotime
Get the time expressed in Julian yr
getMessage() - Method in class cds.astro.Parsing
About the last parsed number: get the error message
getMJD() - Method in class cds.astro.Astrotime
Get the time expressed in MJD (JD-2400000.5)
getSIdim() - Method in class cds.astro.Unit
Get a representation of the unit dimension.
getSIunit() - Method in class cds.astro.Unit
Get the unit expressed in terms of SI units.
getSIvalue() - Method in class cds.astro.Unit
Get the value converted to SI system
getTime() - Method in class cds.astro.Astrotime
Get the time expressed in milliseconds since 1 Jan 1970
getUnit() - Method in class cds.astro.Unit
Get the unit symbol (identical to unit.symbol)
getValue() - Method in class cds.astro.Unit
Get the value of a unit (identical to unit.value)
gobbleSpaces() - Method in class cds.astro.Parsing
Skip the spaces in the Parsing unit

I

inError() - Method in class cds.astro.Parsing
About the last parsed number: was it in error ?
inf_string - Variable in class cds.astro.Editing
How the Infinite is represented -- default is Inf
isAngle(int) - Static method in class cds.astro.Astroformat
Test whether a format indicates Angle (dms or °'").
isAngle() - Method in class cds.astro.Parsing
About the last parsed number: was it expressed as angle (° or d)
isCompatibleWith(Unit) - Method in class cds.astro.Unit
Checks whether 2 units are compatible.
isDate(int) - Static method in class cds.astro.Astroformat
Test whether a format indicates a Date (YMD).
isDate() - Method in class cds.astro.Parsing
About the last parsed number: was it expressed as a date ?
isDays(int) - Static method in class cds.astro.Astroformat
Test whether a format indicates a number of days.
isDays() - Method in class cds.astro.Parsing
About the last parsed number: does it represent days (date_diff) ?
isSexa(int) - Static method in class cds.astro.Astroformat
Test whether a format indicates a Sexagesimal coding.
isSexa() - Method in class cds.astro.Parsing
About the last parsed number: was it sexagesimal ?
isTime(int) - Static method in class cds.astro.Astroformat
Test whether a format indicates Time (hms).
isTime() - Method in class cds.astro.Parsing
About the last parsed number: was it expressed as time (hms) ?
isUnitless() - Method in class cds.astro.Unit
Checks whether a number has no unit (is unitless)

J

J2B(double) - Static method in class cds.astro.Astrotime
Conversion of a Julian epoch to a Besselian epoch
J2JD(double) - Static method in class cds.astro.Astrotime
Conversion of a Julian epoch to a Julian Date
JD2B(double) - Static method in class cds.astro.Astrotime
Conversion of a Julian Date to a Besselian epoch
JD2J(double) - Static method in class cds.astro.Astrotime
Conversion of a Julian Date to a Julian epoch
JD2MJD(double) - Static method in class cds.astro.Astrotime
Conversion of a JD to MJD
JD2ms(double) - Static method in class cds.astro.Astrotime
Conversion of a Julian Date to a Milliseconds since 1 January 1970
JD2YMD(double, int[]) - Static method in class cds.astro.Astrotime
Conversion of a Julian Date into a calendar year/month/day.
JD_1970 - Static variable in class cds.astro.Astrotime
Julian date of 1 Jan 1970
JD_B1900 - Static variable in class cds.astro.Astrotime
Julian date of B1900 epoch
JD_J2000 - Static variable in class cds.astro.Astrotime
Julian date of J2000 epoch
JD_MJD0 - Static variable in class cds.astro.Astrotime
Modified Julian date
Jyr - Static variable in class cds.astro.Astrotime
Value of the Julian Year in days

L

length - Variable in class cds.astro.Parsing
The length of the array, can be shorter than the actual size
log(double) - Static method in class cds.astro.AstroMath
Compute the log base 10
log() - Method in class cds.astro.Unit
Convert a value to a decimal log scale
lookup(char[]) - Method in class cds.astro.Parsing
Try to match a Character from a list.
lookup(String[], int) - Method in class cds.astro.Parsing
Try to match a Symbol in a defined piece of the text.
lookup(String[]) - Method in class cds.astro.Parsing
Try to match a Symbol in the current text.
lookupIgnoreCase(String[]) - Method in class cds.astro.Parsing
Try to match a Symbol in the current text, case insensitive.

M

m3p(double[][], double[][]) - Static method in class cds.astro.AstroMath
3-Matrices Products
m3t(double[][]) - Static method in class cds.astro.AstroMath
Transposed of a Matrix
mag() - Method in class cds.astro.Unit
Convert a value to a mag scale
main(String[]) - Static method in class cds.astro.tUnit
 
match(char) - Method in class cds.astro.Parsing
Verify we're starting by a specific character
match(String) - Method in class cds.astro.Parsing
Verify we're starting by a specific string.
matchingBracket() - Method in class cds.astro.Parsing
From current position assumed to contain a parenthesis or bracket, return the location of the corresponding parenthesis.
matchingQuote() - Method in class cds.astro.Parsing
From current position assumed to contain a Quote (' " or `) return location of the matching quote.
minus(Unit) - Method in class cds.astro.Unit
Subtraction of 2 quantities.
mjd - Variable in class cds.astro.Astrotime
The actual date/epoch is stored as MJD value (JD-2400000.5)
MJD2JD(double) - Static method in class cds.astro.Astrotime
Conversion of a MJD to JD
month_list - Static variable in class cds.astro.Astroformat
The standard edition of month names
ms2JD(long) - Static method in class cds.astro.Astrotime
Conversion of a calendar time expressed in Milliseconds to a Julian Date
mult(double) - Method in class cds.astro.Unit
Multiplication by a Scalar.
mult(Unit) - Method in class cds.astro.Unit
Multiplication of 2 quantities.

N

nulls - Variable in class cds.astro.Astroformat
The default way of representing the NULL (unknown) numbers .

O

offset - Static variable in class cds.astro.Astrotime
Origin of the different time scales from MJD0 (1858-11-17T00:00:00)
OK - Static variable in class cds.astro.Parsing
The status of the last parsing operation is OK

P

parse(String, int) - Method in class cds.astro.Astrotime
Interpret a string for a time.
parse(String, int) - Method in class cds.astro.Unit
Examine a String for a Unit + Value
parseArray(double[]) - Method in class cds.astro.Parsing
Interpret an array (several numbers).
parseComplex(String) - Method in class cds.astro.Parsing
Interpret some Complex number (date, sexagesimal).
parseDate() - Method in class cds.astro.Parsing
Interpret a Date.
parseDecimal() - Method in class cds.astro.Parsing
Interpret a real number as (+/-)num.decimals.
parseDouble() - Method in class cds.astro.Parsing
Interpret a real number as (+/-)numE+/-pow.
parseFactor() - Method in class cds.astro.Parsing
Interpret a real number as (+/-)numx10+pow OR (+/-)numE+pow.
parseInt() - Method in class cds.astro.Parsing
Try to match an Integer Number.
parseLong() - Method in class cds.astro.Parsing
Try to match a Long Integer Number.
parseNaN() - Method in class cds.astro.Parsing
Try to match one of the possible NaN representations.
parsePositiveInt() - Method in class cds.astro.Parsing
Try to match a Positive Integer Number.
parseSexa() - Method in class cds.astro.Parsing
Interpret a sexagesimal number.
parseSexa2() - Method in class cds.astro.Parsing
Interpret the first of 2 sexagesimal numbers.
parseUnit(String, int) - Method in class cds.astro.Unit
Look in the input string for a Unit
parseValue(String, int) - Method in class cds.astro.Unit
Look in the input string for a value
parseWithError(double[]) - Method in class cds.astro.Parsing
Interpret a number + Error.
parsing(Parsing) - Method in class cds.astro.Astrotime
Interpret a string for a time.
Parsing - Class in cds.astro
This class interprets text and is able to convert to numbers, or find a symbol in a list of symbols.
Parsing(String) - Constructor for class cds.astro.Parsing
Create a Parsing unit from a string
Parsing(String, int) - Constructor for class cds.astro.Parsing
Create a Parsing unit from a string + offset
parsing(Parsing) - Method in class cds.astro.Unit
Interpret a string for a value + Unit.
pic1 - Static variable in class cds.astro.Astroformat
The interesting pictures for Complex numbers
pic1_explain - Static variable in class cds.astro.Astroformat
Explanation of the meaning
plus(Unit) - Method in class cds.astro.Unit
Addition of 2 quantities.
pos - Variable in class cds.astro.Parsing
The current position in the array
power(int) - Method in class cds.astro.Unit
Compute the Power of a number/unit
powers - Static variable in class cds.astro.AstroMath
 
precision - Variable in class cds.astro.Astrotime
The original precision = number of decimals + 1 (in specified unit); it's 0 when only month is known.
prefix - Static variable in class cds.astro.Astrotime
Conversion of time: time in unit = mjd*factor + offset
prod(Unit) - Method in class cds.astro.Unit
Product of 2 quantities.

R

registerConverter(String, String, Converter) - Static method in class cds.astro.Unit
Introduce a special converter.

S

set(double) - Method in class cds.astro.Astrotime
Set the time from MJD.
set(long) - Method in class cds.astro.Astrotime
Set the time from milliseconds.
set(String) - Method in class cds.astro.Astrotime
Set the time from a String.
set(int) - Method in class cds.astro.Parsing
Force the position within the Parsing piece
set(String) - Method in class cds.astro.Parsing
Install a new text in the Parsing
set() - Method in class cds.astro.Unit
Reset a unit to unitless.
set(Unit) - Method in class cds.astro.Unit
Copy a quantity.
set(String) - Method in class cds.astro.Unit
Interpret a String to a Unit + Value
setInfinite(String) - Method in class cds.astro.Editing
Define the Infinite representation
setNaN(String) - Method in class cds.astro.Astroformat
Change the default edition of NULL.
setUnit() - Method in class cds.astro.Unit
Convert the current number+Unit into a Unit.
setUnit(String) - Method in class cds.astro.Unit
Assigns the Unit.
setValue(String) - Method in class cds.astro.Unit
Assign the value.
setValue(double) - Method in class cds.astro.Unit
Assign the value.
SEXA1d - Static variable in class cds.astro.Astroformat
Format of number is sexagesimal 1 component (with : or d)
SEXA1h - Static variable in class cds.astro.Astroformat
Format of number is sexagesimal 1 component (with h)
SEXA1o - Static variable in class cds.astro.Astroformat
Format of number is sexagesimal 1 component (with °)
SEXA2 - Static variable in class cds.astro.Astroformat
Format of number is sexagesimal (2 components h m)
SEXA2c - Static variable in class cds.astro.Astroformat
Format of number is sexagesimal (2 components h:m)
SEXA2d - Static variable in class cds.astro.Astroformat
Format of number is sexagesimal angle (2 components dm)
SEXA2h - Static variable in class cds.astro.Astroformat
Format of number is sexagesimal time (2 components hm)
SEXA2o - Static variable in class cds.astro.Astroformat
Format of number is sexagesimal 2 component (with ° ')
SEXA3 - Static variable in class cds.astro.Astroformat
Format of number is sexagesimal (3 components h m s)
SEXA3c - Static variable in class cds.astro.Astroformat
Format of number is sexagesimal (3 components h:m:s)
SEXA3d - Static variable in class cds.astro.Astroformat
Format of number is sexagesimal angle (3 components dms)
SEXA3h - Static variable in class cds.astro.Astroformat
Format of number is sexagesimal time (3 components hms)
SEXA3o - Static variable in class cds.astro.Astroformat
Format of number is sexagesimal 3 component (with ° ' ")
SIGN_EDIT - Static variable in class cds.astro.Astroformat
Number must be signed (contains a '+' sign if positive)
sinc(double) - Static method in class cds.astro.AstroMath
Function sinc(x) = sin(x)/x
sind(double) - Static method in class cds.astro.AstroMath
Sine when argument in degrees
source - Variable in class cds.astro.Converter
The source unit
sqrt() - Method in class cds.astro.Unit
Take Square Root of a Value/Unit
status() - Method in class cds.astro.Parsing
Retrieves the status (OK, WARNING, ERROR) of last (sexagesimal) parsing.
sum(Unit) - Method in class cds.astro.Unit
Sum of 2 quantities.
symbol - Variable in class cds.astro.Unit
The symbolic unit, like km/s
symbols() - Static method in class cds.astro.Unit
List all symbols.

T

tanh(double) - Static method in class cds.astro.AstroMath
Hyperbolic tangent = (exp(x)-exp(-x))/(exp(x)+exp(-x))
target - Variable in class cds.astro.Converter
The target unit
toString(String) - Method in class cds.astro.Astrotime
Edit the time in the specified choice.
toString() - Method in class cds.astro.Astrotime
Get the time expressed in milliseconds since 1 Jan 1970
toString() - Method in class cds.astro.Converter
Standard edition of the unit converter
toString() - Method in class cds.astro.Editing
The conversion to string
toString() - Method in class cds.astro.Parsing
View the Parsing as a String
toString(int) - Method in class cds.astro.Parsing
View a part of the Parsing as a String.
toString() - Method in class cds.astro.Unit
Standard Edition of the Unit.
toStringInSI() - Method in class cds.astro.Unit
Explain the Unit+Value in terms of SI units (Convert to non-log)
transform(String) - Method in class cds.astro.Converter
Convert a value, return its edited form.
transform(double) - Method in class cds.astro.Converter
Convert a value, return its edited form.
TRUNCATE - Static variable in class cds.astro.Astroformat
Numbers are truncated in their edition
tUnit - Class in cds.astro
Testing the Unit class.
tUnit() - Constructor for class cds.astro.tUnit
 

U

unit - Variable in class cds.astro.Astrotime
The original choice of the date (index in 'prefix' table)
Unit - Class in cds.astro
Class able to deal with scientific units and make the appropriate conversions.
Unit() - Constructor for class cds.astro.Unit
Define the default unit: unitless undefined value
Unit(Unit) - Constructor for class cds.astro.Unit
Define a Unit and Value from an existing one (clone)
Unit(String) - Constructor for class cds.astro.Unit
Define a Value+Unit by interpreting a String
unitless() - Static method in class cds.astro.Unit
Get a representation of the unitless dimension

V

value - Variable in class cds.astro.Unit
The value, expressed in unit symbol

W

WARNING - Static variable in class cds.astro.Parsing
The last (sexagesimal) parsing has minutes or seconds equal to 60.

Y

YMD2JD(int, int, int) - Static method in class cds.astro.Astrotime
Conversion of a calendar date into a Julian Date.

Z

ZERO_FILL - Static variable in class cds.astro.Astroformat
Number must be left-filled with zeroes

A B C D E F G I J L M N O P R S T U V W Y Z