About code



Message board moderation

To post messages, you must log in.
AuthorMessage
Profile Centro de Computacion de Fotom...

Send message
Joined: 25 Mar 16
Posts: 48
Credit: 5,949,958
RAC: 5,940
Message 8919 - Posted: 5 Apr 2025, 21:43:14 UTC

Last modified: 5 Apr 2025, 22:41:38 UTC
I see the code in git hub https://github.com/AsteroidsAtHome/PeriodSearch last modificacion 3 years ago

in period searchmain
in the period_searh_optimization_cpu
input_period_search
period_searh_in_2263

only for visualize one of the task

2 0.5 1000 1 period_start period_step period_end fixed/free
0.0 initial epoch
0.0 initial rotation angle
0.1 convexity weight
3 3 degree and order of spherical harmonics
6 number of rows
0.5 1 scattering parameters
0.1 1
-0.5 1
0.1 0 LS coeff
50 iteration stop condidion
10 minimum number of iterations (only if the above value < 1)
5 Alamda multiplicative factor
0.1 Alamda initial value
19
66 0 0.012 2008-09-01.4 R Oey
2454710.033030 9.526465e-01 -2.23590051 -0.00900072 0.39304262 -1.29772251 -0.38119762 0.39304159
...... a lot of numbres i think probably matrix and derivades calculations of Two methods are outlined for estimating the attitude and rotation of an object with a known shape and orbit using only light curve measurements :/ bayesian inference?, this methods, ...

i remember when use newthon rhapson and gauss seidel when system converge for caluclation of nodes electrical systems of power. ( in spanish) (calculaba los incrementos de los resultados de las matrices inversas, y si no convergía en el error hacia otra iteracion hasta que el sistema pasaba el error minimo fijado)

this is my work of system iterations (start page 64 of pdf) 4 nodes by hand, yes, BY HAND muahahaha one iteration of nwethon rhapson its toooo crazy

https://www.transfernow.net/dl/20250405eSViW6HK

Its no have manual for understand how works the period search application,, but, i think, i can use deep seek R1 IA, (R1) for code , for understand.

i think this IA can write the code c... in python?

¿How works in the cpu this code? Can i see the code run with asembler or xdbg debugger , and see , the diagram fluxes?

I think what the IA can generate code for visulize the simulation (light curve) in boinc?, because only can see propierties of task
ID: 8919 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ahorek's team
Volunteer developer
Volunteer tester

Send message
Joined: 1 Jan 13
Posts: 144
Credit: 12,740,099
RAC: 45,855
Message 8929 - Posted: 7 Apr 2025, 18:41:57 UTC - in response to Message 8919.  
You can find the latest code in the "dev" branch.
period_search_optimization_simd (cpu)
period_search_opencl_amd (opencl)
period_search_cuda (cuda)

If you're trying to understand what the code does, it's easier to begin with the simpler version that doesn't include any SIMD or GPU optimizations.

There's no guide or comprehensive documentation, but you can find some resources about the math behind here
https://dspace.cuni.cz/bitstream/handle/20.500.11956/124674/130299758.pdf?sequence=1&isAllowed=y (czech only)
https://www.issfd.org/ISSFD_2014/ISSFD24_Paper_S10-3_Bradley.pdf

The app uses well-known algorithms like
https://en.wikipedia.org/wiki/Einstein_notation
https://en.wikipedia.org/wiki/Levenberg%E2%80%93Marquardt_algorithm
https://en.wikipedia.org/wiki/Gaussian_elimination

> i think this IA can write the code c... in python?
AI can explain what each part does and write a similar code in Python for educational purposes, but you still need some math+dev background to understand it.

> Can i see the code run with asembler or xdbg debugger
Sure, if you can compile it... However, the assembly output won't provide much insight into what the code does.
ID: 8929 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote