Juho Schultz wrote:
> John Doty wrote:
>
>> The problem:
>>
>> I have a bunch of image files in FITS format. For each raster row in
>> each file, I need to determine the median pixel value and subtract it
>> from all of the pixels in that row, and then write
ta > boundary ) { /* Bin 2 */
*lowp = *--highp; /* Exchange */
*highp = thisdata;
}
else ++lowp;/* Don't move point */
}
nlowbin = ( lowp - data );
if( nlowbin >= n ) return( NTH( data, nlowbin, n ));
else return( NTH( highp, numdata - nlowbin, n - nlowbin ));
}
}
--
John Doty, Noqsi Aerospace, Ltd.
--
Specialization is for robots.
--
http://mail.python.org/mailman/listinfo/python-list
Paul Rubin wrote:
> John Doty <[EMAIL PROTECTED]> writes:
>> I have a bunch of image files in FITS format. For each raster row in
>> each file, I need to determine the median pixel value and subtract it
>> from all of the pixels in that row, and then write out the r
ly to be people with large private libraries of
Forth legacy code. No doubt to them it really has been a boon. But I
think this little experiment shows that for the rest of us, Python has a
published base of reusable code that puts Forth to shame.
--
John Doty, Noqsi Aerospace, Ltd.
--
Specialization is for robots.
--
http://mail.python.org/mailman/listinfo/python-list