Fwd: Re: Write Formats

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Fwd: Re: Write Formats

Stan Gorodenski
I can't find where this went through and so I am re-submitting it to
answer David's question.
Stan

-------- Original Message --------
Subject: Re: Write Formats
Date: Thu, 27 Sep 2018 20:57:48 -0700
From: Stan Gorodenski <[hidden email]>
To: [hidden email]



It's very simple. I guess I didn't make myself clear. An astronomy
software package I have can create a .txt file from a .fit file. Then I
just read the .txt file, not the .fit file, with SPSSX. The numbers in
all the rows represent pixel intensity values, the same values that are
used in displaying an image of a .fit file. My camera is 1530 pixels
wide (and 1020 pixels high). I create 1530 variables and read each row
as an observation with the following data list statement
DATA LIST FREE file=FLATFILE
       / V1 TO V1530.
Where Flatfile is a File Handle name. A raw spectrum is just a bright
horizontal line. With SPSSX I can do some processing of the spectrum,
such as doing a dark sky subtraction and getting rid of anomalous pixel
values, such as saturated pixels or cosmic ray hit on the CCD chip (a
common occurrence). When I am done with all the processing I can create
what is called a spectral profile. The profile is the standard way to
display a spectrum. It is a graph that shows the emission and absorption
lines of the elements of a star spectrum.
Stan

On 9/27/2018 7:54 PM, David Marso wrote:

>  Given this
>
>  FITS Working Group (2016-07-22). "Definition of the Flexible Image Transport
>  System (FITS)" (PDF). Retrieved 2018-03-05.
>
>  How in the F did you manage to read such a beast into SPSS in any meaningful
>  way?
>  Much or less to manipulate it?
>    I believe ImageJ can use Fit files.
>
>
>  Stan Gorodenski wrote
>
>>  The links you gave is what it is, but it is not dynamically updated. All
>>  it has is a header that contains information such as location, date the
>>  spectrum was taken, time, etc. The header can be modified but it
>>  requires a special program.
>>
>>  The SPSS data file I have that is a .txt file was created by an
>>  astronomical program from a .fit file. Unfortunately, the reverse cannot
>>  be done with the program. The .fit file is an image file and the .txt
>>  file that is created by this program is just a matrix of numbers that
>>  indicate the intensity of each camera pixel. I could try and find a link
>>  that shows this kind of image, but it is just an image that requires a
>>  special program that can read and display a .fit file. There is nothing
>>  special about it just looking at the image. You could be looking at the
>>  image of trees instead of a spectrum.
>>  Stan
>>
>>  On 9/27/2018 2:25 PM, Art Kendall wrote:
>>
>>>  Is this what you mean by a .fit file?
>>>  https://fileinfo.com/extension/fit
>>>
>>>  or
>>>  https://fileinfo.com/extension/fits
>>>
>>>  If so, do you mean to say you recovered repeated measures data where
>>>  variables are points along a spectrum?
>>>
>>>  Can you post an SPSS data file and a link to an example of the kind of
>>>  visualization you would like?
>>>
>>>
>>>
>>>  -----
>>>  Art Kendall
>>>  Social Research Consultants
>>>  --
>>>  Sent from: http://spssx-discussion.1045642.n5.nabble.com/
>>>
>>>  =====================
>>>  To manage your subscription to SPSSX-L, send a message to
>>>
>>>
>
>>  LISTSERV@.UGA
>>
>
>>    (not to SPSSX-L), with no body text except the
>>
>>>  command. To leave the list, send the command
>>>  SIGNOFF SPSSX-L
>>>  For a list of commands to manage subscriptions, send the command
>>>  INFO REFCARD
>>>
>>>
>>>
>>>
>>  =====================
>>  To manage your subscription to SPSSX-L, send a message to
>>
>
>>  LISTSERV@.UGA
>>
>
>>    (not to SPSSX-L), with no body text except the
>>  command. To leave the list, send the command
>>  SIGNOFF SPSSX-L
>>  For a list of commands to manage subscriptions, send the command
>>  INFO REFCARD
>>
>  So
>
>
>
>  -----
>  Please reply to the list and not to my personal email.
>  Those desiring my consulting or training services please feel free to email me.
>  ---
>  "Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
>  Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"
>  --
>  Sent from: http://spssx-discussion.1045642.n5.nabble.com/
>
>  =====================
>  To manage your subscription to SPSSX-L, send a message to
>  [hidden email] (not to SPSSX-L), with no body text except the
>  command. To leave the list, send the command
>  SIGNOFF SPSSX-L
>  For a list of commands to manage subscriptions, send the command
>  INFO REFCARD
>
>
>

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Re: Write Formats

