comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Invalid characters in header
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Invalid characters in header [message #94303] Sun, 02 April 2017 11:23 Go to next message
mitali1203 is currently offline  mitali1203
Messages: 4
Registered: March 2017
Junior Member
Hello,
I have a 2d array detector plane histogram (.dph file). I wish to extract header info from this file. However, I tried commands like 'mrd_hread', 'ftab_help', 'headfits', etc but I could not extract the info.
Kindly help me out in this regard.
Thanks,
Mitali
Re: Invalid characters in header [message #94305 is a reply to message #94303] Mon, 03 April 2017 09:32 Go to previous messageGo to next message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Sunday, April 2, 2017 at 2:23:12 PM UTC-4, mital...@gmail.com wrote:
> Hello,
> I have a 2d array detector plane histogram (.dph file). I wish to extract header info from this file. However, I tried commands like 'mrd_hread', 'ftab_help', 'headfits', etc but I could not extract the info.
> Kindly help me out in this regard.
> Thanks,
> Mitali

We need more information

1. Show us how you tried the commands. What was your headfits() call, for example?

2. Why couldn't you "extract the info". Did you get an error message? Did the header not look like you expected it to? Did the program hang and never return?
Re: Invalid characters in header [message #94307 is a reply to message #94305] Mon, 03 April 2017 11:12 Go to previous message
mitali1203 is currently offline  mitali1203
Messages: 4
Registered: March 2017
Junior Member
On Monday, April 3, 2017 at 10:02:51 PM UTC+5:30, wlandsman wrote:
> On Sunday, April 2, 2017 at 2:23:12 PM UTC-4, mital...@gmail.com wrote:
>> Hello,
>> I have a 2d array detector plane histogram (.dph file). I wish to extract header info from this file. However, I tried commands like 'mrd_hread', 'ftab_help', 'headfits', etc but I could not extract the info.
>> Kindly help me out in this regard.
>> Thanks,
>> Mitali
>
> We need more information
>
> 1. Show us how you tried the commands. What was your headfits() call, for example?
>
> 2. Why couldn't you "extract the info". Did you get an error message? Did the header not look like you expected it to? Did the program hang and never return?

The problem was solved using 'sxpar' command and I could extract the required header parameters.
Since it was a .evt file (event file), I first read it using 'mrdfits' command and then used 'sxpar' command successively for extracting the parameters.
Thanks,
Mitali
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: estimation matrix elements in a vector
Next Topic: envi/idl question from a newbie

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 07:23:50 PDT 2025

Total time taken to generate the page: 0.00490 seconds