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

Home » Public Forums » archive » Re: Fuzzy searching of FITS header
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Fuzzy searching of FITS header [message #74128 is a reply to message #74126] Tue, 21 December 2010 14:23 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Gray writes:

> Does anyone have a routine that allows for fuzzy searching of FITS
> header keywords? For example, I have a header where I want the value
> of the following keywords:
>
> D001DEXP
> D002DEXP
> ...
>
> I don't know a priori how many of them there are, and it would be nice
> to be able to have a parsing program that would let me give 'DEXP' as
> a search string and return all of them. Any suggestions?

StrPos?

> I know I
> could construct something that did searches for up to 1000 keywords
> (000-999) and aborted when it didn't find anything, but that would
> defeat the purpose of IDL vectorization, wouldn't it?

It's already vectorized! :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: idlgrtext fixed-width font
Next Topic: Re: idlgrtext fixed-width font

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

Current Time: Wed Oct 08 19:02:55 PDT 2025

Total time taken to generate the page: 0.00462 seconds