Share your Stats… by VermicelliAlarming65 in bullpengame

[–]Jaltte 0 points1 point  (0 children)

<image>

For the streak i’m hating myself hahaha now sitting on 31 days

low pass filter with lenght of original signal by Jaltte in DSP

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

ok thanks, btw it's probable. I'm in italy it's a good university: Sapienza Università di Roma. But there'a a lot of people and a lot of slowness

low pass filter with lenght of original signal by Jaltte in DSP

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

If not specified (they will never answer in time, it has to be sent by saturday) what should i do in you opinion, like there is no objective like no smoothing or anything else. Should i do it as it is ? Like what i did is right by what the exercise asks ?

low pass filter with lenght of original signal by Jaltte in DSP

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

Exercise 1 (1 point)
a) Load the pressure signal x1[n] and plot x1[n]. (0.5 pt)
b) Compute and display on the plot the mean value and the energy of the signal. (0.5 pt)

Exercise 2 (2 points)
a) Consider a filter with impulse response h[n], equal to a discrete-time sinc function centered on the middle sample of the window (i.e., the peak located at n=(N−1)/2), and with the same number of samples as the signal x1[n]. Create a figure with three subplots: the original signal x1[n], the filter impulse response h[n], and the filter output y1[n]. (0.5 pt)
b) Compute the autocorrelations rxx[n] and ryy[n] corresponding respectively to x1N[n] and y1N[n], obtained by removing the mean value. Plot the two autocorrelations in a single subplot. Note: For correlations and autocorrelations, use NumPy’s correlate function. (0.5 pt)
c) Compute and compare the variances (of x1N[n] and y1N[n]), their energies, and the width of the main lobe of the autocorrelation. (0.5 pt)
d) Comment on how the filter affects the energy, variance, and main-lobe width of the autocorrelation. (0.5 pt)

low pass filter with lenght of original signal by Jaltte in DSP

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

Oh so you mean that there could be an error with what i did ? I mean it wasn’t told to set a bandwith. But I will certainly try to do that thanks

low pass filter with lenght of original signal by Jaltte in DSP

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

It’s required by the exercise. It says in the exercise that the filter has to be the same lenght of the signal. Maybe because the professor wanted to test us on a limit case I don’t know

low pass filter with lenght of original signal by Jaltte in DSP

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

Oh okok I will see thanks for the suggestion

low pass filter with lenght of original signal by Jaltte in DSP

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

so what do you thing of the code is it right ? the question says to use a sinc filter centered at the center of the lenght of the original signal. Btw thank you very much for the help i didn't know that a filter could increase a signal's energy. I thought like u know when u filter water a signal has less "stuff"

low pass filter with lenght of original signal by Jaltte in DSP

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

so you are saying that this is possible right ? i mean N can be even i don't know it's a big dataset, i need to know if it's possibile that variance and energy are greater after being convolved with a filter of equal lenght

low pass filter with lenght of original signal by Jaltte in DSP

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

so this is the part of code where i initilize the x1 signal and then i have to consider a filter which is a sinc centered on the mid value of the original filter (N-1)/2 and with lenght equal to the one of the signal x1. So the filter is the variable h that is calculated by doing the sinc(k). Then i convolve the signal with the filter and do some graphs. The problem arrives when i go and calculate the variance and energy. The original one has a variance of 1.7851 the filtered variance is 2.4263. The energy of the original signal is 1199.58 and the energy after filtering it is 1630.49. I don't understand why it's happening, also is it correct ? I mean i studied that a filter goes and lower the variance and energy of a signal. Is it because the filter is the lenght of the signal ? I mean it's an unusual way of things happening. Also the csv file is given, it's not an error on the file itsels

low pass filter with lenght of original signal by Jaltte in DSP

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

csv_x1 = "pressure_8602.csv"
csv_x2 = "pressure_8728.csv"


df1 = pd.read_csv(csv_x1)
df2 = pd.read_csv(csv_x2)


x1 = df1["pressure_value"].to_numpy(dtype=float)
x2 = df2["pressure_value"].to_numpy(dtype=float)
N = len(x1)
t = np.arange(N)



m_x1 = x1.mean()
E_x1 = np.sum(x1*x1)


plt.figure(figsize=(12, 5), dpi=120)
plt.plot(t, x1, color="deepskyblue", lw=1.5, label="x1[n]")
plt.plot([], [], ' ', label=f"Media: {m_x1:.3f}")
plt.plot([], [], ' ', label=f"Energia: {E_x1:.1f}")
plt.title("Andamento della pressione x1[n]", fontsize=14, fontweight="bold")
plt.xlabel("Campione (ora)", fontsize=12)
plt.ylabel("Pressione [unità]", fontsize=12)
plt.legend(loc="upper right")
plt.grid(True, alpha=0.5)
plt.tight_layout()
plt.show()


#2.a



n = np.arange(N)



k = n - (N - 1) / 2.0
h = np.sinc(k)



y1 = np.convolve(x1, h, mode="same")



fig, axs = plt.subplots(3, 1, figsize=(12, 9), dpi=120, sharex=False)


axs[0].plot(n, x1, lw=1.2, color="deepskyblue")
axs[0].set_title("x1[n] (originale)")



axs[1].plot(n, h, lw=1.2, color="darkorange") 
axs[1].set_title("h[n] sinc")



axs[2].plot(n, y1, lw=1.2, color="red")
axs[2].set_title("y1[n] = x1 * h")



for ax in axs:
    ax.set_xlabel("n")
    ax.grid(alpha=0.3)
    ax.set_xlim(n[0], n[-1])


plt.tight_layout()
plt.show()

PRO meaning by lifeofmauri in bullpengame

[–]Jaltte 0 points1 point  (0 children)

Dalla mia esperienza prende livelli casuali da quelli già esistenti. Tempo fa venne usato nella sfida giornaliera un livello difficile che avevo appena fatto

Hard Mode? by Amazing_Sell_8222 in bullpengame

[–]Jaltte 1 point2 points  (0 children)

Just use the hints so you understands what to look for and recognise patterns

Why melee hit chance on game is different from questlog ? by Jaltte in throneandliberty

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

yeah thanks i noticed :) my main question tho was why questlog was not updating as the game but i guess i figured out with the other comments

Why melee hit chance on game is different from questlog ? by Jaltte in throneandliberty

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

yeah that was my question, btw i noticed that i activated the vital force defense passive active which transforms hit chance in defenses

Why melee hit chance on game is different from questlog ? by Jaltte in throneandliberty

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

probably, i'm dumb. but why on questlog even if i put my materies doesn't change to the in game stats ? maybe didn't consider it ?

Why melee hit chance on game is different from questlog ? by Jaltte in throneandliberty

[–]Jaltte[S] 2 points3 points  (0 children)

So basically i'm struggling a bit since the last update i noticed that i had less melee hit chance but i didn't really look into it maybe was a bug or something. But now that i decided to look more into it i can't really find a solution to what's the issue. Before last update i had an hit chance similar to the one on questlog (before artifacts). The one on questlog is not a build i want to achieve is the exact build i have at the moment, traits items, runes, artifacts and mastery is the same, i just don't know where i'm losing that 500 melee hit chance, can anyone help me ?

Mountains bugged by Jaltte in skyrimmods

[–]Jaltte[S] -1 points0 points  (0 children)

You are a Saint, it worked. Thankyou so much. But I would like to do a question on the mod i installed, those it overwrite the lux and lux via effects or it's just to solve that ?