David Marso
Administrator
Stan,
You must be a little bit off ;=O
Try ImageJ [FREE https://imagej.nih.gov/ij/download.html ] for such
adventures.  
SPSS is really NOT the app for f'ing around with such things.

HTH, David


Stan Gorodenski wrote
> I can't find where this went through and so I am re-submitting it to
> answer David's question.
> Stan
>
> -------- Original Message --------
> Subject: Re: Write Formats
> Date: Thu, 27 Sep 2018 20:57:48 -0700
> From: Stan Gorodenski &lt;

> stanlep@

> &gt;
> To:

> SPSSX-L@.UGA

>
>
>
> It's very simple. I guess I didn't make myself clear. An astronomy
> software package I have can create a .txt file from a .fit file. Then I
> just read the .txt file, not the .fit file, with SPSSX. The numbers in
> all the rows represent pixel intensity values, the same values that are
> used in displaying an image of a .fit file. My camera is 1530 pixels
> wide (and 1020 pixels high). I create 1530 variables and read each row
> as an observation with the following data list statement
> DATA LIST FREE file=FLATFILE
>        / V1 TO V1530.
> Where Flatfile is a File Handle name. A raw spectrum is just a bright
> horizontal line. With SPSSX I can do some processing of the spectrum,
> such as doing a dark sky subtraction and getting rid of anomalous pixel
> values, such as saturated pixels or cosmic ray hit on the CCD chip (a
> common occurrence). When I am done with all the processing I can create
> what is called a spectral profile. The profile is the standard way to
> display a spectrum. It is a graph that shows the emission and absorption
> lines of the elements of a star spectrum.
> Stan
>
> On 9/27/2018 7:54 PM, David Marso wrote:
>>  Given this
>>
>>  FITS Working Group (2016-07-22). "Definition of the Flexible Image
>> Transport
>>  System (FITS)" (PDF). Retrieved 2018-03-05.
>>
>>  How in the F did you manage to read such a beast into SPSS in any
>> meaningful
>>  way?
>>  Much or less to manipulate it?
>>    I believe ImageJ can use Fit files.
>>
>>
>>  Stan Gorodenski wrote
>>
>>>  The links you gave is what it is, but it is not dynamically updated.
>>> All
>>>  it has is a header that contains information such as location, date the
>>>  spectrum was taken, time, etc. The header can be modified but it
>>>  requires a special program.
>>>
>>>  The SPSS data file I have that is a .txt file was created by an
>>>  astronomical program from a .fit file. Unfortunately, the reverse
>>> cannot
>>>  be done with the program. The .fit file is an image file and the .txt
>>>  file that is created by this program is just a matrix of numbers that
>>>  indicate the intensity of each camera pixel. I could try and find a
>>> link
>>>  that shows this kind of image, but it is just an image that requires a
>>>  special program that can read and display a .fit file. There is nothing
>>>  special about it just looking at the image. You could be looking at the
>>>  image of trees instead of a spectrum.
>>>  Stan
>>>
>>>  On 9/27/2018 2:25 PM, Art Kendall wrote:
>>>
>>>>  Is this what you mean by a .fit file?
>>>>  https://fileinfo.com/extension/fit
>>>>
>>>>  or
>>>>  https://fileinfo.com/extension/fits
>>>>
>>>>  If so, do you mean to say you recovered repeated measures data where
>>>>  variables are points along a spectrum?
>>>>
>>>>  Can you post an SPSS data file and a link to an example of the kind of
>>>>  visualization you would like?
>>>>
>>>>
>>>>
>>>>  -----
>>>>  Art Kendall
>>>>  Social Research Consultants
>>>>  --
>>>>  Sent from: http://spssx-discussion.1045642.n5.nabble.com/
>>>>
>>>>  =====================
>>>>  To manage your subscription to SPSSX-L, send a message to
>>>>
>>>>
>>
>>>  LISTSERV@.UGA
>>>
>>
>>>    (not to SPSSX-L), with no body text except the
>>>
>>>>  command. To leave the list, send the command
>>>>  SIGNOFF SPSSX-L
>>>>  For a list of commands to manage subscriptions, send the command
>>>>  INFO REFCARD
>>>>
>>>>
>>>>
>>>>
>>>  =====================
>>>  To manage your subscription to SPSSX-L, send a message to
>>>
>>
>>>  LISTSERV@.UGA
>>>
>>
>>>    (not to SPSSX-L), with no body text except the
>>>  command. To leave the list, send the command
>>>  SIGNOFF SPSSX-L
>>>  For a list of commands to manage subscriptions, send the command
>>>  INFO REFCARD
>>>
>>  So
>>
>>
>>
>>  -----
>>  Please reply to the list and not to my personal email.
>>  Those desiring my consulting or training services please feel free to
>> email me.
>>  ---
>>  "Nolite dare sanctum canibus neque mittatis margaritas vestras ante
>> porcos ne forte conculcent eas pedibus suis."
>>  Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff
>> in abyssum?"
>>  --
>>  Sent from: http://spssx-discussion.1045642.n5.nabble.com/
>>
>>  =====================
>>  To manage your subscription to SPSSX-L, send a message to
>>  

> LISTSERV@.UGA

>  (not to SPSSX-L), with no body text except the
>>  command. To leave the list, send the command
>>  SIGNOFF SPSSX-L
>>  For a list of commands to manage subscriptions, send the command
>>  INFO REFCARD
>>
>>
>>
>
> =====================
> To manage your subscription to SPSSX-L, send a message to

> LISTSERV@.UGA

>  (not to SPSSX-L), with no body text except the
> command. To leave the list, send the command
> SIGNOFF SPSSX-L
> For a list of commands to manage subscriptions, send the command
> INFO REFCARD





-----
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"
--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Re: Write Formats

Stan Gorodenski
David,
You still don't understand. As for SPSS not being the app, as I said to
Jon, it was a long shot but I wanted to make sure it couldn't do it.
Stan

On 9/28/2018 3:07 AM, David Marso wrote:

> Stan,
> You must be a little bit off ;=O
> Try ImageJ [FREE https://imagej.nih.gov/ij/download.html ] for such
> adventures.
> SPSS is really NOT the app for f'ing around with such things.
>
> HTH, David
>
>
> Stan Gorodenski wrote
>    
>> I can't find where this went through and so I am re-submitting it to
>> answer David's question.
>> Stan
>>
>> -------- Original Message --------
>> Subject: Re: Write Formats
>> Date: Thu, 27 Sep 2018 20:57:48 -0700
>> From: Stan Gorodenski&lt;
>>      
>    
>> stanlep@
>>      
>    
>> &gt;
>> To:
>>      
>    
>> SPSSX-L@.UGA
>>      
>    
>>
>>
>> It's very simple. I guess I didn't make myself clear. An astronomy
>> software package I have can create a .txt file from a .fit file. Then I
>> just read the .txt file, not the .fit file, with SPSSX. The numbers in
>> all the rows represent pixel intensity values, the same values that are
>> used in displaying an image of a .fit file. My camera is 1530 pixels
>> wide (and 1020 pixels high). I create 1530 variables and read each row
>> as an observation with the following data list statement
>> DATA LIST FREE file=FLATFILE
>>         / V1 TO V1530.
>> Where Flatfile is a File Handle name. A raw spectrum is just a bright
>> horizontal line. With SPSSX I can do some processing of the spectrum,
>> such as doing a dark sky subtraction and getting rid of anomalous pixel
>> values, such as saturated pixels or cosmic ray hit on the CCD chip (a
>> common occurrence). When I am done with all the processing I can create
>> what is called a spectral profile. The profile is the standard way to
>> display a spectrum. It is a graph that shows the emission and absorption
>> lines of the elements of a star spectrum.
>> Stan
>>
>> On 9/27/2018 7:54 PM, David Marso wrote:
>>      
>>>   Given this
>>>
>>>   FITS Working Group (2016-07-22). "Definition of the Flexible Image
>>> Transport
>>>   System (FITS)" (PDF). Retrieved 2018-03-05.
>>>
>>>   How in the F did you manage to read such a beast into SPSS in any
>>> meaningful
>>>   way?
>>>   Much or less to manipulate it?
>>>     I believe ImageJ can use Fit files.
>>>
>>>
>>>   Stan Gorodenski wrote
>>>
>>>        
>>>>   The links you gave is what it is, but it is not dynamically updated.
>>>> All
>>>>   it has is a header that contains information such as location, date the
>>>>   spectrum was taken, time, etc. The header can be modified but it
>>>>   requires a special program.
>>>>
>>>>   The SPSS data file I have that is a .txt file was created by an
>>>>   astronomical program from a .fit file. Unfortunately, the reverse
>>>> cannot
>>>>   be done with the program. The .fit file is an image file and the .txt
>>>>   file that is created by this program is just a matrix of numbers that
>>>>   indicate the intensity of each camera pixel. I could try and find a
>>>> link
>>>>   that shows this kind of image, but it is just an image that requires a
>>>>   special program that can read and display a .fit file. There is nothing
>>>>   special about it just looking at the image. You could be looking at the
>>>>   image of trees instead of a spectrum.
>>>>   Stan
>>>>
>>>>   On 9/27/2018 2:25 PM, Art Kendall wrote:
>>>>
>>>>          
>>>>>   Is this what you mean by a .fit file?
>>>>>   https://fileinfo.com/extension/fit
>>>>>
>>>>>   or
>>>>>   https://fileinfo.com/extension/fits
>>>>>
>>>>>   If so, do you mean to say you recovered repeated measures data where
>>>>>   variables are points along a spectrum?
>>>>>
>>>>>   Can you post an SPSS data file and a link to an example of the kind of
>>>>>   visualization you would like?
>>>>>
>>>>>
>>>>>
>>>>>   -----
>>>>>   Art Kendall
>>>>>   Social Research Consultants
>>>>>   --
>>>>>   Sent from: http://spssx-discussion.1045642.n5.nabble.com/
>>>>>
>>>>>   =====================
>>>>>   To manage your subscription to SPSSX-L, send a message to
>>>>>
>>>>>
>>>>>            
>>>        
>>>>   LISTSERV@.UGA
>>>>
>>>>          
>>>        
>>>>     (not to SPSSX-L), with no body text except the
>>>>
>>>>          
>>>>>   command. To leave the list, send the command
>>>>>   SIGNOFF SPSSX-L
>>>>>   For a list of commands to manage subscriptions, send the command
>>>>>   INFO REFCARD
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>            
>>>>   =====================
>>>>   To manage your subscription to SPSSX-L, send a message to
>>>>
>>>>          
>>>        
>>>>   LISTSERV@.UGA
>>>>
>>>>          
>>>        
>>>>     (not to SPSSX-L), with no body text except the
>>>>   command. To leave the list, send the command
>>>>   SIGNOFF SPSSX-L
>>>>   For a list of commands to manage subscriptions, send the command
>>>>   INFO REFCARD
>>>>
>>>>          
>>>   So
>>>
>>>
>>>
>>>   -----
>>>   Please reply to the list and not to my personal email.
>>>   Those desiring my consulting or training services please feel free to
>>> email me.
>>>   ---
>>>   "Nolite dare sanctum canibus neque mittatis margaritas vestras ante
>>> porcos ne forte conculcent eas pedibus suis."
>>>   Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff
>>> in abyssum?"
>>>   --
>>>   Sent from: http://spssx-discussion.1045642.n5.nabble.com/
>>>
>>>   =====================
>>>   To manage your subscription to SPSSX-L, send a message to
>>>
>>>        
>    
>> LISTSERV@.UGA
>>      
>    
>>   (not to SPSSX-L), with no body text except the
>>      
>>>   command. To leave the list, send the command
>>>   SIGNOFF SPSSX-L
>>>   For a list of commands to manage subscriptions, send the command
>>>   INFO REFCARD
>>>
>>>
>>>
>>>        
>> =====================
>> To manage your subscription to SPSSX-L, send a message to
>>      
>    
>> LISTSERV@.UGA
>>      
>    
>>   (not to SPSSX-L), with no body text except the
>> command. To leave the list, send the command
>> SIGNOFF SPSSX-L
>> For a list of commands to manage subscriptions, send the command
>> INFO REFCARD
>>      
>
>
>
>
> -----
> Please reply to the list and not to my personal email.
> Those desiring my consulting or training services please feel free to email me.
> ---
> "Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
> Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"
> --
> Sent from: http://spssx-discussion.1045642.n5.nabble.com/
>
> =====================
> To manage your subscription to SPSSX-L, send a message to
> [hidden email] (not to SPSSX-L), with no body text except the
> command. To leave the list, send the command
> SIGNOFF SPSSX-L
> For a list of commands to manage subscriptions, send the command
> INFO REFCARD
>
>
>    

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD