Re: using xspec_abund

From: Daniel Dewey <dd_at_email.domain.hidden>
Date: Mon, 28 Mar 2011 08:41:11 -0400
You need to put quotes on the wilm and vern so that they
are strings sent to the function - otherwise isis thinks they
are variables:

isis> status = xspec_abund(wilm);
wilm is undefined
isis> status = xspec_abund("wilm");
 Solar Abundance Vector set to wilm:  Wilms, J., Allen, A. & McCray, R. ApJ 542 914 (2000) (abundances are set to zero for those elements not included in the paper).

"vern" doesn't seem to exist for me, however:
isis> status = xspec_abund("vern");
isis> status;
-1



On Mar 28, 2011, at 8:31 AM, Rhaana Starling wrote:

> Hi there,
> 
> I'm having trouble using
> status = xspec_abund(wilm);
> status = xspec_xsect(vern);
> 
> 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

    ----------------------------------------------------------
    Daniel Dewey                           dd_at_email.domain.hidden    MIT Kavli Institute        http://space.mit.edu/home/dd
    ----------------------------------------------------------


----
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:41:26 EDT

This archive was generated by hypermail 2.2.0 : Wed Mar 30 2011 - 10:05:08 EDT