Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: concatenate...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 5572 of 6248
Post > Topic >>

Re: concatenate arrays of different sizes

by Vince Hradil <hradilv@[EMAIL PROTECTED] > Mar 27, 2008 at 08:48 AM

On Mar 27, 10:34 am, vino <astrocr...@[EMAIL PROTECTED]
> wrote:
> Hello Everyone,
> I am trying to concatenate arrays of different sizes into a single
> variable.The problem is as follows:
> I am tracking about 10,000 stars through a period of six months. I
> have a single variable containing the intensity of all stars with
> zeros when the star is not in the field of view.  I ran into memory
> problems when i try to track for longer periods.
> so i thought of storing the information only when the stars are
> present in the field of view. This is where i am lost since each star
> is present for different periods and i dont know how to store them all
> in a single variable. The alternative might be to store each star
> information in a single file but the aim of my project is to track
> about half a million stars, i wanted to do something sensible right
> from the first.
>
> Thanking you in advance for your help
>
> regards,
> vino

I would use an array of structures...
for each star:
star_data[i] = {star_id:current_star_id, month:obs_month,
intens:current_star_intensity}
 




 4 Posts in Topic:
concatenate arrays of different sizes
vino <astrocrazy@[EMAI  2008-03-27 08:34:14 
Re: concatenate arrays of different sizes
Vince Hradil <hradilv@  2008-03-27 08:48:36 
Re: concatenate arrays of different sizes
"R.G. Stockwell"  2008-03-27 10:42:09 
Re: concatenate arrays of different sizes
vino <astrocrazy@[EMAI  2008-03-28 02:01:33 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Oct 10 14:17:09 CDT 2008.