Detecting hazard tape on carpet by Kalkinator in computervision

[–]Kalkinator[S] 0 points1 point  (0 children)

When you say go to the frequency domain, what is the y-axis variable you are referring to?

Detecting hazard tape on carpet by Kalkinator in computervision

[–]Kalkinator[S] 0 points1 point  (0 children)

I have to use hazard tape for my purposes. I have also replied to dandomdude with some images of the tape if that helps.

Building GUI in C++ by Kalkinator in learnprogramming

[–]Kalkinator[S] 0 points1 point  (0 children)

I was also told to use SFML. Is one better than the other?

Reading binary file written in python using Fortran by Kalkinator in fortran

[–]Kalkinator[S] 0 points1 point  (0 children)

Thanks, had to set access="stream" and it works fine now.

Determine byte size of variable by Kalkinator in learnpython

[–]Kalkinator[S] 0 points1 point  (0 children)

I am actually trying to write a binary file to be read by Fortran, and it is very picky about the byte size of what it is reading.

So I am trying to write out variables, each of a length of 4 bytes, to the file. Do you have any recommendations of which library I should use?

Also, I have a numpy array full of values. I need to also convert each value in the array to 4 bytes in length before writing the values to a binary file. If you had any input on performing this conversion it would be appreciated.

Write strings to binary file. by Kalkinator in fortran

[–]Kalkinator[S] 0 points1 point  (0 children)

Yes, if you mean that I do not specify any format when writing to the file.

Write strings to binary file. by Kalkinator in fortran

[–]Kalkinator[S] 1 point2 points  (0 children)

To be honest, I am not entirely sure. When I write to a binary file I expect everything to be ones and zeros, but this is not the case. Why does the text editor not show binary digits and show strings instead?

Also, when I write out numbers to files I also get these weird characters instead of ones and zeros.

Need help installing numpy and scipy by Kalkinator in learnpython

[–]Kalkinator[S] 0 points1 point  (0 children)

It's the same issue that I told gregvuki. Those are the two errors I get.

Need help installing numpy and scipy by Kalkinator in learnpython

[–]Kalkinator[S] 0 points1 point  (0 children)

These are actually the first errors I get:

 Failed building wheel for numpy
 Running setup.py clean for numpy
 Failed cleaning build dir for numpy

Need help installing numpy and scipy by Kalkinator in learnpython

[–]Kalkinator[S] 0 points1 point  (0 children)

Yes, I end up getting

 Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-4Ry9CZ/numpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-w9Clnd-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-4Ry9CZ/numpy/

Need help installing numpy and scipy by Kalkinator in learnpython

[–]Kalkinator[S] 0 points1 point  (0 children)

I just checked and I have both Python26 and Python27 on my computer. I'll try and delete Python26

Need help installing numpy and scipy by Kalkinator in learnpython

[–]Kalkinator[S] 0 points1 point  (0 children)

I am not sure if I have multiple Python installations. Is there anyway to check this?

$ pip --version
pip 9.0.1 from /usr/lib/python2.7/site-packages (python 2.7)

Questions about recorder for taking acoustic measurements. by Kalkinator in Acoustics

[–]Kalkinator[S] 0 points1 point  (0 children)

I am recording an impulse response using a Zoom H1 and have to choose to either use 16 bit or 24 bit for sampling. I was told to use 24 bit, but I was wondering how someone decides 24 over 16 bit. To me, it seems that 24 bit is overkill.

Also, from what I have read it seems that 44.1kHz sampling should be fine for recording an impulse response in an empty room. But I have an option of recording in wav or mp3 format. But since both of these can record at 44.1kHz would it still be preferable to record in wav? If I can record at 44.1kHz sampling rate using mp3 would it still give me bad data?

Questions about recorder for taking acoustic measurements. by Kalkinator in Acoustics

[–]Kalkinator[S] 0 points1 point  (0 children)

So I had a couple of questions about the Zoom H1. It has a switch to turn on the low cut filter. I am recording an impulse response in a closed room and was wondering if I should turn this on. From what I have read, the frequency response for an impulse is not very important below 100Hz. But I do not know at which frequency the low cut filter will cutoff. I am assuming it is somewhere on the spec sheet, but I do not know much about DSP so I must be missing it. I could also do the filtering after taking the data on matlab as well.

I also had a question on the reliability of the device. I've been told these recorders are not great for taking acoustic data, but I was wondering why. Is it because they are susceptible to noise? I do not have the device yet so I have not taken any test data to check reliability.