Questions tagged [downsampling]

231 questions
0
votes
1 answer

Python: ValueError: could not convert string to float when apply for down-sampling

I have imbalance dataset as below id text category 1 comment1 0 2 comment2 0 3 comment3 1 4 comment4 0 I have pre-processed the "text" by removing numeric values and…
CHONG
  • 373
  • 1
  • 5
  • 13
0
votes
1 answer

Java down and upsampling upsampling

I am a beginner in java Sound API and read many things in oracle and richard brawlin and try some projects with his programms. The first i want to capture is the sound and downsample it and give in a right audioformat back. Then i will try the same…
Razielruss
  • 139
  • 1
  • 7
0
votes
0 answers

Resampling and filtering to the same frequency data in Python

I'm working with a large amount of data that comes in daily at 32hz. We want to filter the data to .5hz(Edit: Question originally specified 1hz, changed based on suggestion) as well as down sample it to 1hz. I am using signal.resample for down…
akozi
  • 425
  • 1
  • 7
  • 20
0
votes
0 answers

Downsampling pandas dataframe - 'downsamples' columns as well as rows?

I unfortunately can't share a working example of the problem as I don't know what is causing it. However, I have put together dummy code showing the structure of my DataFrame as well as the downsampling I am trying to do: Example…
Bendy
  • 3,506
  • 6
  • 40
  • 71
0
votes
1 answer

Downsampling a postgresql table

I have a really simple database model, two tables : object and data, linked with an 1:n relationship. Every minute, for each object, a new data is saved. The interesting attributes are : object_id (int), created_at (timestamp) and value (varchar).…
Thomas N.
  • 548
  • 5
  • 12
0
votes
1 answer

Bring two vectors in the same length

I have the following problem: I have two data vectors v1 (Length N1=13812) and v2 (Length N2=60002021). I have to bring both vectors in the same length N3 using interpolation bzw. downsampling, with the requirement: 2xN1. Can somebody help me? My…
mstich
  • 71
  • 1
  • 1
  • 5
0
votes
1 answer

symbian C++ downsizing libraries

I wish to record audio at 32 kHz on my Symbian device but it only supports 48 kHz. From searching the internet I believe the term for what I am trying to do is called downsizing. Is there a C++ library that will compile and run on Nokia Symbian…
user434541
  • 1,305
  • 2
  • 13
  • 21
0
votes
1 answer

Sensor Decimation

I have a quick question on sensor data decimation, which I'm sure is pretty easy but thought I'd check. I have a sensor that is sampling at 25Hz and the data is being sent across a serial RS232 connection to an external data logger, which is…
George
  • 1
  • 1
0
votes
1 answer

exporting scipy array for speech data to ascii text readable in adobe audition

I read a 48khz, 16bit precision PCM speech data using wav read functionality of scipy.signal. Next, I perform these steps in order : decimation -> normalisation Decimation and normalisation is done using the following steps : yiir =…
0
votes
1 answer

Highcharts downsampling - CSV

I'm developping a web-app and I use the JS Highcharts plugin to help me to draw some charts. Sometimes I load a CSV file with more than 100 000 lines with 4 columns. Obviously, the chart plugin meet some problems. So, I can't downsample my CSV file…
Joris Bertomeu
  • 105
  • 3
  • 12
0
votes
1 answer

How to modify down-sampled bitmap with Fresco Android?

I want to display image from internet with blur effect. I configured Fresco: ImagePipelineConfig config = ImagePipelineConfig.newBuilder(this) .setDownsampleEnabled(true) .build(); Fresco.initialize(this, config); Load and display…
VAdaihiep
  • 521
  • 9
  • 19
0
votes
1 answer

how to find the correct sampling rate for interp1 in Matlab

i am trying to find the correct sampling rate for interp1 (or decimate or resample) for plotting a number of points in axes obtained by imfreehand.. First i plot something (anything not sine…
gep
  • 93
  • 1
  • 7
0
votes
0 answers

Get texture coords on screen OpenGL

I'm trying to create a tone-mapping operator that changes on real time. I have the LDR image (after apply the operator to the HDR image) on a spherical texture, on a sphere which always rotates about Y axis, and the camera is inside the sphere; here…
MikeFadeCrew
  • 107
  • 2
  • 11
0
votes
0 answers

In Android: read image from file, for large images reduce size by reducing resolution, save it in a Blob

My Android-App reads image-files from the sd-card and stores the image in a blob in a sqlite database. Currently i am converting a FileInputStream to a byte array and store this in the blob. A blob cannot exceed the size of 1MB, so in this case i am…
gerhard
  • 479
  • 1
  • 6
  • 15
0
votes
0 answers

OpenCV detect-multi-scale confusion

I am using OpenCV's detect multi-scale. I do not understand however, whether the scale0 parameter refers to a downscale or an upscale factor. (Or both?). The documentation is here. The documentation says that the scale0 parameter refers to the…
Spacey
  • 2,941
  • 10
  • 47
  • 63