I'm actually working in IDL, which apparently has many similarities to C and fortran...
I currently have this:
PRO READONELINE
infile = 'LCgen/20090127/fbexp062_2.dump'
OPENR,lun,infile,/GET_LUN
rows = FILE_LINES(infile)
data = fltarr(10,rows)
WHILE NOT EOF(lun) DO BEGIN
READF,lun,format =...
Hi signerror, thanks for the help. Never come across regular expressions before, are you suggesting them as a solution because they will be able to overcome the issue of needing different format codes for each row (to account for the changing number of characters?)
Hi all,
I have a tab delimited ASCII file (an output from IRAF). I need to read it into IDL, but it features a timestamp column (in UT - hh:mm:ss). I assume I need to read it in with some format codes, but I'm not familiar with fortran or C (or IDL to be honest), and it seems the format code...
Hi mathmate, thanks for the response. My problem is not knowing what to do with JD once I have it, It's getting supermongo to read the exact JD into a vector so that I can manipulate it. Your point about it being too many significant figures was interesting, is it common to not be able to read...
Hi all, I imagine this is an amazingly simple problem for anyone with the slightest bit of programing knowledge (which isn't me).
I hope there are people out there familiar with supermongo, I realize it's one of the more niche graphics languages.
Anyway, I have a column of Julian dates, in...
Thanks for the replies people.
Well, we accidentally stumbled upon the solution, basically through a little educated guess work and trial & error.
After stripping back the NOT clause so that it just dealt with u-g vs. g-r colour space, it worked perfectly.
Going with this, we then separated...
Thanks for the quick reply, the problem is I now don't understand your questions in able to answer them :smile:. This is the problem with only having used SQL in a limited capacity.
If by fields you mean the psfmag's, these are just the magnitudes of the stars in the SDSS 5 colour bands...
Hi all,
Trying to write an SQL query for the Sloan Digital Sky Survey that uses the NOT operator, and failing miserably.
Basically, I'm making photometric cuts in 4-d colour space, and I currently have a selection of inequalities that select enclosed regions of colour space.
However, I...
As a fourth year masters student just starting to learn about symmetry groups and unification and the like, this is something of an eye-opener, in that I have no idea what's going on in this paper. From what I can gather from the sections of prose though, it seems like a pretty beautiful and...
Hi, in my notes for the Hertzian Dipole I have a derivation of the vector potential A, and the scalar potential (phi). However, I'm missing the derivation of the E and B fields from these potentials. It seems that only the theta component of the E field exists, and I have ... well, I can't write...
I'd like to thank you all again as I now feel totally comfortable with why gregory alexander's assertion is, as they say, total bollocks. I think the best bit is that I have 'qualitative' arguments and some straight up LT-work, which I often find the best route to comprehension, I often struggle...
Thank you, I think that really elucidated the importance of the relativity of simultaneity. I can't understand why the two clocks for the ships would be out of sync though, if their relative velocity is 0 ?
Also, can I just say that I'm very impressed with this forum, I've received lots of...
Thanks for all the responses, I clearly need to resit that SR course as I'm getting lost here. I'm still baffled but I think I need to go away and work this through.
I still can't get that link's reasoning out of my head though. Why isn't a time contraction and a length dilation necessary to...