2,884 questions
7
votes
4
answers
444
views
Counting instances of genotype strings where order is irrelevant within locus
I'm looking at genetics punnet squares for two homologous chromosome pairs, which I've modeled in R like this:
# Punnet square for two homologous chromosome pairs
col_names<-c("AB", "...
Advice
0
votes
0
replies
68
views
How to change MSP430FR5739 PWM frequency according to external signal?
I’m working with an MSP430FR5739 and I’m trying to implement a PWM output whose frequency can change dynamically based on an external signal.
Here’s the behavior I want:
The PWM runs with a maximum ...
Tooling
0
votes
0
replies
92
views
how to adjust the NPU (on the Snapdragon 8 Gen 3) frequency and measure npu payload
ENV:
a rooted Android phone equipped with the Snapdragon 8 Gen 3 chip.
Question:
I can adjust the CPU/GPU frequency via sysfs (e.g., `echo xxx > /sys/class/kgsl/kgsl-3d0/devfreq/min_freq`).
Are ...
Advice
1
vote
1
replies
49
views
Ranking formula for a frequency list
I'm trying to compile a list of the 5000 most common Simplified Chinese characters as found in modern fiction (books written from around 1920 onward). It should probably be mentioned that 5000 is a ...
Advice
0
votes
4
replies
108
views
How to assign unique elements to different indices?
I've been working on a program that prints out each word, their number of occurrence's and percentage of the number occurrences over total length of the sentence.
As you can imagine I had to create a ...
0
votes
1
answer
113
views
ESP32 + INMP441: Frequency response measurement fails despite chirp sweep playback from Python
I'm trying to measure the frequency response of an INMP441 microphone using an ESP32 and a Python script. The ESP32 captures 6000 samples via I²S and sends them over serial. I play a 62.5 ms ...
1
vote
1
answer
99
views
STM32L010C6 TIM2 IRQ priority, over capture vs edge detection, classic timer issue
So I want to use a capture compare to measure an input frequency 0.1 Hz to 100 kHz.
The peripheral clock is set to 32 MHz to cover the full range and maximise the speed of calculations.
At lower ...
0
votes
1
answer
53
views
How to check in a bunch of .wav files for specific frequencies
I am an amateur in python, and I got an idea to help a colleague.
What we need is a program which will listen to a folder of .wav files, and tell me which present a specific range of frequencies (they ...
0
votes
0
answers
37
views
How to use low-frequency filtering to process the rising signal
My strain time-domain data shown in figure 1 contains significant high-frequency noise. The segment I focus on is the strain rising phase shown in figure 2, where the amplitude can be truncated at 1e4....
1
vote
1
answer
88
views
Excel power pivot - DAX count occurrences of the outcome of a frequency calculation
I have been struggling with a problem in excel power query/DAX and have finally given up. Hope someone here has a suggestion how to proceed. If it is solvable at all.
I have a table with registration ...
0
votes
1
answer
78
views
how to compare lists with their frequency
I'm interested in finding similarities between two lists. I have the count of duplicates in the first column, and the pattern is in the second column. What would be the most logical way to compare ...
3
votes
4
answers
190
views
What is the most simple way to label a data.table frequency chart in R?
I'm curious as to what the easiest way to label a data.table frequency table is. For example, say I have a data.table (dt1) with the following column (animals) being c(1,1,2,2,2,2,3,3,3,3,3,3)
and I ...
1
vote
2
answers
72
views
Change Datetime Frequency in a df Column - Pandas
If I have df with a column like 'B' below, but I want to change the frequency of the column B, to 1 business day instead of 3 business days, so that the output df will have 7 entries, instead of 3; ...
3
votes
2
answers
123
views
Largest sum of consecutive values in row, but is it still consecutive in the cell of the last column?
I have a row of non unique values in Excel 365, some cells are blank. I would like to scan the row and count consecutive cells where values exist.
W1
W2
W3
W4
W5
W6
W7
W8
1
2
1
1
2
3
So I've used ...
0
votes
0
answers
44
views
Transforming the Frequency of Time Series Data
Please I have a challenge that I need your insights on.
I am going to be running a time series analysis on a set of datasets:
CDS spreads, GDP and other macro economic datasets are in Monthly ...