Re: using xspec_abund

From: Manfred Hanke <Manfred.Hanke_at_email.domain.hidden>
Date: Mon, 28 Mar 2011 14:38:19 +0200
Hi Rhaana,

I'm having trouble using
> status = xspec_abund(wilm);
> status = xspec_xsect(vern);

These functions take String_Type arguments. Try:

   status = xspec_abund("wilm");
   status = xspec_xsect("vern");

(You may, of course, also define variables with that name in order to 
have the short cut:
    variable wilm = "wilm", vern = "vern"
)

Cheers,

Manfred

> These commands return the message that wilm and vern are undefined, but
> they do work for me in xspec in the same directory (and I have set
> require("xspec"); first and it does other xspec commands ok).
>
> I can recover the current (default) abundance and x-sec tables using
> status = xspec_abund(); status = xspec_xsect();
>
> Any idea what is going wrong in the linking to the non-default atomic
> data tables? Can anyone else verify that this usually works for them?
>
> Thanks,
> Rhaana
----
You received this message because you are
subscribed to the isis-users list.
To unsubscribe, send a message to
isis-users-request_at_email.domain.hiddenwith the first line of the message as:
unsubscribe
Received on Mon Mar 28 2011 - 08:38:29 EDT

This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:47 EDT