Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~309 People Reached
Favorite Forums
Favorite Tags
Member Avatar for arkane

Hello I have written code using python and C extensions which performs object detection on 3D data sets. The code was originally developed under Linux and has since been used under Windows XP where I continuously get MemoryError crashes when assembling a list of 78566400 integers. There is nothing wrong …

0
43
Member Avatar for arkane

Hello, I have written some python extensions and it seems to be causing a TypeError with numpy. Here is my code: [code=python] import Image, os, sys, gc, numpy, math sys.path.append("/home/halon/pyxtn") import spam2 def LoadImages(start, y_stop): """Open .tif images, append data to list.""" global image_data_list, number_of_channels for i in range(0, number_of_channels): …

0
56
Member Avatar for arkane

I am a little new to extending python with C. I have been successful at creating modules that take integers, etc and return a value but I am a little confused about passing a numpy array to a C function. I am using swig to generate the wrappers, and handle …

0
66
Member Avatar for arkane

Hello to the forum, perhaps someone can help me. I am trying to read a file that has the following format: 128 byte header float data When reading the header, I need to extract the following from the header: bytes0-6= short unsigned int big endian byte7 = int bytes8-23= float …

Member Avatar for arkane
0
144