ScatteringSystem: show particles
Former-commit-id: 3a8397dd3dc1f459df3edd79a8c79d0ed2c4d90b
This commit is contained in:
parent
97843e2a3a
commit
a71fa23a75
|
@ -1338,6 +1338,13 @@ cdef class ScatteringSystem:
|
|||
def __dealloc__(self):
|
||||
qpms_scatsys_free(self.s)
|
||||
|
||||
def particles_tmi(self):
|
||||
r = list()
|
||||
cdef qpms_ss_pi_t pi
|
||||
for pi in range(self.s[0].p_count):
|
||||
r.append(self.s[0].p[pi])
|
||||
return r
|
||||
|
||||
def tlm2uvswfi(t, l, m):
|
||||
''' TODO doc
|
||||
And TODO this should rather be an ufunc.
|
||||
|
|
Loading…
Reference in New Issue