Re: problem using model_spectrum and brightest

From: David P. Huenemoerder <dph_at_email.domain.hidden>
Date: Fri, 21 Mar 2008 15:36:57 -0400
Hi Juan, 

    juan> but when I type 

    juan> g=brightest(10,where(wl(10,12)));


You might not have evaluated the model, or evaluated it over the
region of interest.  You can try:


  notice(all_data);
  eval_counts;
  g=brightest(10,where(wl(10,12)));


or try:

  y = eval_fun( 1.0, 40.0 ) ; 
  g=brightest(10,where(wl(10,12)));


If that doesn't work, I'll need more details on the state at which
this doesn't work.


-- Dave

David Huenemoerder  617-253-4283 (o); -253-8084 (f); http://space.mit.edu/home/dph
MIT Kavli Institute for Astrophysics and Space Research
70 Vassar St., NE80-6065,
Cambridge, MA  02139
[Admin. Asst.: Elaine Tirrell, 617-253-7480, egt_at_email.domain.hidden


    juan> I'm following the example on page 23 of the manual to
    juan> identify the brightest lines in a model spectrum which
    juan> I define as:

    juan> # id    Temp         Dens         Abund        Norm   
    juan> Vturb       redshift
    juan> #       (K)          (cm^-3)                          
    juan> (km/s)              
    juan> 1	3.14e6	     1.e-3	  1.0	    1.0		   200.0	0.0
    juan> 2	79.7e6	     1.e-3	  1.0	    0.02960599     200.0    
    juan> 0.0
    juan> 3	7.56e6	     1.e-3        1.0       0.003366989   
    juan> 200.0        0.0
    juan> 4	33.4e7	     1.e-3        1.0       0.02999968    
    juan> 200.0        0.0

    juan> but when I type 

    juan> g=brightest(10,where(wl(10,12)));

    juan> I got

    juan> "all lines have flux = 0"

    juan> I'm reading just the pha2 files as in the example.

    juan> Thanks
    juan> Juan

    juan> ########################################################
    juan> GERARDO JUAN MANUEL LUNA
    juan> Eberly College of Sciences
    juan> Penn State University
    juan> 525 Davey Lab
    juan> University Park, PA 16802, USA
    juan> ########################################################


    juan> Tarjeta de crédito Yahoo! de Banco Supervielle.
    juan> Solicitá tu nueva Tarjeta de crédito. De tu PC directo a tu casa. www.tuprimeratarjeta.com.ar 
    juan> ----
    juan> You received this message because you are
    juan> subscribed to the isis-users list.
    juan> To unsubscribe, send a message to
    juan> isis-users-request_at_email.domain.hidden    juan> with the first line of the message as:
    juan> unsubscribe



----
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 Fri Mar 21 2008 - 15:40:49 EDT

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