matflow-mtex


Namematflow-mtex JSON
Version 0.1.11 PyPI version JSON
download
home_page
SummaryMatflow extension for the MTEX MATLAB toolbox.
upload_time2023-10-09 14:01:33
maintainer
docs_urlNone
authorAdam J. Plowman, Elliot Cooksey-Nash, Michael D. Atkinson
requires_python>=3.6
licenseMIT license
keywords matflow materials-science computational-workflow
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # matflow-mtex

[![PyPI version](https://img.shields.io/pypi/v/matflow_mtex.svg)](https://pypi.python.org/pypi/matflow_mtex)


# Change Log

## [0.1.11] - 2023.10.09

### Added

- Add `sample_texture` method `from_ODF_mat`

## [0.1.10] - 2022.04.12

### Added

- Add options `colourbar_limits` and `use_one_colourbar` to `plot_pole_figure.m` snippet.

### Fixed

- Sample a maximum of 1000 orientations for the pole figure in `write_orientations_from_VE_response` input mapper.

## [0.1.9] - 2021.12.20

### Added

- Add task `sample_orientations` with methods `from_CTF_file` and `from_CRC_file`. This is for randomly sampling `N` orientations directly from the EBSD data. Similar to the `sample_texture` task, but an intermediate ODF is not constructed.
- Support sampling orientations from a fibre ODF that is parametrised by a crystal direction `fibre_crystal_dir` (e.g. `[1, 0, -1, 0]`) and a parallel sample direction `fibre_specimen_dir` (`x`, `y`, or `z`).
- Support sampling orientations from a unimodal ODF that is parametrised by a single Euler angle triplet `modal_orientation_euler` (in Bunge/degrees/MTEX hexagonal unit cell alignment `y // b`).
- Option to either plot pole figures with filled contours or with markers using the new boolean option `use_contours` to the task: `visualise_volume_element_response/pole_figure`. If using markers, the markers will be coloured by IPF colouring. The IPF reference direction is the `z`-direction by default, but can be specified with the new option `IPF_reference_direction`.

### Fixed
- Fix `visualise_volume_element_response/pole_figure`. Users can now plot pole figures for multiple increments and for selected phases. A pre-requisite for this is that two `field_data` items are specified in the `output_map_options` of the `simulate_volume_element_loading` task:
  - `field_name: phase`
  - `field_name: O` (orientations).

## [0.1.8] - 2021.09.24

### Changed

- Validate orientations in `visualise_orientations/pole_figure`.
- Respect `quat_component_ordering` in `plot_pole_figure`

## [0.1.7] - 2021.03.21

### Changed

- Add option to rotate EBSD data in snippets `get_ODF_from_CRC_file` and `get_ODF_from_CTF_file`.

## [0.1.6] - 2021.01.19

### Added

- Support "fibre" ODF components in snippet `get_model_ODF.m`
- Add input mapper for task `visualise_volume_element_response` with method `texture_pole_figure`.

### Changed

- Account for `euler_degree` boolean specification in orientations JSON file.
- Scale vector part of quaternions in `plot_pole_figure` snippet by -1 if P-constant is +1.
- Change visualise orientations snippet to plot contours

## [0.1.5] - 2021.01.10

### Added

- Add new tasks for generating orientations that bypass exporting/importing ODFs due to issues with how [MTEX currently handles this](https://github.com/mtex-toolbox/mtex/issues/659). These tasks are: `sample_texture` with methods: `from_model_ODF`, `from_CTF_file` and `from_CRC_file`. Previously, this would have been achieved with two tasks `get_model_texture`/`estimate_ODF` and then `sample_texture`.
- Add ability to generate an ODF in `sample_texture/from_model_ODF` task using multiple ODF components.
- Add `visualise_orientations/pole_figure` task to plot sampled orientations on a pole figure in MTEX.

## [0.1.4] - 2020.12.10

### Fixed

- Fix output mapper functions `parse_orientations` and `parse_MTEX_ODF_file` for cases where the files have only one row of data. Now we use the `ndmin=2` argument of `numpy.loadtxt` to ensure arrays of consistent dimensions are returned.

## [0.1.3] - 2020.08.18

### Added

- Support specifying orientation coordinate system, which can be used to correctly align, within the model, the textures with respect to e.g. RD/TD/ND.

## [0.1.2] - 2020.07.18

### Added

- Support generating an ODF from CRC (and CPR) EBSD files (in addition to existing CTF file support).

## [0.1.1] - 2020.07.01

### Added

- Add `fibre` method to `get_model_texture` task.
- Add `random` method to `get_model_texture` task.

### Changed

- Use `orientation.byMiller` in `get_unimodal_ODF.m`

## [0.1.0] - 2020.06.09

- Initial release.



            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "matflow-mtex",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "matflow,materials-science,computational-workflow",
    "author": "Adam J. Plowman, Elliot Cooksey-Nash, Michael D. Atkinson",
    "author_email": "adam.plowman@manchester.ac.uk",
    "download_url": "https://files.pythonhosted.org/packages/91/08/acbf1212adc56effde0ba92d64c0fa7fda0cc9060dbeff7aad43b12680e4/matflow-mtex-0.1.11.tar.gz",
    "platform": null,
    "description": "# matflow-mtex\n\n[![PyPI version](https://img.shields.io/pypi/v/matflow_mtex.svg)](https://pypi.python.org/pypi/matflow_mtex)\n\n\n# Change Log\n\n## [0.1.11] - 2023.10.09\n\n### Added\n\n- Add `sample_texture` method `from_ODF_mat`\n\n## [0.1.10] - 2022.04.12\n\n### Added\n\n- Add options `colourbar_limits` and `use_one_colourbar` to `plot_pole_figure.m` snippet.\n\n### Fixed\n\n- Sample a maximum of 1000 orientations for the pole figure in `write_orientations_from_VE_response` input mapper.\n\n## [0.1.9] - 2021.12.20\n\n### Added\n\n- Add task `sample_orientations` with methods `from_CTF_file` and `from_CRC_file`. This is for randomly sampling `N` orientations directly from the EBSD data. Similar to the `sample_texture` task, but an intermediate ODF is not constructed.\n- Support sampling orientations from a fibre ODF that is parametrised by a crystal direction `fibre_crystal_dir` (e.g. `[1, 0, -1, 0]`) and a parallel sample direction `fibre_specimen_dir` (`x`, `y`, or `z`).\n- Support sampling orientations from a unimodal ODF that is parametrised by a single Euler angle triplet `modal_orientation_euler` (in Bunge/degrees/MTEX hexagonal unit cell alignment `y // b`).\n- Option to either plot pole figures with filled contours or with markers using the new boolean option `use_contours` to the task: `visualise_volume_element_response/pole_figure`. If using markers, the markers will be coloured by IPF colouring. The IPF reference direction is the `z`-direction by default, but can be specified with the new option `IPF_reference_direction`.\n\n### Fixed\n- Fix `visualise_volume_element_response/pole_figure`. Users can now plot pole figures for multiple increments and for selected phases. A pre-requisite for this is that two `field_data` items are specified in the `output_map_options` of the `simulate_volume_element_loading` task:\n  - `field_name: phase`\n  - `field_name: O` (orientations).\n\n## [0.1.8] - 2021.09.24\n\n### Changed\n\n- Validate orientations in `visualise_orientations/pole_figure`.\n- Respect `quat_component_ordering` in `plot_pole_figure`\n\n## [0.1.7] - 2021.03.21\n\n### Changed\n\n- Add option to rotate EBSD data in snippets `get_ODF_from_CRC_file` and `get_ODF_from_CTF_file`.\n\n## [0.1.6] - 2021.01.19\n\n### Added\n\n- Support \"fibre\" ODF components in snippet `get_model_ODF.m`\n- Add input mapper for task `visualise_volume_element_response` with method `texture_pole_figure`.\n\n### Changed\n\n- Account for `euler_degree` boolean specification in orientations JSON file.\n- Scale vector part of quaternions in `plot_pole_figure` snippet by -1 if P-constant is +1.\n- Change visualise orientations snippet to plot contours\n\n## [0.1.5] - 2021.01.10\n\n### Added\n\n- Add new tasks for generating orientations that bypass exporting/importing ODFs due to issues with how [MTEX currently handles this](https://github.com/mtex-toolbox/mtex/issues/659). These tasks are: `sample_texture` with methods: `from_model_ODF`, `from_CTF_file` and `from_CRC_file`. Previously, this would have been achieved with two tasks `get_model_texture`/`estimate_ODF` and then `sample_texture`.\n- Add ability to generate an ODF in `sample_texture/from_model_ODF` task using multiple ODF components.\n- Add `visualise_orientations/pole_figure` task to plot sampled orientations on a pole figure in MTEX.\n\n## [0.1.4] - 2020.12.10\n\n### Fixed\n\n- Fix output mapper functions `parse_orientations` and `parse_MTEX_ODF_file` for cases where the files have only one row of data. Now we use the `ndmin=2` argument of `numpy.loadtxt` to ensure arrays of consistent dimensions are returned.\n\n## [0.1.3] - 2020.08.18\n\n### Added\n\n- Support specifying orientation coordinate system, which can be used to correctly align, within the model, the textures with respect to e.g. RD/TD/ND.\n\n## [0.1.2] - 2020.07.18\n\n### Added\n\n- Support generating an ODF from CRC (and CPR) EBSD files (in addition to existing CTF file support).\n\n## [0.1.1] - 2020.07.01\n\n### Added\n\n- Add `fibre` method to `get_model_texture` task.\n- Add `random` method to `get_model_texture` task.\n\n### Changed\n\n- Use `orientation.byMiller` in `get_unimodal_ODF.m`\n\n## [0.1.0] - 2020.06.09\n\n- Initial release.\n\n\n",
    "bugtrack_url": null,
    "license": "MIT license",
    "summary": "Matflow extension for the MTEX MATLAB toolbox.",
    "version": "0.1.11",
    "project_urls": {
        "GitHub": "https://github.com/LightForm-group/matflow-mtex"
    },
    "split_keywords": [
        "matflow",
        "materials-science",
        "computational-workflow"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "444014d70916b02661b30ff69c0eecafb5e2cb2e0fbeff414e36645bc416f7ad",
                "md5": "1c23fe5da5a269d38151f1bff77306d3",
                "sha256": "83fffba7e4ecefb778c133a546e9e202bf24c340d2bb21868851d255246b9309"
            },
            "downloads": -1,
            "filename": "matflow_mtex-0.1.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1c23fe5da5a269d38151f1bff77306d3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 20711,
            "upload_time": "2023-10-09T14:01:31",
            "upload_time_iso_8601": "2023-10-09T14:01:31.163079Z",
            "url": "https://files.pythonhosted.org/packages/44/40/14d70916b02661b30ff69c0eecafb5e2cb2e0fbeff414e36645bc416f7ad/matflow_mtex-0.1.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9108acbf1212adc56effde0ba92d64c0fa7fda0cc9060dbeff7aad43b12680e4",
                "md5": "5053d364340a7e3fa4e49c0a44e1cad4",
                "sha256": "fec4d4b7be222d5a2713904d8ab097fb81c8efa390600225e8d45582daed7181"
            },
            "downloads": -1,
            "filename": "matflow-mtex-0.1.11.tar.gz",
            "has_sig": false,
            "md5_digest": "5053d364340a7e3fa4e49c0a44e1cad4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 15255,
            "upload_time": "2023-10-09T14:01:33",
            "upload_time_iso_8601": "2023-10-09T14:01:33.943908Z",
            "url": "https://files.pythonhosted.org/packages/91/08/acbf1212adc56effde0ba92d64c0fa7fda0cc9060dbeff7aad43b12680e4/matflow-mtex-0.1.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-09 14:01:33",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "LightForm-group",
    "github_project": "matflow-mtex",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "matflow-mtex"
}
        
Elapsed time: 0.14085s