I have been able to create a .txt file from a .fit image file. This is
an image of a star spectrum. I then was able to read the .txt file with SPSSX and do some processing and statistical analysis on it. I would like to be able to write out the processed .txt file so I can view it as an image. Is there a way with SPSSX to write it out in .fit, .pic, .bmp, or any of the other kinds of image file format? Stan ===================== 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 |
I can't imagine how this would work. You could LIST the variables in the Viewer and then use a screen capture to make a graphic, but I don't know whether that would be what you want. On Thu, Sep 27, 2018 at 1:23 PM Stan Gorodenski <[hidden email]> wrote: I have been able to create a .txt file from a .fit image file. This is |
Thanks, Jon. It was a long shot and I expected it cannot be done but
needed to make sure. There is one possible alternative but if I could have done it with SPSS that would have been better. Stan On 9/27/2018 2:11 PM, jkpeck wrote: > I can't imagine how this would work. You could LIST the variables in > the Viewer and then use a screen capture to make a graphic, but I > don't know whether that would be what you want. > > On Thu, Sep 27, 2018 at 1:23 PM Stan Gorodenski <[hidden email] > <mailto:[hidden email]>> wrote: > > I have been able to create a .txt file from a .fit image file. > This is > an image of a star spectrum. I then was able to read the .txt file > with > SPSSX and do some processing and statistical analysis on it. I would > like to be able to write out the processed .txt file so I can view > it as > an image. Is there a way with SPSSX to write it out in .fit, .pic, > .bmp, > or any of the other kinds of image file format? > Stan > > ===================== > To manage your subscription to SPSSX-L, send a message to > [hidden email] <mailto:[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 > > > > -- > Jon K Peck > [hidden email] <mailto:[hidden email]> > > ===================== To manage your subscription to SPSSX-L, send a > message to [hidden email] > <mailto:[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 |
In reply to this post by Stan Gorodenski
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 [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
Art Kendall
Social Research Consultants |
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 > [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 |
Administrator
|
In reply to this post by Stan Gorodenski
I had never heard of FITS until now.
https://en.m.wikipedia.org/wiki/FITS indicates that python supports FITS. Also it is simply a text based format. What are you doing to the file? Maybe what you have done is no longer a FITS formatted blob. Have you looked into ImageJ? That is a free app that I love which supports FITS according to the wiki. In no case that I know will SPSS turn text into an image. Stan Gorodenski wrote > I have been able to create a .txt file from a .fit image file. This is > an image of a star spectrum. I then was able to read the .txt file with > SPSSX and do some processing and statistical analysis on it. I would > like to be able to write out the processed .txt file so I can view it as > an image. Is there a way with SPSSX to write it out in .fit, .pic, .bmp, > or any of the other kinds of image file format? > Stan > > ===================== > 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?" |
Administrator
|
In reply to this post by Stan Gorodenski
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
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?" |
Administrator
|
In reply to this post by Stan Gorodenski
Given this
https://en.m.wikipedia.org/wiki/FITS 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
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?" |
In reply to this post by David Marso
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 |
In reply to this post by David Marso
On 9/27/2018 7:21 PM, David Marso wrote:
> I had never heard of FITS until now. > https://en.m.wikipedia.org/wiki/FITS > indicates that python supports FITS. Also it is simply a text based format. > What are you doing to the file? > Maybe what you have done is no longer a FITS formatted blob. > Have you looked into ImageJ? That is a free app that I love which supports > FITS according to the wiki. > David, The issue is not finding something, like ImageJ, that supports fits. All astronomy software I know of supports .fit files. The issue is converting a .txt file to a .fit file, or if that is not possible, than converting a .txt file to other image type files, such as .pic and a .bmp to name a few. Stan > In no case that I know will SPSS turn text into an image. > > > > Stan Gorodenski wrote > >> I have been able to create a .txt file from a .fit image file. This is >> an image of a star spectrum. I then was able to read the .txt file with >> SPSSX and do some processing and statistical analysis on it. I would >> like to be able to write out the processed .txt file so I can view it as >> an image. Is there a way with SPSSX to write it out in .fit, .pic, .bmp, >> or any of the other kinds of image file format? >> Stan >> >> ===================== >> 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 |
Free forum by Nabble | Edit this page |