286 resultados para python
Resumo:
Resumen basado en el de la publicación
Resumo:
En 2009 la Unidad Municipal de Análisis Territorial del Ajuntament de Girona apostó por integrar al sistema de información territorial existente un conjunto de herramientas libres para publicar cartografía. Un año después, más de la mitad de los servicios de cartografía web están funcionando sobre este nuevo sistema. El nuevo sistema, llamado Coloma, se basa en una base de datos PostGIS, la librería de render Mapnik, el servidor WS Ogcserver, la librería Javascript OpenLayers, el framework Django, el lenguaje de programación Python y el servidor web Apache con el módulo para WSGI. Coloma incluye una herramienta de administración web para facilitar la configuración y la administración del día a día. Aporta pequeñas mejoras a los proyectos por separado y un valor añadido al conjunto, consiguiendo un servidor de cartografía formado por proyectos de éxito, robusto y con muchas posibilidades. Coloma ha demostrado ser fiable y sus componentes siguen mejorando día a día. El hecho de ser software libre nos ha permitido acceder al conocimiento, código y documentación que hay sobre todo este software en Internet. En los próximos meses la UMAT va a liberar el proyecto Coloma para que más gente pueda beneficiarse del trabajo hecho hasta ahora
Resumo:
SEXTANTE es un marco para el desarrollo de algoritmos dedicados al procesamiento de información geográficamente referenciada, que actualmente cuenta con más de doscientos algoritmos que son capaces de operar sobre datos vectoriales, alfanuméricos y raster. Por otra parte, GearScape es un sistema de información geográfico orientado al geoprocesamiento, que dispone de un lenguaje declarativo que permite el desarrollo de geoprocesos sin necesidad de herramientas de desarrollo complejas. Dicho lenguaje está basado en el estándar SQL y extendido mediante la norma OGC para el acceso a fenómenos simples. Al ser un lenguaje mucho más simple que los lenguajes de programación imperativos (java, .net, python, etc.) la creación de geoprocesos es también más simple, más fácil de documentar, menos propensa a bugs y además la ejecución es optimizada de manera automática mediante el uso de índices y otras técnicas. La posibilidad de describir cadenas de operaciones complejas tiene también valor a modo de documentación: es posible escribir todos los pasos para la resolución de un determinado problema y poder recuperarlo tiempo después, reutilizarlo fácilmente, comunicárselo a otra persona, etc. En definitiva, el lenguaje de geoprocesamiento de GearScape permite "hablar" de geoprocesos. La integración de SEXTANTE en GearScape tiene un doble objetivo. Por una parte se pretende proporcionar la posibilidad de usar cualquiera de los algoritmos con la interfaz habitual de SEXTANTE. Por la otra, se pretende añadir al lenguaje de geoprocesamiento de GearScape la posibilidad de utilizar algoritmos de SEXTANTE. De esta manera, cualquier problema que se resuelva mediante la utilización de varios de estos algoritmes puede ser descrito con el lenguaje de geoprocesamiento de GearScape. A las ventajas del lenguaje de GearScape para la definición de geoprocesos, se añade el abanico de geoprocesos disponible en SEXTANTE, por lo que el lenguaje de geoprocesamiento de GearScape nos permite "hablar" utilizando vocabulario de SEXTANTE
Resumo:
We are looking into variants of a domination set problem in social networks. While randomised algorithms for solving the minimum weighted domination set problem and the minimum alpha and alpha-rate domination problem on simple graphs are already present in the literature, we propose here a randomised algorithm for the minimum weighted alpha-rate domination set problem which is, to the best of our knowledge, the first such algorithm. A theoretical approximation bound based on a simple randomised rounding technique is given. The algorithm is implemented in Python and applied to a UK Twitter mentions networks using a measure of individuals’ influence (klout) as weights. We argue that the weights of vertices could be interpreted as the costs of getting those individuals on board for a campaign or a behaviour change intervention. The minimum weighted alpha-rate dominating set problem can therefore be seen as finding a set that minimises the total cost and each individual in a network has at least alpha percentage of its neighbours in the chosen set. We also test our algorithm on generated graphs with several thousand vertices and edges. Our results on this real-life Twitter networks and generated graphs show that the implementation is reasonably efficient and thus can be used for real-life applications when creating social network based interventions, designing social media campaigns and potentially improving users’ social media experience.
Resumo:
Uma das maiores dificuldades encontradas pelos técnicos envolvidos na elaboração da previsão do tempo é a falta de integração entre o software de visualização usado por eles e os programas usados para escrever os boletins. Os previsores necessitam de um meio rápido e fácil de gerar previsões com outras formas de apresentação, além do formato de texto em que ela normalmente é produzida. A partir do estudo dessas dificuldades, formulou-se a hipótese de que seria benéfico criar uma linguagem visual para a criação da previsão do tempo, que permitisse gerar tanto o texto de um boletim meteorológico quanto as imagens correspondentes. Este trabalho descreve a especificação dessa linguagem, à qual se deu o nome de Pythonissa. Ela foi definida usando o formalismo de grafos e se constitui de um modelo da estrutura de um boletim de previsão do tempo. Em Pythonissa, cada região geográfica para a qual é feita a previsão é representada por um vértice em um grafo. Os fenômenos presentes na região também são representados por vértices, de outros tipos, ligados à região por arestas que denotam sua presença. Cada tipo de vértice e aresta tem mapeamentos para representações gráficas e para elementos de controle em uma interface com o usuário. A partir da linguagem, foi implementado um protótipo preliminar, no qual é possível criar um boletim de por meio de uma interface visual e gerar o texto e a imagem correspondentes. Foi dado início, também, à construção de um framework para integração da linguagem a um ambiente de visualização de dados, de modo a produzir uma aplicação utilizável em um ambiente de trabalho real. Para isto foram usados o software de visualização Vis5D e a linguagem de scripts Python. A este framework, se deu o nome de Py5D.
Resumo:
The spread of the Web boosted the dissemination of Information Systems (IS) based on the Web. In order to support the implementation of these systems, several technologies came up or evolved with this purpose, namely the programming languages. The Technology Acceptance Model TAM (Davis, 1986) was conceived aiming to evaluate the acceptance/use of information technologies by their users. A lot of studies and many applications have used the TAM, however, in the literature it was not found a mention of the use of such model related to the use of programming languages. This study aims to investigate which factors influence the use of programming languages on the development of Web systems by their developers, applying an extension of the TAM, proposed in this work. To do so, a research was done with Web developers in two Yahoo groups: java-br and python-brasil, where 26 Java questionnaires and 39 Python questionnaires were fully answered. The questionnaire had general questions and questions which measured intrinsic and extrinsic factors of the programming languages, the perceived usefulness, the perceived ease of use, the attitude toward the using and the programming language use. Most of the respondents were men, graduate, between 20 and 30 years old, working in the southeast and south regions. The research was descriptive in the sense of its objectives. Statistical tools, descriptive statistics, main components and linear regression analysis were used for the data analysis. The foremost research results were: Java and Python have machine independence, extensibility, generality and reliability; Java and Python are more used by corporations and international organizations than supported by the government or educational institutions; there are more Java programmers than Python programmers; the perceived usefulness is influenced by the perceived ease of use; the generality and the extensibility are intrinsic factors of programming languages which influence the perceived ease of use; the perceived ease of use influences the attitude toward the using of the programming language
Resumo:
This work presents a packet manipulation tool developed to realize tests in industrial devices that implements TCP/IP-based communication protocols. The tool was developed in Python programming language, as a Scapy extension. This tool, named IndPM- Industrial Packet Manipulator, can realize vulnerability tests in devices of industrial networks, industrial protocol compliance tests, receive server replies and utilize the Python interpreter to build tests. The Modbus/TCP protocol was implemented as proof-of-concept. The DNP3 over TCP protocol was also implemented but tests could not be realized because of the lack of resources. The IndPM results with Modbus/TCP protocol show some implementation faults in a Programmable Logic Controller communication module frequently utilized in automation companies
Resumo:
Mainstream programming languages provide built-in exception handling mechanisms to support robust and maintainable implementation of exception handling in software systems. Most of these modern languages, such as C#, Ruby, Python and many others, are often claimed to have more appropriated exception handling mechanisms. They reduce programming constraints on exception handling to favor agile changes in the source code. These languages provide what we call maintenance-driven exception handling mechanisms. It is expected that the adoption of these mechanisms improve software maintainability without hindering software robustness. However, there is still little empirical knowledge about the impact that adopting these mechanisms have on software robustness. This work addresses this gap by conducting an empirical study aimed at understanding the relationship between changes in C# programs and their robustness. In particular, we evaluated how changes in the normal and exceptional code were related to exception handling faults. We applied a change impact analysis and a control flow analysis in 100 versions of 16 C# programs. The results showed that: (i) most of the problems hindering software robustness in those programs are caused by changes in the normal code, (ii) many potential faults were introduced even when improving exception handling in C# code, and (iii) faults are often facilitated by the maintenance-driven flexibility of the exception handling mechanism. Moreover, we present a series of change scenarios that decrease the program robustness
Pulmonary receptors in reptiles: discharge patterns of receptor populations in snakes versus turtles
Resumo:
This study examines the effects of lung inflation/deflation with and without CO2 on the entire population of pulmonary receptors in the vagus nerve in two species of snakes and two species of turtles. We asked the question, how does the response of the entire mixed population of pulmonary stretch receptors (PSR) and intrapulmonary chemoreceptors (IPC) in species possessing both differ from that in species with only PSR? This was studied under conditions of artificial ventilation with the secondary goal of extending observations on the presence/absence of IPC to a further three species. Our results indirectly illustrate the presence of IPC in the Burmese python and South American rattlesnake but not the side necked turtle, adding support to the hypothesis that IPC first arose in diapsid reptiles. In both species of snake, CO2-sensitive discharge (presumably from IPC) predominated almost to the exclusion of CO2-insensitive discharge (presumably arising from PSR) while the opposite was true for both species of turtle. The data suggest that for animals breathing air under conditions of normal metabolism there is little to distinguish between the discharge profiles of the total population of receptors arising from the lungs in the different groups. Interestingly, however, under conditions of elevated environmental CO2 most volume-related feedback from the lungs is abolished in the two species of snakes, while under conditions of elevated metabolic CO2, it is estimated that volume feedback from the lungs would be enhanced in these same species.
Resumo:
The roles that nitric oxide (NO) plays in the cardiovascular system of reptiles are reviewed, with particular emphasis on its effects on central vascular blood flows in the systemic and pulmonary circulations. New data is presented that describes the effects on hemodynamic variables in varanid lizards of exogenously administered NO via the nitric oxide donor sodium nitroprusside (SNP) and, preliminary data on the effects of SNP inhibition of nitric oxide synthase (NOS) by L-nitroarginine methyl ester (L-NAME). Furthermore. on hemodynamic variables in the tegu lizard are presented. The findings are compared with previously published data from Our laboratory on three other species of reptiles: pythons (Skovgaard, N., Galli, G., Taylor, E.W., Conlon, J.M., Wang.. T., 2005. Hemodynamic effects of python neuropeptide gamma in the anesthetized python, Python regius. Regul. Pept. 18, 15-26), rattlesnakes (Galli, G., Skovgaard, N., Abe, A.S., Taylor, E.W., Wang, T., 2005. The role of nitric oxide in the regulation of the systemic and the pulmonary vasculature of the rattlesnake, Crotalus durissus terrificus. J. Comp. Physiol. 175B, 201-208) and turtles (Crossley, D.A., Wang, T., Altimiras, J., 2000. Role of nitric oxide in the systemic and pulmonary circulation of anesthetized turtles (Trachemys scripta). J. Exp. Zool. 286, 683-689). These five species of reptiles possess different combinations of division of the heart and structural complexity of the lungs. Comparison of their responses to NO donors and NOS inhibitors may reveal whether the potential contribution of NO to vascular tone correlates with pulmonary complexity and/or with blood pressure. All existing studies oil reptiles have clearly established a potential role for NO in regulating vascular tone in the systemic circulation and NO may be important for maintaining basal systemic vascular tone in varanid lizards, pythons and turtles, through a continuous release of NO. In contrast., the pulmonary circulation is less responsive to NO donors or NOS inhibitors, and it was only in pythons and varanid lizards that the lungs responded to SNP. Both species have a functionally separated heart, so it is possible that NO may exert a larger role in species with low pulmonary blood pressures, irrespective of lung complexity. (C) 2005 Elsevier B.V. All rights reserved.
Resumo:
Red blood cells (RBCs) from most vertebrates restore volume upon hypertonic shrinkage and the mechanisms underlying this regulatory volume increase (RVI) have been studied extensively in these cells. Despite the phylogenetically interesting position of reptiles, very little is known about their red cell function. The present study demonstrates that oxygenated RBCs in all major groups of reptiles exhibit no or a very reduced RVI upon -25% calculated hyperosmotic shrinkage. Thus, RBCs from the snakes Crotalus durissus and Python regius, the turtle Trachemys scripta and the alligator Alligator mississippiensis showed no statistically significant RVI within 120 min after shrinkage, while the lizard Tupinambis merianae showed 22% volume recovery after 120 min. Amiloride (10(-4) M) and bumetanide (10(-5) M) had no effect on the RVI in T merianae, indicating no involvement of the Na(+)/H(+) exchanger (NHE) or the Na(+)/K(+)/2Cl(-) co-transporter (NKCC) or insentive transporters. Deoxygenation of RBCs from A. mississippiensis and T merianae did not significantly affect RVI upon shrinkage. Deoxygenation per se of red blood cells from T merianae elicited a slow volume increase, but the mechanism was not characterized. It seems, therefore, that the RVI response based on NHE activation was lost among the early sauropsids that gave rise to modern reptiles and birds, while it was retained in mammals. An RVI response has then reappeared in birds, but based on activation of the NKCC. Alternatively, the absence of the RVI response may represent the most ancient condition, and could have evolved several times within vertebrates. (C) 2008 Elsevier B.V. All rights reserved.
Resumo:
This paper describes strategies and techniques to perform modeling and automatic mesh generation of the aorta artery and its tunics (adventitia, media and intima walls), using open source codes. The models were constructed in the Blender package and Python scripts were used to export the data necessary for the mesh generation in TetGen. The strategies proposed are able to provide meshes of complicated and irregular volumes, with a large number of mesh elements involved (12,000,000 tetrahedrons approximately). These meshes can be used to perform computational simulations by Finite Element Method (FEM). © Published under licence by IOP Publishing Ltd.
Resumo:
Coordenação de Aperfeiçoamento de Pessoal de Nível Superior (CAPES)
Resumo:
Coordenação de Aperfeiçoamento de Pessoal de Nível Superior (CAPES)