pyextal.hdf5io.maps =================== .. py:module:: pyextal.hdf5io.maps .. autoapi-nested-parse:: Potential / charge-density maps stored under their refinement run. Layout:: refinement/run_NNN/maps// attrs: kind ('potential'|'charge'), dim (2|3), layer, timestamp, settings_json (the arguments the map was made with) refined map from the refined structure factors (complex) reference map from the .dat / IAM structure factors (complex) diff refined - reference hkl (n, 3) beams summed sf_refined, sf_reference (n,) complex coefficients source (n,) 'refined' | 'friedel' | 'model' per beam axes (dim, 3) fractional grid step along each array axis lattice (3, 3) Cartesian lattice vectors, Angstrom Attributes ---------- .. autoapisummary:: pyextal.hdf5io.maps._ARRAYS Functions --------- .. autoapisummary:: pyextal.hdf5io.maps._run_group pyextal.hdf5io.maps.save_map pyextal.hdf5io.maps.load_map pyextal.hdf5io.maps.list_maps Module Contents --------------- .. py:data:: _ARRAYS :value: ('refined', 'reference', 'diff', 'hkl', 'sf_refined', 'sf_reference', 'axes', 'lattice') .. py:function:: _run_group(f, run) .. py:function:: save_map(run, name, result, overwrite=False) Writes a `pyextal.potentialMap.MapResult` under its run. :param run: The run the map was made from. :type run: RefinedRun :param name: Map name, e.g. 'proj110_potential'. :type name: str :param result: The maps. :type result: MapResult :param overwrite: Replace an existing map of that name. :type overwrite: bool :returns: The group path written. :rtype: str .. py:function:: load_map(run, name) Reads a map written by `save_map`. :returns: MapResult .. py:function:: list_maps(run) Summaries of the maps stored under a run. :returns: name, kind, dim, layer, shape, timestamp. :rtype: list of dict