
-----------------------------------
varadinagypal
27 Aug 2024 16:13


-----------------------------------
Matematica, fara editarea pozei, totul script din JSol'Ex si liniile spectrale brute

He_offset = -142.8
He_context = 1
He_step = 1

kontinuum_offset = -10
kontinuum_context = 3
kontinuum_step = 1

kontL = kontinuum_offset - kontinuum_context
kontR = kontinuum_offset + kontinuum_context

HeL = He_offset - He_context
HeR = He_offset + He_context

[outputs]

HeRaw = min(range(HeL,HeR,He_step))
kontinuum = avg(range(kontL,kontR,kontinuum_step))
kontinuumLinearRotated = rotate_rad(linear_stretch(kontinuum), angleP)
delta2 = fix_banding(HeRaw - kontinuum, 100, 50)
HeLog = linear_stretch(log(HeRaw, 2))
HeLogHeRaw = linear_stretch(pow(HeLog + HeRaw, 1.2))
HeMul = linear_stretch(HeLogHeRaw * delta2)
HeMin = min(HeLogHeRaw, HeMul)
HePrime = linear_stretch(HeLog + HeMin + linear_stretch(pow(HeMin,4)) + linear_stretch(pow(HeRaw,2)) + HeLogHeRaw)
HePrimeRot = rotate_rad(HePrime, angleP)
HePrimeRotP = linear_stretch(pow(HePrimeRot, 1.1))
HePrimeRotFinal = linear_stretch(avg(HePrimeRotP, HePrimeRot))
