ocelot-collab / ocelot

OCELOT is a multiphysics simulation toolkit designed for studying FEL and storage ring-based light sources.
GNU General Public License v3.0
85 stars 58 forks source link

Question about CSR #235

Closed laxmisubramanyam closed 5 months ago

laxmisubramanyam commented 5 months ago

Hi,

Sorry for bothering you again. But I reached to a point where test of CSR becomes essential and I am looking for some clarification about the effecient use of CSR. I have noticed that two methods are used in the examples of using CSR.

The first method is (used in Tutorial 5)

csr = CSR(n_bin=300, m_bin=5, sigma_min=0.2e-6)

and the second method is (used in csr_ex.py)

car = CSR()
csr.traj_step = 0.0002
csr.apply_step = 0.0002

What is the different between these two methods ? Is there any documentation about these two approaches ?

Also, what are the arguments for the default CSR() ?

Thank you.

Best regards, Laxmi