[Casa-framework] Added quanta tool to casapy

Kumar Golap kgolap at nrao.edu
Fri Sep 15 02:40:36 EDT 2006


>
> It might be better to do something on the Python end to convert strings to
> quantities in analogy with the glish.  Then the C++ methods don't have the
> added overhead of string conversion code if it isn't needed.
>
> Anyway, I nearly certainly will not have time this month to write the code
> needed to generate valid quantities from arbitrary strings since there is
> considerable work to be done on the atmosphere component.  Also, rather
> than using the existing Glish code as the specification, it would be
> better to start from a formal specification of string formats that should
> be parsed.

Its a design issue...how much can be transferred to C++ and how much
can be done at all at the python level.

The string format accepted are already defined in the glish
quanta...so may be we should just use that as what we want
implemented.

Any example you can point me to the usage of a variant....A variant
i'm guessing is a variable with no fixed  type ...am i right ?

I can help by writing some helper functions that will return a
Quantity from String in  C++


Cheers,

Kumar


More information about the Casa-framework mailing list