svg-to-vl


Namesvg-to-vl JSON
Version 2.0.2 PyPI version JSON
download
home_pagehttps://github.com/rmerks/VirtualLeaf2021/tree/v2.0.0/src/python
Summaryconverting cells drawn in svg files to VirtualLeaf xml start files. The svg file should be specified without extension, the resulting xml file will be stored next to the svg file.
upload_time2024-11-19 21:43:30
maintainerNone
docs_urlNone
authorRichard van Nieuwenhoven, Ruth Großeholz, Roeland R.M.H. Merks
requires_python>=3.1
licenseNone
keywords virtualleaf svg conversion
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            #Enhanced cell wall mechanics in VirtualLeaf enable realistic simulations of plant tissue dynamics

Computational modelling has become increasingly important in advancing our understanding of biological systems, necessitating the development of new computational approaches and software. VirtualLeaf, in particular, is a modelling framework for plant tissues that accounts for the biophysical mechanics of plant cell interactions. The plant cell wall plays a pivotal role in plant development and survival, with younger cells generally having thinner, more flexible (primary) walls than older cells. Signalling processes in growth and pathogen infection also affect cell wall stability.  This article presents an updated version of VirtualLeaf with improved cell wall mechanics and morphing behaviour. These are crucial for ultimately understanding plant tissue dynamics and essential signalling processes during growth, tissue formation and pathogen defence. The updated version of VirtualLeaf enables detailed modelling of variations in cell wall stability to the level of individual cell wall elements. These improvements lay the groundwork for using VirtualLeaf to address new research questions, including the structural implications of pathogen infection and growth.


The script facilitates the customisation of multiple parameters, including the designation 
and directory of the template file, which outlines the overarching structure and general 
parameters for the XML file alongside the desired filename for the resulting XML document. 
Additionally, users can specify a scaling factor to appropriately map x and y coordinates 
to the cellular scale and a colour map for encoding cell types within the SVG file. 
Furthermore, specific details for each cell type are provided, delineated by colons and 
their hex colour code, encompassing elements such as cell type and intracellular chemical 
concentrations.

>python readsvg.py -i "path to the SVG file (without .svg)" -t "path to the XML template file (with file extension)" -s "numerical scaling factor between image and simulation template" -c “color code”

The colour code has the form of "RGB colour code, cell type, intracellular species concentrations: RGB colour code, cell type, intracellular species: ... : ... :" until all colour codes are described. 
Default colour code is "ffffff,1,2.251808,0.481961:0000f8,2,2.251808,0.481961:009000,3,2.251808,0.481961:ff0000,3,2.251808,0.481961"


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/rmerks/VirtualLeaf2021/tree/v2.0.0/src/python",
    "name": "svg-to-vl",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.1",
    "maintainer_email": null,
    "keywords": "virtualleaf svg conversion",
    "author": "Richard van Nieuwenhoven, Ruth Gro\u00dfeholz, Roeland R.M.H. Merks",
    "author_email": "richard.nieuwenhoven@tuwien.ac.at, ruth.grosseholz@maastrichtuniversity.nl, merksrmh@math.leidenuniv.nl",
    "download_url": "https://files.pythonhosted.org/packages/cc/53/0899a29ad9b2ade829162deda63e9a825a789c3595660a04ab258fd024d1/svg-to-vl-2.0.2.tar.gz",
    "platform": null,
    "description": "#Enhanced cell wall mechanics in VirtualLeaf enable realistic simulations of plant tissue dynamics\n\nComputational modelling has become increasingly important in advancing our understanding of biological systems, necessitating the development of new computational approaches and software. VirtualLeaf, in particular, is a modelling framework for plant tissues that accounts for the biophysical mechanics of plant cell interactions. The plant cell wall plays a pivotal role in plant development and survival, with younger cells generally having thinner, more flexible (primary) walls than older cells. Signalling processes in growth and pathogen infection also affect cell wall stability.  This article presents an updated version of VirtualLeaf with improved cell wall mechanics and morphing behaviour. These are crucial for ultimately understanding plant tissue dynamics and essential signalling processes during growth, tissue formation and pathogen defence. The updated version of VirtualLeaf enables detailed modelling of variations in cell wall stability to the level of individual cell wall elements. These improvements lay the groundwork for using VirtualLeaf to address new research questions, including the structural implications of pathogen infection and growth.\n\n\nThe script facilitates the customisation of multiple parameters, including the designation \nand directory of the template file, which outlines the overarching structure and general \nparameters for the XML file alongside the desired filename for the resulting XML document. \nAdditionally, users can specify a scaling factor to appropriately map x and y coordinates \nto the cellular scale and a colour map for encoding cell types within the SVG file. \nFurthermore, specific details for each cell type are provided, delineated by colons and \ntheir hex colour code, encompassing elements such as cell type and intracellular chemical \nconcentrations.\n\n>python readsvg.py -i \"path to the SVG file (without .svg)\" -t \"path to the XML template file (with file extension)\" -s \"numerical scaling factor between image and simulation template\" -c \u201ccolor code\u201d\n\nThe colour code has the form of \"RGB colour code, cell type, intracellular species concentrations: RGB colour code, cell type, intracellular species: ... : ... :\" until all colour codes are described. \nDefault colour code is \"ffffff,1,2.251808,0.481961:0000f8,2,2.251808,0.481961:009000,3,2.251808,0.481961:ff0000,3,2.251808,0.481961\"\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "converting cells drawn in svg files to VirtualLeaf xml start files. The svg file should be specified without extension, the resulting xml file will be stored next to the svg file.",
    "version": "2.0.2",
    "project_urls": {
        "Homepage": "https://github.com/rmerks/VirtualLeaf2021"
    },
    "split_keywords": [
        "virtualleaf",
        "svg",
        "conversion"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "25f17fcafef06eb62838006ddee3ff34c3e3e37ece080145afd75087af320fbb",
                "md5": "ad12a62f3b57cddcc3e50a13d839a31b",
                "sha256": "e66d42594cae3735ca1c1c4af8ccce9478232da1c1a10d205c3fce161fbb429c"
            },
            "downloads": -1,
            "filename": "svg_to_vl-2.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ad12a62f3b57cddcc3e50a13d839a31b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.1",
            "size": 11004,
            "upload_time": "2024-11-19T21:43:28",
            "upload_time_iso_8601": "2024-11-19T21:43:28.443619Z",
            "url": "https://files.pythonhosted.org/packages/25/f1/7fcafef06eb62838006ddee3ff34c3e3e37ece080145afd75087af320fbb/svg_to_vl-2.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cc530899a29ad9b2ade829162deda63e9a825a789c3595660a04ab258fd024d1",
                "md5": "aac833e6a87f0ba51aa146b7122ea1f3",
                "sha256": "7c0da5f3e2b96960d77c73eae50a720de20c781e3d046c07f705387ec688c0d7"
            },
            "downloads": -1,
            "filename": "svg-to-vl-2.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "aac833e6a87f0ba51aa146b7122ea1f3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.1",
            "size": 11690,
            "upload_time": "2024-11-19T21:43:30",
            "upload_time_iso_8601": "2024-11-19T21:43:30.458358Z",
            "url": "https://files.pythonhosted.org/packages/cc/53/0899a29ad9b2ade829162deda63e9a825a789c3595660a04ab258fd024d1/svg-to-vl-2.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-19 21:43:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "rmerks",
    "github_project": "VirtualLeaf2021",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "svg-to-vl"
}
        
Elapsed time: 1.59798s