code stringlengths 3 6.57k |
|---|
set_dmat(self, dmat=None) |
self._get_keys_dmat() |
set_dbragg(self, dbragg=None) |
self._get_keys_dbragg() |
_set_color(self, color=None) |
_set_dmisc(self, color=None) |
self._set_color(color) |
_strip_dgeom(self, lkeep=None) |
self._get_keys_dgeom() |
utils.ToFuObject._strip_dict(self._dgeom, lkeep=lkeep) |
_strip_dmat(self, lkeep=None) |
self._get_keys_dmat() |
utils.ToFuObject._strip_dict(self._dmat, lkeep=lkeep) |
_strip_dbragg(self, lkeep=None) |
self._get_keys_dbragg() |
utils.ToFuObject._strip_dict(self._dbragg, lkeep=lkeep) |
_strip_dmisc(self, lkeep=['color']) |
utils.ToFuObject._strip_dict(self._dmisc, lkeep=lkeep) |
_rebuild_dgeom(self, lkeep=None) |
self._get_keys_dgeom() |
utils.ToFuObject._test_Rebuild(self._dgeom, lkeep=lkeep) |
self._set_dgeom(dgeom=self._dgeom) |
_rebuild_dmat(self, lkeep=None) |
self._get_keys_dmat() |
utils.ToFuObject._test_Rebuild(self._dmat, lkeep=lkeep) |
self.set_dmat(self._dmat) |
_rebuild_dbragg(self, lkeep=None) |
self._get_keys_dbragg() |
utils.ToFuObject._test_Rebuild(self._dbragg, lkeep=lkeep) |
self.set_dbragg(self._dbragg) |
_rebuild_dmisc(self, lkeep=['color']) |
utils.ToFuObject._test_Rebuild(self._dmisc, lkeep=lkeep) |
self._set_dmisc(color=self.dmisc['color']) |
_strip_init(cls) |
max(cls._dstrip['allowed']) |
utils.ToFuObjectBase.strip.__doc__.format(doc,nMax) |
strip(self, strip=0) |
super() |
super(CrystalBragg, self) |
strip(strip=strip) |
_strip(self, strip=0) |
self._rebuild_dgeom() |
self._rebuild_dmat() |
self._rebuild_dbragg() |
self._rebuild_dmisc() |
self._strip_dgeom() |
self._strip_dmat() |
self._strip_dbragg() |
self._strip_dmisc() |
_to_dict(self) |
_from_dict(self, fd) |
self._dgeom.update(**fd.get('dgeom', {}) |
self._dmat.update(**fd.get('dmat', {}) |
self._dbragg.update(**fd.get('dbragg', {}) |
self._dmisc.update(**fd.get('dmisc', {}) |
self._dplot.update(**fd.get('dplot', {}) |
Type(self) |
dgeom(self) |
dmat(self) |
dbragg(self) |
dmisc(self) |
nin(self) |
nout(self) |
e1(self) |
e2(self) |
summit(self) |
center(self) |
ismobile(self) |
rockingcurve(self) |
self._dbragg.get('rockingcurve') |
get('type') |
Exception("rockingcurve was not set!") |
get_unit_vectors(self, use_non_parallelism=None) |
vectors (direct orthonormal basis) |
set_color(self, col) |
self._set_color(col) |
get_color(self) |
d (A) |
bragg({:9.6} A) |
format(self._dbragg['lambref']*1e10) |
surface (cm²) |
str(self._dmat['cut']) |
str(self._dmat['density']) |
format(self._dmat['d']*1.e10) |
str(self._dbragg['braggref']*180./np.pi) |
format(self._dgeom['surface']*1.e4) |
format(self._dgeom['rcurve']) |
ar0.append(self.rockingcurve['type']) |
ar0.append('None') |
str(np.round(self._dgeom['extenthalf'], decimals=3) |
str(np.round(self._dgeom['summit'], decimals=2) |
str(np.round(self._dgeom['center'], decimals=2) |
str(np.round(self._dmat['nout'], decimals=3) |
str(np.round(self._dmat['e1'], decimals=3) |
str(np.round(self._dmat['alpha'], decimals=6) |
str(np.round(self._dmat['beta'], decimals=6) |
self._dgeom.get('move') |
str(np.round(self._dgeom['move_param'], decimals=5) |
self._dmisc.get('color') |
col1.append('color') |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.