Changeset 4207
- Timestamp:
- Dec 16, 2019 5:06:50 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIscriptable.py
r4203 r4207 4166 4166 @property 4167 4167 def composition(self): 4168 ''' Returns a dict where keys are atom types and values are the number of4168 '''Provides a dict where keys are atom types and values are the number of 4169 4169 atoms of that type in cell (such as {'H': 2.0, 'O': 1.0}) 4170 4170 ''' … … 4178 4178 return out 4179 4179 4180 @property 4181 def density(self): 4182 '''Provides a scalar with the density of the phase. In case of a 4183 powder this assumes a 100% packing fraction. 4184 ''' 4185 import GSASIImath as G2mth 4186 density,mattCoeff = G2mth.getDensity(self.data['General']) 4187 return density 4180 4188 4181 4189 @property -
trunk/exports/template_phase.cif
r3793 r4207 1 # GSAS phase information template file1 # GSAS-II phase information template file 2 2 3 3 data_Phase_Template … … 36 36 #============================================================================== 37 37 38 # 8. Phase information from GSAS 38 # 8. Phase information from GSAS-II 39 39
Note: See TracChangeset
for help on using the changeset viewer.