On Jan 23, 2009, at 5:15 PM, Herbert Pablo wrote: > I'm pretty new to isis and I have gotten a reasonable handle on most > things. > However, there is one thing that I am still unsure about. I know > that there > are ways to write to an ascii file, but lets say I combine plus and > minus > orders and then flux correct. Is there a way to save this new file > that I have > just created. I can run the script easily enough and display it in > isis, but I > wasn't able to find a way to save the file. Any help would be greatly > appreciated. It all depends upon what you want to do with this. If it's just so you can come back and fit it another day, most people just usually write a load script that runs through the read the data/combine/flux correct procedures. It rarely takes so long that saving the data really buys you much. If it's a matter of saving that combined, flux corrected data in a file so that you can give it to a friend to fit in XSPEC, you're out of luck. (You can, however, regroup and rebin data, and save that grouping to existing type I pha files, and your XSPEC friends can then fit the data with the binnings you've used.) If it's a matter of saving the data that you plotted so you can then ship it to something like IDL, I do have routines that do that. I have a bunch of plotting routines in my .isisrc files that have an associated function, "write_plot" that will do an ascii dump of the last thing you plotted, in simple ascii columns. So, "plot_unfold(- [megm1,megp1];options...)" followed by "write_plot("meg_combined")" would give you combined, flux corrected data written to ascii files. I've placed a tar'd, gzipped version of my .isisrc files at: http://space.mit.edu/home/mnowak/data/ISISRC (note: they will upack to things like ./.isisrc, so make sure you don't overwrite your own stuff). There are headers in those files listing the functions, and most functions invoked without arguments will return help messages. But other than that, documentation is minimal. Cheers, Mike ---- 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: unsubscribeReceived on Sat Jan 24 2009 - 09:41:43 EST
This archive was generated by hypermail 2.2.0 : Sat Jan 24 2009 - 09:57:52 EST