WorldWideScience

Sample records for burmese python python

  1. Acariasis on pet Burmese python, Python molurus bivittatus in Malaysia.

    Science.gov (United States)

    Mariana, A; Vellayan, S; Halimaton, I; Ho, T M

    2011-03-01

    To identify the acari present on pet Burmese pythons in Malaysia and to determine whether there is any potential public health risk related to handling of the snakes. Two sub-adult Burmese pythons kept as pets for a period of about 6 to 7 months by different owners, were brought to an exotic animal practice for treatment. On a complete medical examination, some ticks and mites (acari) were detected beneath the dorsal and ventral scales along body length of the snakes. Ticks were directly identified and mites were mounted prior to identification. A total of 12 ticks represented by 3 males, 2 females and 7 nymphal stages of Rhipicephalus sanguineus (R. sanguineus) were extracted from the first python while the other one was with 25 female Ophionyssus natricis (O. natricis) mesostigmatid mites. Only adult female mites were found. These mites are common ectoparasites of Burmese pythons. Both the acarine species found on the Burmese pythons are known vectors of pathogens. This is the first record that R. sanguineus has been reported from a pet Burmese python in Malaysia. Copyright © 2011 Hainan Medical College. Published by Elsevier B.V. All rights reserved.

  2. Challenges to a molecular approach to prey identification in the Burmese python, Python molurus bivittatus

    National Research Council Canada - National Science Library

    Falk, Bryan G; Reed, Robert N

    2015-01-01

    ... identities of prey consumed by invasive Burmese pythons in Florida. We were particularly interested in the diet of young snakes, because visual identification of prey from this size class has proven difficult...

  3. Postprandial morphological response of the intestinal epithelium of the Burmese python (Python molurus).

    OpenAIRE

    Lignot, J.H.; Helmstetter, C.; Secor, S.M.

    2005-01-01

    The postprandial morphological changes of the intestinal epithelium of Burmese pythons were examined using fasting pythons and at eight time points after feeding. In fasting pythons, tightly packed enterocytes possess very short microvilli and are arranged in a pseudostratified fashion. Enterocyte width increases by 23% within 24 h postfeeding, inducing significant increases in villus length and intestinal mass. By 6 days postfeeding, enterocyte volume had peaked, following as much as an 80% ...

  4. A field test of attractant traps for invasive Burmese pythons (Python molurus bivittatus) in southern Florida

    Science.gov (United States)

    Reed, Robert N.; Hart, Kristen M.; Rodda, Gordon H.; Mazzotti, Frank J.; Snow, Ray W.; Cherkiss, Michael; Rozar, Rondald; Goetz, Scott

    2011-01-01

    Context: Invasive Burmese pythons (Python molurus bivittatus) are established over thousands of square kilometres of southern Florida, USA, and consume a wide range of native vertebrates. Few tools are available to control the python population, and none of the available tools have been validated in the field to assess capture success as a proportion of pythons available to be captured. Aims: Our primary aim was to conduct a trap trial for capturing invasive pythons in an area east of Everglades National Park, where many pythons had been captured in previous years, to assess the efficacy of traps for population control. We also aimed to compare results of visual surveys with trap capture rates, to determine capture rates of non-target species, and to assess capture rates as a proportion of resident pythons in the study area. Methods: We conducted a medium-scale (6053 trap nights) experiment using two types of attractant traps baited with live rats in the Frog Pond area east of Everglades National Park. We also conducted standardised and opportunistic visual surveys in the trapping area. Following the trap trial, the area was disc harrowed to expose pythons and allow calculation of an index of the number of resident pythons. Key results: We captured three pythons and 69 individuals of various rodent, amphibian, and reptile species in traps. Eleven pythons were discovered during disc harrowing operations, as were large numbers of rodents.

  5. Ecological correlates of invasion impact for Burmese pythons in Florida

    Science.gov (United States)

    Reed, R.N.; Willson, J.D.; Rodda, G.H.; Dorcas, M.E.

    2012-01-01

    An invasive population of Burmese pythons (Python molurus bivittatus) is established across several thousand square kilometers of southern Florida and appears to have caused precipitous population declines among several species of native mammals. Why has this giant snake had such great success as an invasive species when many established reptiles have failed to spread? We scored the Burmese python for each of 15 literature-based attributes relative to predefined comparison groups from a diverse range of taxa and provide a review of the natural history and ecology of Burmese pythons relevant to each attribute. We focused on attributes linked to spread and magnitude of impacts rather than establishment success. Our results suggest that attributes related to body size and generalism appeared to be particularly applicable to the Burmese python's success in Florida. The attributes with the highest scores were: high reproductive potential, low vulnerability to predation, large adult body size, large offspring size and high dietary breadth. However, attributes of ectotherms in general and pythons in particular (including predatory mode, energetic efficiency and social interactions) might have also contributed to invasion success. Although establishment risk assessments are an important initial step in prevention of new establishments, evaluating species in terms of their potential for spreading widely and negatively impacting ecosystems might become part of the means by which resource managers prioritize control efforts in environments with large numbers of introduced species.

  6. Transcriptome Analysis of the Response of Burmese Python to Digestion

    DEFF Research Database (Denmark)

    Duan, Jinjie; Sanggaard, Kristian Wejse; Schauser, Leif

    2017-01-01

    Background: Exceptional and extreme feeding behaviour makes the Burmese python (Python bivittatus) an interesting model to study physiological remodelling and metabolic adaptation in response to refeeding after prolonged starvation. In this study, we used transcriptome sequencing of five visceral...... organs during fasting as well as 24h and 48h after ingestion of a large meal to unravel the postprandial changes in Burmese pythons. We first used the pooled data to perform a de novo assembly of the transcriptome and supplemented this with a proteomic survey of enzymes in the plasma and gastric fluid...... in the liver, 114 genes in the stomach, 89 genes in the pancreas and 158 genes in the intestine. We interrogated the function of these genes to test previous hypotheses on the response to feeding. We also used the transcriptome to identify 314 secreted proteins in the gastric fluid of the python. Conclusions...

  7. Challenges to a molecular approach to prey identification in the Burmese python, Python molurus bivittatus

    OpenAIRE

    Falk, Bryan G.; Reed, Robert N.

    2015-01-01

    Molecular approaches to prey identification are increasingly useful in elucidating predator–prey relationships, and we aimed to investigate the feasibility of these methods to document the species identities of prey consumed by invasive Burmese pythons in Florida. We were particularly interested in the diet of young snakes, because visual identification of prey from this size class has proven difficult. We successfully extracted DNA from the gastrointestinal contents of 43 young pythons, as w...

  8. Challenges to a molecular approach to prey identification in the Burmese python, Python molurus bivittatus

    Directory of Open Access Journals (Sweden)

    Bryan G. Falk

    2015-11-01

    Full Text Available Molecular approaches to prey identification are increasingly useful in elucidating predator–prey relationships, and we aimed to investigate the feasibility of these methods to document the species identities of prey consumed by invasive Burmese pythons in Florida. We were particularly interested in the diet of young snakes, because visual identification of prey from this size class has proven difficult. We successfully extracted DNA from the gastrointestinal contents of 43 young pythons, as well as from several control samples, and attempted amplification of DNA mini-barcodes, a 130-bp region of COX1. Using a PNA clamp to exclude python DNA, we found that prey DNA was not present in sufficient quality for amplification of this locus in 86% of our samples. All samples from the GI tracts of young pythons contained only hair, and the six samples we were able to identify to species were hispid cotton rats. This suggests that young Burmese pythons prey predominantly on small mammals and that prey diversity among snakes of this size class is low. We discuss prolonged gastrointestinal transit times and extreme gastric breakdown as possible causes of DNA degradation that limit the success of a molecular approach to prey identification in Burmese pythons.

  9. Challenges to a molecular approach to prey identification in the Burmese python, Python molurus bivittatus.

    Science.gov (United States)

    Falk, Bryan G; Reed, Robert N

    2015-01-01

    Molecular approaches to prey identification are increasingly useful in elucidating predator-prey relationships, and we aimed to investigate the feasibility of these methods to document the species identities of prey consumed by invasive Burmese pythons in Florida. We were particularly interested in the diet of young snakes, because visual identification of prey from this size class has proven difficult. We successfully extracted DNA from the gastrointestinal contents of 43 young pythons, as well as from several control samples, and attempted amplification of DNA mini-barcodes, a 130-bp region of COX1. Using a PNA clamp to exclude python DNA, we found that prey DNA was not present in sufficient quality for amplification of this locus in 86% of our samples. All samples from the GI tracts of young pythons contained only hair, and the six samples we were able to identify to species were hispid cotton rats. This suggests that young Burmese pythons prey predominantly on small mammals and that prey diversity among snakes of this size class is low. We discuss prolonged gastrointestinal transit times and extreme gastric breakdown as possible causes of DNA degradation that limit the success of a molecular approach to prey identification in Burmese pythons.

  10. Challenges to a molecular approach to prey identification in the Burmese python, Python molurus bivittatus

    Science.gov (United States)

    Falk, Bryan; Reed, Robert N.

    2015-01-01

    Molecular approaches to prey identification are increasingly useful in elucidating predator–prey relationships, and we aimed to investigate the feasibility of these methods to document the species identities of prey consumed by invasive Burmese pythons in Florida. We were particularly interested in the diet of young snakes, because visual identification of prey from this size class has proven difficult. We successfully extracted DNA from the gastrointestinal contents of 43 young pythons, as well as from several control samples, and attempted amplification of DNA mini-barcodes, a 130-bp region of COX1. Using a PNA clamp to exclude python DNA, we found that prey DNA was not present in sufficient quality for amplification of this locus in 86% of our samples. All samples from the GI tracts of young pythons contained only hair, and the six samples we were able to identify to species were hispid cotton rats. This suggests that young Burmese pythons prey predominantly on small mammals and that prey diversity among snakes of this size class is low. We discuss prolonged gastrointestinal transit times and extreme gastric breakdown as possible causes of DNA degradation that limit the success of a molecular approach to prey identification in Burmese pythons

  11. Postprandial increase of oleoylethanolamide mobilization in small intestine of the Burmese python (Python molurus)

    DEFF Research Database (Denmark)

    Astarita, Giuseppe; Rourke, Bryan C; Andersen, Johnnie Bremholm

    2006-01-01

    to the induction of between-meal satiety. Here we examined whether feeding-induced OEA mobilization also occurs in Burmese pythons (Python molurus), a species of ambush-hunting snakes that consumes huge meals after months of fasting and undergoes massive feeding-dependent changes in gastrointestinal hormonal...... release and gut morphology. Using liquid-chromatography/mass-spectrometry (LC/MS), we measured OEA levels in the gastrointestinal tract of fasted (28 days) and fed (48h after feeding) pythons. We observed a nearly 300-fold increase in OEA levels in the small intestine of fed compared to fasted animals......-unsaturated, but not polyunsaturated fatty-acid ethanolamides (FAE) in the small intestine of fed pythons. The identification of OEA and other FAEs in the gastrointestinal tract of Python molurus suggests that this class of lipid messengers may be widespread among vertebrate groups and may represent an evolutionarily ancient means...

  12. Experimentally derived salinity tolerance of hatchling Burmese pythons (Python molurus bivittatus) from the Everglades, Florida (USA)

    Science.gov (United States)

    Hart, Kristen M.; Schofield, Pamela J.; Gregoire, Denise R.

    2012-01-01

    In a laboratory setting, we tested the ability of 24 non-native, wild-caught hatchling Burmese pythons (Python molurus bivittatus) collected in the Florida Everglades to survive when given water containing salt to drink. After a one-month acclimation period in the laboratory, we grouped snakes into three treatments, giving them access to water that was fresh (salinity of 0, control), brackish (salinity of 10), or full-strength sea water (salinity of 35). Hatchlings survived about one month at the highest marine salinity and about five months at the brackish-water salinity; no control animals perished during the experiment. These results are indicative of a "worst-case scenario", as in the laboratory we denied access to alternate fresh-water sources that may be accessible in the wild (e.g., through rainfall). Therefore, our results may underestimate the potential of hatchling pythons to persist in saline habitats in the wild. Because of the effect of different salinity regimes on survival, predictions of ultimate geographic expansion by non-native Burmese pythons that consider salt water as barriers to dispersal for pythons may warrant re-evaluation, especially under global climate change and associated sea-level-rise scenarios.

  13. Predators in training: operant conditioning of novel behavior in wild Burmese pythons (Python molurus bivitattus).

    Science.gov (United States)

    Emer, Sherri A; Mora, Cordula V; Harvey, Mark T; Grace, Michael S

    2015-01-01

    Large pythons and boas comprise a group of animals whose anatomy and physiology are very different from traditional mammalian, avian and other reptilian models typically used in operant conditioning. In the current study, investigators used a modified shaping procedure involving successive approximations to train wild Burmese pythons (Python molurus bivitattus) to approach and depress an illuminated push button in order to gain access to a food reward. Results show that these large, wild snakes can be trained to accept extremely small food items, associate a stimulus with such rewards via operant conditioning and perform a contingent operant response to gain access to a food reward. The shaping procedure produced robust responses and provides a mechanism for investigating complex behavioral phenomena in massive snakes that are rarely studied in learning research.

  14. Sequencing the genome of the Burmese python (Python molurus bivittatus) as a model for studying extreme adaptations in snakes.

    Science.gov (United States)

    Castoe, Todd A; de Koning, Jason A P; Hall, Kathryn T; Yokoyama, Ken D; Gu, Wanjun; Smith, Eric N; Feschotte, Cédric; Uetz, Peter; Ray, David A; Dobry, Jason; Bogden, Robert; Mackessy, Stephen P; Bronikowski, Anne M; Warren, Wesley C; Secor, Stephen M; Pollock, David D

    2011-07-28

    The Consortium for Snake Genomics is in the process of sequencing the genome and creating transcriptomic resources for the Burmese python. Here, we describe how this will be done, what analyses this work will include, and provide a timeline.

  15. Sequencing the genome of the Burmese python (Python molurus bivittatus) as a model for studying extreme adaptations in snakes

    OpenAIRE

    Todd A. Castoe*; de Koning, AP Jason; Hall, Kathryn T; Yokoyama, Ken D; Gu, Wanjun; Eric N. Smith; Feschotte, C?dric; Uetz, Peter; Ray, David A.; Dobry, Jason; Bogden, Robert; Mackessy, Stephen P; Bronikowski, Anne M.; Warren, Wesley C; Secor, Stephen M

    2011-01-01

    The Consortium for Snake Genomics is in the process of sequencing the genome and creating transcriptomic resources for the Burmese python. Here, we describe how this will be done, what analyses this work will include, and provide a timeline.

  16. Reduction of blood oxygen levels enhances postprandial cardiac hypertrophy in Burmese python (Python bivittatus).

    Science.gov (United States)

    Slay, Christopher E; Enok, Sanne; Hicks, James W; Wang, Tobias

    2014-05-15

    Physiological cardiac hypertrophy is characterized by reversible enlargement of cardiomyocytes and changes in chamber architecture, which increase stroke volume and via augmented convective oxygen transport. Cardiac hypertrophy is known to occur in response to repeated elevations of O2 demand and/or reduced O2 supply in several species of vertebrate ectotherms, including postprandial Burmese pythons (Python bivittatus). Recent data suggest postprandial cardiac hypertrophy in P. bivittatus is a facultative rather than obligatory response to digestion, though the triggers of this response are unknown. Here, we hypothesized that an O2 supply-demand mismatch stimulates postprandial cardiac enlargement in Burmese pythons. To test this hypothesis, we rendered animals anemic prior to feeding, essentially halving blood oxygen content during the postprandial period. Fed anemic animals had heart rates 126% higher than those of fasted controls, which, coupled with a 71% increase in mean arterial pressure, suggests fed anemic animals were experiencing significantly elevated cardiac work. We found significant cardiac hypertrophy in fed anemic animals, which exhibited ventricles 39% larger than those of fasted controls and 28% larger than in fed controls. These findings support our hypothesis that those animals with a greater magnitude of O2 supply-demand mismatch exhibit the largest hearts. The 'low O2 signal' stimulating postprandial cardiac hypertrophy is likely mediated by elevated ventricular wall stress associated with postprandial hemodynamics. © 2014. Published by The Company of Biologists Ltd.

  17. First record of invasive Burmese Python oviposition and brooding inside an anthropogenic structure

    Science.gov (United States)

    Hanslowe, Emma; Falk, Bryan; Collier, Michelle A. M.; Josimovich, Jillian; Rahill, Thomas; Reed, Robert

    2016-01-01

    We discovered an adult female Python bivittatus (Burmese Python) coiled around a clutch of 25 eggs in a cement culvert in Flamingo, FL, in Everglades National Park. To our knowledge, this is the first record of an invasive Burmese Python laying eggs and brooding inside an anthropogenic structure in Florida. A 92% hatch-success rate suggests that the cement culvert provided suitable conditions for oviposition, embryonic development, and hatching. Given the plenitude of such anthropogenic structures across the landscape, available sites for oviposition and brooding may not be limiting for the invasive Burmese Python population.

  18. Ultrasonographic diagnosis of an endocarditis valvularis in a Burmese python (Python molurus bivittatus) with pneumonia.

    Science.gov (United States)

    Schroff, Sandra; Schmidt, Volker; Kiefer, Ingmar; Krautwald-Junghanns, Maria-Elisabeth; Pees, Michael

    2010-12-01

    An 11-yr-old Burmese python (Python molurus bivittatus) was presented with a history of respiratory symptoms. Computed tomography and an endoscopic examination of the left lung were performed and revealed severe pneumonia. Microbiologic examination of a tracheal wash sample and an endoscopy-guided sample from the lung confirmed infection with Salmonella enterica ssp. IV, Enterobacter cloacae, and Klebsiella pneumoniae. Computed tomographic examination demonstrated a hyperattenuated structure within the heart. Echocardiographic examination revealed a hyperechoic mass at the pulmonic valve as well as a dilated truncus pulmonalis. As therapy for pneumonia was ineffective, the snake was euthanized. Postmortem examination confirmed pneumonia and infective endocarditis of the pulmonic valve caused by septicemia with Salmonella enterica ssp. IV. Focal arteriosclerosis of the pulmonary trunk was also diagnosed. The case presented here demonstrates the possible connection between respiratory and cardiovascular diseases in snakes.

  19. A multi-organ transcriptome resource for the Burmese Python (Python molurus bivittatus

    Directory of Open Access Journals (Sweden)

    Mockler Todd C

    2011-08-01

    Full Text Available Abstract Background Snakes provide a unique vertebrate system for studying a diversity of extreme adaptations, including those related to development, metabolism, physiology, and venom. Despite their importance as research models, genomic resources for snakes are few. Among snakes, the Burmese python is the premier model for studying extremes of metabolic fluctuation and physiological remodelling. In this species, the consumption of large infrequent meals can induce a 40-fold increase in metabolic rate and more than a doubling in size of some organs. To provide a foundation for research utilizing the python, our aim was to assemble and annotate a transcriptome reference from the heart and liver. To accomplish this aim, we used the 454-FLX sequencing platform to collect sequence data from multiple cDNA libraries. Results We collected nearly 1 million 454 sequence reads, and assembled these into 37,245 contigs with a combined length of 13,409,006 bp. To identify known genes, these contigs were compared to chicken and lizard gene sets, and to all Genbank sequences. A total of 13,286 of these contigs were annotated based on similarity to known genes or Genbank sequences. We used gene ontology (GO assignments to characterize the types of genes in this transcriptome resource. The raw data, transcript contig assembly, and transcript annotations are made available online for use by the broader research community. Conclusion These data should facilitate future studies using pythons and snakes in general, helping to further contribute to the utilization of snakes as a model evolutionary and physiological system. This sequence collection represents a major genomic resource for the Burmese python, and the large number of transcript sequences characterized should contribute to future research in this and other snake species.

  20. Renal plasticity in response to feeding in the Burmese python, Python molurus bivittatus.

    Science.gov (United States)

    Esbaugh, A J; Secor, S M; Grosell, M

    2015-10-01

    Burmese pythons are sit-and-wait predators that are well adapted to go long periods without food, yet subsequently consume and digest single meals that can exceed their body weight. These large feeding events result in a dramatic alkaline tide that is compensated by a hypoventilatory response that normalizes plasma pH; however, little is known regarding how plasma HCO3(-) is lowered in the days post-feeding. The current study demonstrated that Burmese pythons contain the cellular machinery for renal acid-base compensation and actively remodel the kidney to limit HCO3(-) reabsorption in the post-feeding period. After being fed a 25% body weight meal plasma total CO2 was elevated by 1.5-fold after 1 day, but returned to control concentrations by 4 days post-feeding (d pf). Gene expression analysis was used to verify the presence of carbonic anhydrase (CA) II, IV and XIII, Na(+) H(+) exchanger 3 (NHE3), the Na(+) HCO3(-) co-transporter (NBC) and V-type ATPase. CA IV expression was significantly down-regulated at 3 dpf versus fasted controls. This was supported by activity analysis that showed a significant decrease in the amount of GPI-linked CA activity in isolated kidney membranes at 3 dpf versus fasted controls. In addition, V-type ATPase activity was significantly up-regulated at 3 dpf; no change in gene expression was observed. Both CA II and NHE3 expression was up-regulated at 3 dpf, which may be related to post-prandial ion balance. These results suggest that Burmese pythons actively remodel their kidney after feeding, which would in part benefit renal HCO3(-) clearance. Copyright © 2015 Elsevier Inc. All rights reserved.

  1. Cold-induced mortality of invasive Burmese pythons in south Florida

    Science.gov (United States)

    Mazzotti, Frank J.; Cherkiss, Michael S.; Hart, Kristen M.; Snow, Ray W.; Rochford, Michael R.; Dorcas, Michael E.; Reed, Robert N.

    2011-01-01

    A recent record cold spell in southern Florida (2–11 January 2010) provided an opportunity to evaluate responses of an established population of Burmese pythons (Python molurus bivittatus) to a prolonged period of unusually cold weather. We observed behavior, characterized thermal biology, determined fate of radio-telemetered (n = 10) and non-telemetered (n = 104) Burmese pythons, and analyzed habitat and environmental conditions experienced by pythons during and after a historic cold spell. Telemetered pythons had been implanted with radio-transmitters and temperature-recording data loggers prior to the cold snap. Only one of 10 telemetered pythons survived the cold snap, whereas 59 of 99 (60%) non-telemetered pythons for which we determined fate survived. Body temperatures of eight dead telemetered pythons fluctuated regularly prior to 9 January 2010, then declined substantially during the cold period (9–11 January) and exhibited no further evidence of active thermoregulation indicating they were likely dead. Unusually cold temperatures in January 2010 were clearly associated with mortality of Burmese pythons in the Everglades. Some radio-telemetered pythons appeared to exhibit maladaptive behavior during the cold spell, including attempting to bask instead of retreating to sheltered refugia. We discuss implications of our findings for persistence and spread of introduced Burmese pythons in the United States and for maximizing their rate of removal.

  2. Functional changes with feeding in the gastro-intestinal epithelia of the Burmese python (Python molurus).

    Science.gov (United States)

    Helmstetter, Cécile; Reix, Nathalie; T'Flachebba, Mathieu; Pope, Robert K; Secor, Stephen M; Le Maho, Yvon; Lignot, Jean-Hervé

    2009-09-01

    The morphology of the digestive system in fasting and refed Burmese pythons was determined, as well as the localization of the proton (H(+), K(+)-ATPase) and sodium (Na(+), K(+)-ATPase) pumps. In fasting pythons, oxyntopeptic cells located within the fundic glands are typically non-active, with a thick apical tubulovesicular system and numerous zymogen granules. They become active Immediately after feeding but return to a non-active state 3 days after the Ingestion of the prey. The proton pump, expressed throughout the different fasting/feeding states, is either sequestered in the tubulovesicular system in non-active cells or located along the apical digitations extending within the crypt lumen in active cells. The sodium pump is rapidly upregulated in fed animals and is classically located along the baso-lateral membranes of the gastric oxyntopeptic cells. In the Intestine, it is only expressed along the lateral membranes of the enterocytes, i.e., above the lateral spaces and not along the basal side of the cells. Thus, solute transport within the Intestinal lining is mainly achieved through the apical part of the cells and across the lateral spaces while absorbed fat massively crosses the entire height of the cells and flows into the Intercellular spaces. Therefore, in the Burmese python, the gastrointestinal cellular system quickly upregulates after feeding, due to Inexpensive cellular changes, passive mechanisms, and the progressive activation and synthesis of key enzymes such as the sodium pump. This cell plasticity also allows anticipation of the next fasting and feeding periods.

  3. Intraspecific scaling of arterial blood pressure in the Burmese python.

    Science.gov (United States)

    Enok, Sanne; Slay, Christopher; Abe, Augusto S; Hicks, James W; Wang, Tobias

    2014-07-01

    Interspecific allometric analyses indicate that mean arterial blood pressure (MAP) increases with body mass of snakes and mammals. In snakes, MAP increases in proportion to the increased distance between the heart and the head, when the heart-head vertical distance is expressed as ρgh (where ρ is the density of blood, G: is acceleration due to gravity and h is the vertical distance above the heart), and the rise in MAP is associated with a larger heart to normalize wall stress in the ventricular wall. Based on measurements of MAP in Burmese pythons ranging from 0.9 to 3.7 m in length (0.20-27 kg), we demonstrate that although MAP increases with body mass, the rise in MAP is merely half of that predicted by heart-head distance. Scaling relationships within individual species, therefore, may not be accurately predicted by existing interspecific analyses. © 2014. Published by The Company of Biologists Ltd.

  4. Homing of invasive Burmese pythons in South Florida: evidence for map and compass senses in snakes

    Science.gov (United States)

    Pittman, Shannon E.; Hart, Kristen M.; Cherkiss, Michael S.; Snow, Ray W.; Fujisaki, Ikuko; Smith, Brian J.; Mazzotti, Frank J.; Dorcas, Michael E.

    2014-01-01

    Navigational ability is a critical component of an animal's spatial ecology and may influence the invasive potential of species. Burmese pythons (Python molurus bivittatus) are apex predators invasive to South Florida. We tracked the movements of 12 adult Burmese pythons in Everglades National Park, six of which were translocated 21–36 km from their capture locations. Translocated snakes oriented movement homeward relative to the capture location, and five of six snakes returned to within 5 km of the original capture location. Translocated snakes moved straighter and faster than control snakes and displayed movement path structure indicative of oriented movement. This study provides evidence that Burmese pythons have navigational map and compass senses and has implications for predictions of spatial spread and impacts as well as our understanding of reptile cognitive abilities. PMID:24647727

  5. Double valvular insufficiency in a Burmese python (Python molurus bivittatus, Linnaeus, 1758) suffering from concomitant bacterial pneumonia.

    Science.gov (United States)

    Schilliger, Lionel; Tréhiou-Sechi, Emilie; Petit, Amandine M P; Misbach, Charlotte; Chetboul, Valérie

    2010-12-01

    Ultrasonography, and, to a lesser extent, echocardiography are now well-established, noninvasive, and painless diagnostic tools in herpetologic medicine. Various cardiac lesions have been previously described in reptiles, but valvulopathy is rarely documented in these animals and, consequently, is poorly understood. In this report, sinoatrial and atrioventricular insufficiencies were diagnosed in a 5-yr-old captive dyspneic Burmese python (Python molurus bivittatus) on the basis of echocardiographic and Doppler examination. This case report is the first to document Doppler assessment of valvular regurgitations in a reptile.

  6. Record length, mass, and clutch size in the nonindigenous Burmese Python, Python bivittatus Kuhl 1820 (Squamata: Pythonidae), in Florida

    Science.gov (United States)

    Krysko, Kenneth L.; Hart, Kristen M.; Smith, Brian J.; Selby, Thomas H.; Cherkiss, Michael S.; Coutu, Nicholas T.; Reichart, Rebecca M.; Nuñez, Leroy P.; Mazzotti, Frank J.; Snow, Ray W.

    2012-01-01

    The Burmese Python, Python bivittatus Kuhl 1820 (Squamata: Pythonidae), is indigenous to northern India,east to southern China, and south to Vietnam and a few islands in Indonesia (Barker and Barker 2008, Reed and Rodda 2009). This species has been introduced since at least 1979 in southern Florida, USA, where it likely began reproducing and became established during the 1980s (Meshaka et al. 2000, Snowet al. 2007b,Kraus 2009, Krysko et al. 2011, Willson et al. 2011). Python bivittatus has been documented in Florida consuming a variety of mammals and birds, and the American Alligator(Alligator mississippiensis) (Snowet al. 2007a, 2007b; Harvey et al. 2008; Rochford et al. 2010b; Holbrook and Chesnes 2011), many of which are protected species. Herein, we provide details on two of the largest known wild P. bivittatus in Florida to date, including current records on length,mass,clutch size, and diet.

  7. Rapid microsatellite marker development using next generation pyrosequencing to inform invasive Burmese python -- Python molurus bivittatus -- management

    Science.gov (United States)

    Hunter, Margaret E.; Hart, Kristen M.

    2013-01-01

    Invasive species represent an increasing threat to native ecosystems, harming indigenous taxa through predation, habitat modification, cross-species hybridization and alteration of ecosystem processes. Additionally, high economic costs are associated with environmental damage, restoration and control measures. The Burmese python, Python molurus bivittatus, is one of the most notable invasive species in the US, due to the threat it poses to imperiled species and the Greater Everglades ecosystem. To address population structure and relatedness, next generation sequencing was used to rapidly produce species-specific microsatellite loci. The Roche 454 GS-FLX Titanium platform provided 6616 di-, tri- and tetra-nucleotide repeats in 117,516 sequences. Using stringent criteria, 24 of 26 selected tri- and tetra-nucleotide loci were polymerase chain reaction (PCR) amplified and 18 were polymorphic. An additional six cross-species loci were amplified, and the resulting 24 loci were incorporated into eight PCR multiplexes. Multi-locus genotypes yielded an average of 61% (39%–77%) heterozygosity and 3.7 (2–6) alleles per locus. Population-level studies using the developed microsatellites will track the invasion front and monitor population-suppression dynamics. Additionally, cross-species amplification was detected in the invasive Ball, P. regius, and Northern African python, P. sebae. These markers can be used to address the hybridization potential of Burmese pythons and the larger, more aggressive P. sebae.

  8. Programming Python

    National Research Council Canada - National Science Library

    Lutz, Mark

    2006-01-01

    ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii xxi Part I. The Beginning 1. Introducing Python "And Now for Something Completely Different" Python Philosophy 101 The Life of Python Signs of the Python...

  9. 75 FR 38069 - Injurious Wildlife Species; Listing the Boa Constrictor, Four Python Species, and Four Anaconda...

    Science.gov (United States)

    2010-07-01

    ... Constrictor, Four Python Species, and Four Anaconda Species as Injurious Reptiles AGENCY: Fish and Wildlife... regulations to add Indian python (Python molurus, including Burmese python Python molurus bivittatus), reticulated python (Broghammerus reticulatus or Python reticulatus), Northern African python (Python sebae...

  10. 75 FR 11808 - Injurious Wildlife Species; Listing the Boa Constrictor, Four Python Species, and Four Anaconda...

    Science.gov (United States)

    2010-03-12

    ... Constrictor, Four Python Species, and Four Anaconda Species as Injurious Reptiles AGENCY: Fish and Wildlife... to add Indian python (Python molurus, including Burmese python Python molurus bivittatus), reticulated python (Broghammerus reticulatus or Python reticulatus), Northern African python (Python sebae...

  11. Environmental DNA (eDNA sampling improves occurrence and detection estimates of invasive burmese pythons.

    Directory of Open Access Journals (Sweden)

    Margaret E Hunter

    Full Text Available Environmental DNA (eDNA methods are used to detect DNA that is shed into the aquatic environment by cryptic or low density species. Applied in eDNA studies, occupancy models can be used to estimate occurrence and detection probabilities and thereby account for imperfect detection. However, occupancy terminology has been applied inconsistently in eDNA studies, and many have calculated occurrence probabilities while not considering the effects of imperfect detection. Low detection of invasive giant constrictors using visual surveys and traps has hampered the estimation of occupancy and detection estimates needed for population management in southern Florida, USA. Giant constrictor snakes pose a threat to native species and the ecological restoration of the Florida Everglades. To assist with detection, we developed species-specific eDNA assays using quantitative PCR (qPCR for the Burmese python (Python molurus bivittatus, Northern African python (P. sebae, boa constrictor (Boa constrictor, and the green (Eunectes murinus and yellow anaconda (E. notaeus. Burmese pythons, Northern African pythons, and boa constrictors are established and reproducing, while the green and yellow anaconda have the potential to become established. We validated the python and boa constrictor assays using laboratory trials and tested all species in 21 field locations distributed in eight southern Florida regions. Burmese python eDNA was detected in 37 of 63 field sampling events; however, the other species were not detected. Although eDNA was heterogeneously distributed in the environment, occupancy models were able to provide the first estimates of detection probabilities, which were greater than 91%. Burmese python eDNA was detected along the leading northern edge of the known population boundary. The development of informative detection tools and eDNA occupancy models can improve conservation efforts in southern Florida and support more extensive studies of invasive

  12. Environmental DNA (eDNA) sampling improves occurrence and detection estimates of invasive Burmese pythons

    Science.gov (United States)

    Hunter, Margaret E.; Oyler-McCance, Sara J.; Dorazio, Robert M.; Fike, Jennifer A.; Smith, Brian J.; Hunter, Charles T.; Reed, Robert N.; Hart, Kristen M.

    2015-01-01

    Environmental DNA (eDNA) methods are used to detect DNA that is shed into the aquatic environment by cryptic or low density species. Applied in eDNA studies, occupancy models can be used to estimate occurrence and detection probabilities and thereby account for imperfect detection. However, occupancy terminology has been applied inconsistently in eDNA studies, and many have calculated occurrence probabilities while not considering the effects of imperfect detection. Low detection of invasive giant constrictors using visual surveys and traps has hampered the estimation of occupancy and detection estimates needed for population management in southern Florida, USA. Giant constrictor snakes pose a threat to native species and the ecological restoration of the Florida Everglades. To assist with detection, we developed species-specific eDNA assays using quantitative PCR (qPCR) for the Burmese python (Python molurus bivittatus), Northern African python (P. sebae), boa constrictor (Boa constrictor), and the green (Eunectes murinus) and yellow anaconda (E. notaeus). Burmese pythons, Northern African pythons, and boa constrictors are established and reproducing, while the green and yellow anaconda have the potential to become established. We validated the python and boa constrictor assays using laboratory trials and tested all species in 21 field locations distributed in eight southern Florida regions. Burmese python eDNA was detected in 37 of 63 field sampling events; however, the other species were not detected. Although eDNA was heterogeneously distributed in the environment, occupancy models were able to provide the first estimates of detection probabilities, which were greater than 91%. Burmese python eDNA was detected along the leading northern edge of the known population boundary. The development of informative detection tools and eDNA occupancy models can improve conservation efforts in southern Florida and support more extensive studies of invasive constrictors

  13. Environmental DNA (eDNA) sampling improves occurrence and detection estimates of invasive burmese pythons.

    Science.gov (United States)

    Hunter, Margaret E; Oyler-McCance, Sara J; Dorazio, Robert M; Fike, Jennifer A; Smith, Brian J; Hunter, Charles T; Reed, Robert N; Hart, Kristen M

    2015-01-01

    Environmental DNA (eDNA) methods are used to detect DNA that is shed into the aquatic environment by cryptic or low density species. Applied in eDNA studies, occupancy models can be used to estimate occurrence and detection probabilities and thereby account for imperfect detection. However, occupancy terminology has been applied inconsistently in eDNA studies, and many have calculated occurrence probabilities while not considering the effects of imperfect detection. Low detection of invasive giant constrictors using visual surveys and traps has hampered the estimation of occupancy and detection estimates needed for population management in southern Florida, USA. Giant constrictor snakes pose a threat to native species and the ecological restoration of the Florida Everglades. To assist with detection, we developed species-specific eDNA assays using quantitative PCR (qPCR) for the Burmese python (Python molurus bivittatus), Northern African python (P. sebae), boa constrictor (Boa constrictor), and the green (Eunectes murinus) and yellow anaconda (E. notaeus). Burmese pythons, Northern African pythons, and boa constrictors are established and reproducing, while the green and yellow anaconda have the potential to become established. We validated the python and boa constrictor assays using laboratory trials and tested all species in 21 field locations distributed in eight southern Florida regions. Burmese python eDNA was detected in 37 of 63 field sampling events; however, the other species were not detected. Although eDNA was heterogeneously distributed in the environment, occupancy models were able to provide the first estimates of detection probabilities, which were greater than 91%. Burmese python eDNA was detected along the leading northern edge of the known population boundary. The development of informative detection tools and eDNA occupancy models can improve conservation efforts in southern Florida and support more extensive studies of invasive constrictors

  14. Betrayal: radio-tagged Burmese pythons reveal locations of conspecifics in Everglades National Park

    Science.gov (United States)

    Smith, Brian J.; Cherkiss, Michael S.; Hart, Kristen M.; Rochford, Michael R.; Selby, Thomas H.; Snow, Ray W; Mazzotti, Frank J.

    2016-01-01

    The “Judas” technique is based on the idea that a radio-tagged individual can be used to “betray” conspecifics during the course of its routine social behavior. The Burmese python (Python bivittatus) is an invasive constrictor in southern Florida, and few methods are available for its control. Pythons are normally solitary, but from December–April in southern Florida, they form breeding aggregations containing up to 8 individuals, providing an opportunity to apply the technique. We radio-tracked 25 individual adult pythons of both sexes during the breeding season from 2007–2012. Our goals were to (1) characterize python movements and determine habitat selection for betrayal events, (2) quantify betrayal rates of Judas pythons, and (3) compare the efficacy of this tool with current tools for capturing pythons, both in terms of cost per python removed (CPP) and catch per unit effort (CPUE). In a total of 33 python-seasons, we had 8 betrayal events (24 %) in which a Judas python led us to new pythons. Betrayal events occurred more frequently in lowland forest (including tree islands) than would be expected by chance alone. These 8 events resulted in the capture of 14 new individuals (1–4 new pythons per event). Our effort comparison shows that while the Judas technique is more costly than road cruising surveys per python removed, the Judas technique yields more large, reproductive females and is effective at a time of year that road cruising is not, making it a potential complement to the status quo removal effort.

  15. Fatty acids identified in the Burmese python promote beneficial cardiac growth.

    Science.gov (United States)

    Riquelme, Cecilia A; Magida, Jason A; Harrison, Brooke C; Wall, Christopher E; Marr, Thomas G; Secor, Stephen M; Leinwand, Leslie A

    2011-10-28

    Burmese pythons display a marked increase in heart mass after a large meal. We investigated the molecular mechanisms of this physiological heart growth with the goal of applying this knowledge to the mammalian heart. We found that heart growth in pythons is characterized by myocyte hypertrophy in the absence of cell proliferation and by activation of physiological signal transduction pathways. Despite high levels of circulating lipids, the postprandial python heart does not accumulate triglycerides or fatty acids. Instead, there is robust activation of pathways of fatty acid transport and oxidation combined with increased expression and activity of superoxide dismutase, a cardioprotective enzyme. We also identified a combination of fatty acids in python plasma that promotes physiological heart growth when injected into either pythons or mice.

  16. Digestive physiology of the Burmese python: broad regulation of integrated performance.

    Science.gov (United States)

    Secor, Stephen M

    2008-12-01

    As an apparent adaptation to predictably long episodes of fasting, the sit-and-wait foraging Burmese python experiences unprecedented regulation of gastrointestinal and cardiovascular performance with feeding and fasting. The ingestion of a meal signals the quiescent gut tissues to start secreting digestive acid and enzymes, to upregulate intestinal brush-border enzymes and nutrient transporters, and to grow. An integrated phenomenon, digestion is also characterized by increases in the mass, and presumably the function, of the heart, pancreas, liver and kidneys. Once digestion is complete, the python's stomach and small intestine rapidly downregulate performance. Much of the modulation of intestinal function can be explained by the 5-fold increase in microvillus length and apical surface area with feeding, and the subsequent shortening of the microvilli after digestion has finished. Digestion for the Burmese python is a relatively expensive endeavor, evident by the as much as a 44-fold increase in metabolic rate and equivalent in cost to as much as 37% of the meal's energy. Their large metabolic response is supported by substantial increases in ventilation and cardiac output and the apparent catabolism of glucose and lipids. Unmatched in the magnitude of its numerous physiological responses to feeding, the Burmese python is a very attractive model for examining the capacities and regulatory mechanisms of physiological performance.

  17. Prospects and limitations of citizen science in invasive species management: A case study with Burmese pythons in Everglades National Park

    Science.gov (United States)

    Falk, Bryan; Snow, Raymond W.; Reed, Robert

    2016-01-01

    Citizen-science programs have the potential to contribute to the management of invasive species, including Python molurus bivittatus (Burmese Python) in Florida. We characterized citizen-science–generated Burmese Python information from Everglades National Park (ENP) to explore how citizen science may be useful in this effort. As an initial step, we compiled and summarized records of Burmese Python observations and removals collected by both professional and citizen scientists in ENP during 2000–2014 and found many patterns of possible significance, including changes in annual observations and in demographic composition after a cold event. These patterns are difficult to confidently interpret because the records lack search-effort information, however, and differences among years may result from differences in search effort. We began collecting search-effort information in 2014 by leveraging an ongoing citizen-science program in ENP. Program participation was generally low, with most authorized participants in 2014 not searching for the snakes at all. We discuss the possible explanations for low participation, especially how the low likelihood of observing pythons weakens incentives to search. The monthly rate of Burmese Python observations for 2014 averaged ~1 observation for every 8 h of searching, but during several months, the rate was 1 python per >40 h of searching. These low observation-rates are a natural outcome of the snakes’ low detectability—few Burmese Pythons are likely to be observed even if many are present. The general inaccessibility of the southern Florida landscape also severely limits the effectiveness of using visual searches to find and remove pythons for the purposes of population control. Instead, and despite the difficulties in incentivizing voluntary participation, the value of citizen-science efforts in the management of the Burmese Python population is in collecting search-effort information.

  18. Learning Python

    National Research Council Canada - National Science Library

    Lutz, Mark; Ascher, David

    2004-01-01

    ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv Part I. Getting Started 1. A Python Q&A Session Why Do People Use Python? Is Python a Scripting Language? Okay, But What's the Downside? Who Uses Python Today...

  19. Severe mammal declines coincide with proliferation of invasive Burmese pythons in Everglades National Park.

    Science.gov (United States)

    Dorcas, Michael E; Willson, John D; Reed, Robert N; Snow, Ray W; Rochford, Michael R; Miller, Melissa A; Meshaka, Walter E; Andreadis, Paul T; Mazzotti, Frank J; Romagosa, Christina M; Hart, Kristen M

    2012-02-14

    Invasive species represent a significant threat to global biodiversity and a substantial economic burden. Burmese pythons, giant constricting snakes native to Asia, now are found throughout much of southern Florida, including all of Everglades National Park (ENP). Pythons have increased dramatically in both abundance and geographic range since 2000 and consume a wide variety of mammals and birds. Here we report severe apparent declines in mammal populations that coincide temporally and spatially with the proliferation of pythons in ENP. Before 2000, mammals were encountered frequently during nocturnal road surveys within ENP. In contrast, road surveys totaling 56,971 km from 2003-2011 documented a 99.3% decrease in the frequency of raccoon observations, decreases of 98.9% and 87.5% for opossum and bobcat observations, respectively, and failed to detect rabbits. Road surveys also revealed that these species are more common in areas where pythons have been discovered only recently and are most abundant outside the python's current introduced range. These findings suggest that predation by pythons has resulted in dramatic declines in mammals within ENP and that introduced apex predators, such as giant constrictors, can exert significant top-down pressure on prey populations. Severe declines in easily observed and/or common mammals, such as raccoons and bobcats, bode poorly for species of conservation concern, which often are more difficult to sample and occur at lower densities.

  20. Supersize me: Remains of three white-tailed deer (Odocoileus virginianus) in an invasive Burmese python (Python molurus bivittatus) in Florida

    Science.gov (United States)

    Boback, Scott M.; Snow, Ray W.; Hsu, Teresa; Peurach, Suzanne C.; Dove, Carla J.; Reed, Robert N.

    2016-01-01

    Snakes have become successful invaders in a wide variety of ecosystems worldwide. In southern Florida, USA, the Burmese python (Python molurus bivittatus) has become established across thousands of square kilometers including all of Everglades National Park (ENP). Both experimental and correlative data have supported a relationship between Burmese python predation and declines or extirpations of mid- to large-sized mammals in ENP. In June 2013 a large python (4.32 m snout-vent length, 48.3 kg) was captured and removed from the park. Subsequent necropsy revealed a massive amount of fecal matter (79 cm in length, 6.5 kg) within the snake’s large intestine. A comparative examination of bone, teeth, and hooves extracted from the fecal contents revealed that this snake consumed three white-tailed deer (Odocoileus virginianus). This is the first report of an invasive Burmese python containing the remains of multiple white-tailed deer in its gut. Because the largest snakes native to southern Florida are not capable of consuming even mid-sized mammals, pythons likely represent a novel predatory threat to white-tailed deer in these habitats. This work highlights the potential impact of this large-bodied invasive snake and supports the need for more work on invasive predator-native prey relationships.

  1. Interactions between the invasive Burmese python, Python bivittatus Kuhl, and the local mosquito community in Florida, USA.

    Directory of Open Access Journals (Sweden)

    Lawrence E Reeves

    Full Text Available The Burmese python, Python bivittatus Kuhl, is a well-established invasive species in the greater Everglades ecosystem of southern Florida, USA. Most research on its ecological impacts focuses on its role as a predator and its trophic interactions with native vertebrate species, particularly mammals. Beyond predation, there is little known about the ecological interactions between P. bivittatus and native faunal communities. It is likely that established populations of P. bivittatus in southern Florida serve as hosts for native mosquito communities. To test this concept, we used mitochondrial cytochrome c oxidase subunit I DNA barcoding to determine the hosts of blood fed mosquitoes collected at a research facility in northern Florida where captive P. bivittatus and Argentine black and white tegu, Salvator merianae (Duméril and Bibron, are maintained in outdoor enclosures, accessible to local mosquitoes. We recovered python DNA from the blood meals of three species of Culex mosquitoes: Culex erraticus (Dyar and Knab, Culex quinquefasciatus Say, and Culex pilosus (Dyar and Knab. Culex erraticus conclusively (P = 0.001; Fisher's Exact Test took more blood meals from P. bivittatus than from any other available host. While the majority of mosquito blood meals in our sample were derived from P. bivittatus, only one was derived from S. merianae. These results demonstrate that local mosquitoes will feed on invasive P. bivittatus, a recently introduced host. If these interactions also occur in southern Florida, P. bivittatus may be involved in the transmission networks of mosquito-vectored pathogens. Our results also illustrate the potential of detecting the presence of P. bivittatus in the field through screening mosquito blood meals for their DNA.

  2. Interactions between the invasive Burmese python, Python bivittatus Kuhl, and the local mosquito community in Florida, USA.

    Science.gov (United States)

    Reeves, Lawrence E; Krysko, Kenneth L; Avery, Michael L; Gillett-Kaufman, Jennifer L; Kawahara, Akito Y; Connelly, C Roxanne; Kaufman, Phillip E

    2018-01-01

    The Burmese python, Python bivittatus Kuhl, is a well-established invasive species in the greater Everglades ecosystem of southern Florida, USA. Most research on its ecological impacts focuses on its role as a predator and its trophic interactions with native vertebrate species, particularly mammals. Beyond predation, there is little known about the ecological interactions between P. bivittatus and native faunal communities. It is likely that established populations of P. bivittatus in southern Florida serve as hosts for native mosquito communities. To test this concept, we used mitochondrial cytochrome c oxidase subunit I DNA barcoding to determine the hosts of blood fed mosquitoes collected at a research facility in northern Florida where captive P. bivittatus and Argentine black and white tegu, Salvator merianae (Duméril and Bibron), are maintained in outdoor enclosures, accessible to local mosquitoes. We recovered python DNA from the blood meals of three species of Culex mosquitoes: Culex erraticus (Dyar and Knab), Culex quinquefasciatus Say, and Culex pilosus (Dyar and Knab). Culex erraticus conclusively (P = 0.001; Fisher's Exact Test) took more blood meals from P. bivittatus than from any other available host. While the majority of mosquito blood meals in our sample were derived from P. bivittatus, only one was derived from S. merianae. These results demonstrate that local mosquitoes will feed on invasive P. bivittatus, a recently introduced host. If these interactions also occur in southern Florida, P. bivittatus may be involved in the transmission networks of mosquito-vectored pathogens. Our results also illustrate the potential of detecting the presence of P. bivittatus in the field through screening mosquito blood meals for their DNA.

  3. Characterization of carbonic anhydrase XIII in the erythrocytes of the Burmese python, Python molurus bivittatus.

    Science.gov (United States)

    Esbaugh, A J; Secor, S M; Grosell, M

    2015-09-01

    Carbonic anhydrase (CA) is one of the most abundant proteins found in vertebrate erythrocytes with the majority of species expressing a low activity CA I and high activity CA II. However, several phylogenetic gaps remain in our understanding of the expansion of cytoplasmic CA in vertebrate erythrocytes. In particular, very little is known about isoforms from reptiles. The current study sought to characterize the erythrocyte isoforms from two squamate species, Python molurus and Nerodia rhombifer, which was combined with information from recent genome projects to address this important phylogenetic gap. Obtained sequences grouped closely with CA XIII in phylogenetic analyses. CA II mRNA transcripts were also found in erythrocytes, but found at less than half the levels of CA XIII. Structural analysis suggested similar biochemical activity as the respective mammalian isoforms, with CA XIII being a low activity isoform. Biochemical characterization verified that the majority of CA activity in the erythrocytes was due to a high activity CA II-like isoform; however, titration with copper supported the presence of two CA pools. The CA II-like pool accounted for 90 % of the total activity. To assess potential disparate roles of these isoforms a feeding stress was used to up-regulate CO2 excretion pathways. Significant up-regulation of CA II and the anion exchanger was observed; CA XIII was strongly down-regulated. While these results do not provide insight into the role of CA XIII in the erythrocytes, they do suggest that the presence of two isoforms is not simply a case of physiological redundancy. Copyright © 2015. Published by Elsevier Inc.

  4. Rapid Microsatellite Marker Development Using Next Generation Pyrosequencing to Inform Invasive Burmese Python—Python molurus bivittatus—Management

    OpenAIRE

    Hart, Kristen M; Hunter, Margaret E.

    2013-01-01

    Invasive species represent an increasing threat to native ecosystems, harming indigenous taxa through predation, habitat modification, cross-species hybridization and alteration of ecosystem processes. Additionally, high economic costs are associated with environmental damage, restoration and control measures. The Burmese python, Python molurus bivittatus, is one of the most notable invasive species in the US, due to the threat it poses to imperiled species and the Greater Everglades ecosyste...

  5. Prioritizing blood flow: cardiovascular performance in response to the competing demands of locomotion and digestion for the Burmese python, Python molurus.

    Science.gov (United States)

    Secor, Stephen M; White, Scott E

    2010-01-01

    Individually, the metabolic demands of digestion or movement can be fully supported by elevations in cardiovascular performance, but when occurring simultaneously, vascular perfusion may have to be prioritized to either the gut or skeletal muscles. Burmese pythons (Python molurus) experience similar increases in metabolic rate during the digestion of a meal as they do while crawling, hence each would have an equal demand for vascular supply when these two actions are combined. To determine, for the Burmese python, whether blood flow is prioritized when snakes are digesting and moving, we examined changes in cardiac performance and blood flow in response to digestion, movement, and the combination of digestion and movement. We used perivascular blood flow probes to measure blood flow through the left carotid artery, dorsal aorta, superior mesenteric artery and hepatic portal vein, and to calculate cardiac output, heart rate and stroke volume. Fasted pythons while crawling experienced a 2.7- and 3.3-fold increase, respectively, in heart rate and cardiac output, and a 66% decrease in superior mesenteric flow. During the digestion of a rodent meal equaling in mass to 24.7% of the snake's body mass, heart rate and cardiac output increased by 3.3- and 4.4-fold, respectively. Digestion also resulted in respective 11.6- and 14.1-fold increases in superior mesenteric and hepatic portal flow. When crawling while digesting, cardiac output and dorsal aorta flow increased by only 21% and 9%, respectively, a modest increase compared with that when they start to crawl on an empty stomach. Crawling did triggered a significant reduction in blood flow to the digesting gut, decreasing superior mesenteric and hepatic portal flow by 81% and 47%, respectively. When faced with the dual demands of digestion and crawling, Burmese pythons prioritize blood flow, apparently diverting visceral supply to the axial muscles.

  6. Growth and stress response mechanisms underlying post-feeding regenerative organ growth in the Burmese python.

    Science.gov (United States)

    Andrew, Audra L; Perry, Blair W; Card, Daren C; Schield, Drew R; Ruggiero, Robert P; McGaugh, Suzanne E; Choudhary, Amit; Secor, Stephen M; Castoe, Todd A

    2017-05-02

    Previous studies examining post-feeding organ regeneration in the Burmese python (Python molurus bivittatus) have identified thousands of genes that are significantly differentially regulated during this process. However, substantial gaps remain in our understanding of coherent mechanisms and specific growth pathways that underlie these rapid and extensive shifts in organ form and function. Here we addressed these gaps by comparing gene expression in the Burmese python heart, liver, kidney, and small intestine across pre- and post-feeding time points (fasted, one day post-feeding, and four days post-feeding), and by conducting detailed analyses of molecular pathways and predictions of upstream regulatory molecules across these organ systems. Identified enriched canonical pathways and upstream regulators indicate that while downstream transcriptional responses are fairly tissue specific, a suite of core pathways and upstream regulator molecules are shared among responsive tissues. Pathways such as mTOR signaling, PPAR/LXR/RXR signaling, and NRF2-mediated oxidative stress response are significantly differentially regulated in multiple tissues, indicative of cell growth and proliferation along with coordinated cell-protective stress responses. Upstream regulatory molecule analyses identify multiple growth factors, kinase receptors, and transmembrane receptors, both within individual organs and across separate tissues. Downstream transcription factors MYC and SREBF are induced in all tissues. These results suggest that largely divergent patterns of post-feeding gene regulation across tissues are mediated by a core set of higher-level signaling molecules. Consistent enrichment of the NRF2-mediated oxidative stress response indicates this pathway may be particularly important in mediating cellular stress during such extreme regenerative growth.

  7. The Burmese python genome reveals the molecular basis for extreme adaptation in snakes.

    Science.gov (United States)

    Castoe, Todd A; de Koning, A P Jason; Hall, Kathryn T; Card, Daren C; Schield, Drew R; Fujita, Matthew K; Ruggiero, Robert P; Degner, Jack F; Daza, Juan M; Gu, Wanjun; Reyes-Velasco, Jacobo; Shaney, Kyle J; Castoe, Jill M; Fox, Samuel E; Poole, Alex W; Polanco, Daniel; Dobry, Jason; Vandewege, Michael W; Li, Qing; Schott, Ryan K; Kapusta, Aurélie; Minx, Patrick; Feschotte, Cédric; Uetz, Peter; Ray, David A; Hoffmann, Federico G; Bogden, Robert; Smith, Eric N; Chang, Belinda S W; Vonk, Freek J; Casewell, Nicholas R; Henkel, Christiaan V; Richardson, Michael K; Mackessy, Stephen P; Bronikowski, Anne M; Bronikowsi, Anne M; Yandell, Mark; Warren, Wesley C; Secor, Stephen M; Pollock, David D

    2013-12-17

    Snakes possess many extreme morphological and physiological adaptations. Identification of the molecular basis of these traits can provide novel understanding for vertebrate biology and medicine. Here, we study snake biology using the genome sequence of the Burmese python (Python molurus bivittatus), a model of extreme physiological and metabolic adaptation. We compare the python and king cobra genomes along with genomic samples from other snakes and perform transcriptome analysis to gain insights into the extreme phenotypes of the python. We discovered rapid and massive transcriptional responses in multiple organ systems that occur on feeding and coordinate major changes in organ size and function. Intriguingly, the homologs of these genes in humans are associated with metabolism, development, and pathology. We also found that many snake metabolic genes have undergone positive selection, which together with the rapid evolution of mitochondrial proteins, provides evidence for extensive adaptive redesign of snake metabolic pathways. Additional evidence for molecular adaptation and gene family expansions and contractions is associated with major physiological and phenotypic adaptations in snakes; genes involved are related to cell cycle, development, lungs, eyes, heart, intestine, and skeletal structure, including GRB2-associated binding protein 1, SSH, WNT16, and bone morphogenetic protein 7. Finally, changes in repetitive DNA content, guanine-cytosine isochore structure, and nucleotide substitution rates indicate major shifts in the structure and evolution of snake genomes compared with other amniotes. Phenotypic and physiological novelty in snakes seems to be driven by system-wide coordination of protein adaptation, gene expression, and changes in the structure of the genome.

  8. Selected regulation of gastrointestinal acid-base secretion and tissue metabolism for the diamondback water snake and Burmese python.

    Science.gov (United States)

    Secor, Stephen M; Taylor, Josi R; Grosell, Martin

    2012-01-01

    Snakes exhibit an apparent dichotomy in the regulation of gastrointestinal (GI) performance with feeding and fasting; frequently feeding species modestly regulate intestinal function whereas infrequently feeding species rapidly upregulate and downregulate intestinal function with the start and completion of each meal, respectively. The downregulatory response with fasting for infrequently feeding snakes is hypothesized to be a selective attribute that reduces energy expenditure between meals. To ascertain the links between feeding habit, whole-animal metabolism, and GI function and metabolism, we measured preprandial and postprandial metabolic rates and gastric and intestinal acid-base secretion, epithelial conductance and oxygen consumption for the frequently feeding diamondback water snake (Nerodia rhombifer) and the infrequently feeding Burmese python (Python molurus). Independent of body mass, Burmese pythons possess a significantly lower standard metabolic rate and respond to feeding with a much larger metabolic response compared with water snakes. While fasting, pythons cease gastric acid and intestinal base secretion, both of which are stimulated with feeding. In contrast, fasted water snakes secreted gastric acid and intestinal base at rates similar to those of digesting snakes. We observed no difference between fasted and fed individuals for either species in gastric or intestinal transepithelial potential and conductance, with the exception of a significantly greater gastric transepithelial potential for fed pythons at the start of titration. Water snakes experienced no significant change in gastric or intestinal metabolism with feeding. Fed pythons, in contrast, experienced a near-doubling of gastric metabolism and a tripling of intestinal metabolic rate. For fasted individuals, the metabolic rate of the stomach and small intestine was significantly lower for pythons than for water snakes. The fasting downregulation of digestive function for pythons is

  9. Pro Python

    CERN Document Server

    Alchin, Marty

    2010-01-01

    You've learned the basics of Python, but how do you take your skills to the next stage? Even if you know enough to be productive, there are a number of features that can take you to the next level in Python. Pro Python explores concepts and features normally left to experimentation, allowing you to be even more productive and creative. In addition to pure code concerns, Pro Python will develop your programming techniques and approaches, which will help make you a better Python programmer. Not only will this book help your code, it will also help you understand and interact with the many establ

  10. Rapid Microsatellite Marker Development Using Next Generation Pyrosequencing to Inform Invasive Burmese Python—Python molurus bivittatus—Management

    Directory of Open Access Journals (Sweden)

    Kristen M. Hart

    2013-02-01

    Full Text Available Invasive species represent an increasing threat to native ecosystems, harming indigenous taxa through predation, habitat modification, cross-species hybridization and alteration of ecosystem processes. Additionally, high economic costs are associated with environmental damage, restoration and control measures. The Burmese python, Python molurus bivittatus, is one of the most notable invasive species in the US, due to the threat it poses to imperiled species and the Greater Everglades ecosystem. To address population structure and relatedness, next generation sequencing was used to rapidly produce species-specific microsatellite loci. The Roche 454 GS-FLX Titanium platform provided 6616 di-, tri- and tetra-nucleotide repeats in 117,516 sequences. Using stringent criteria, 24 of 26 selected tri- and tetra-nucleotide loci were polymerase chain reaction (PCR amplified and 18 were polymorphic. An additional six cross-species loci were amplified, and the resulting 24 loci were incorporated into eight PCR multiplexes. Multi-locus genotypes yielded an average of 61% (39%–77% heterozygosity and 3.7 (2–6 alleles per locus. Population-level studies using the developed microsatellites will track the invasion front and monitor population-suppression dynamics. Additionally, cross-species amplification was detected in the invasive Ball, P. regius, and Northern African python, P. sebae. These markers can be used to address the hybridization potential of Burmese pythons and the larger, more aggressive P. sebae.

  11. Whole transcriptome analysis of the fasting and fed Burmese python heart: insights into extreme physiological cardiac adaptation.

    Science.gov (United States)

    Wall, Christopher E; Cozza, Steven; Riquelme, Cecilia A; McCombie, W Richard; Heimiller, Joseph K; Marr, Thomas G; Leinwand, Leslie A

    2011-01-01

    The infrequently feeding Burmese python (Python molurus) experiences significant and rapid postprandial cardiac hypertrophy followed by regression as digestion is completed. To begin to explore the molecular mechanisms of this response, we have sequenced and assembled the fasted and postfed Burmese python heart transcriptomes with Illumina technology using the chicken (Gallus gallus) genome as a reference. In addition, we have used RNA-seq analysis to identify differences in the expression of biological processes and signaling pathways between fasted, 1 day postfed (DPF), and 3 DPF hearts. Out of a combined transcriptome of ∼2,800 mRNAs, 464 genes were differentially expressed. Genes showing differential expression at 1 DPF compared with fasted were enriched for biological processes involved in metabolism and energetics, while genes showing differential expression at 3 DPF compared with fasted were enriched for processes involved in biogenesis, structural remodeling, and organization. Moreover, we present evidence for the activation of physiological and not pathological signaling pathways in this rapid, novel model of cardiac growth in pythons. Together, our data provide the first comprehensive gene expression profile for a reptile heart.

  12. Learning Python

    CERN Document Server

    Lutz, Mark

    2009-01-01

    Google and YouTube use Python because it's highly adaptable, easy to maintain, and allows for rapid development. If you want to write high-quality, efficient code that's easily integrated with other languages and tools, this hands-on book will help you be productive with Python quickly -- whether you're new to programming or just new to Python. It's an easy-to-follow self-paced tutorial, based on author and Python expert Mark Lutz's popular training course. Each chapter contains a stand-alone lesson on a key component of the language, and includes a unique Test Your Knowledge section with p

  13. Programming Python

    CERN Document Server

    Lutz, Mark

    2011-01-01

    If you've mastered Python's fundamentals, you're ready to start using it to get real work done. Programming Python will show you how, with in-depth tutorials on the language's primary application domains: system administration, GUIs, and the Web. You'll also explore how Python is used in databases, networking, front-end scripting layers, text processing, and more. This book focuses on commonly used tools and libraries to give you a comprehensive understanding of Python's many roles in practical, real-world programming. You'll learn language syntax and programming techniques in a clear and co

  14. Morphological Pulmonary Diffusion Capacity for Oxygen of Burmese Pythons (Python molurus): a Comparison of Animals in Healthy Condition and with Different Pulmonary Infections.

    Science.gov (United States)

    Starck, J M; Weimer, I; Aupperle, H; Müller, K; Marschang, R E; Kiefer, I; Pees, M

    2015-11-01

    A qualitative and quantitative morphological study of the pulmonary exchange capacity of healthy and diseased Burmese pythons (Python molurus) was carried out in order to test the hypothesis that the high morphological excess capacity for oxygen exchange in the lungs of these snakes is one of the reasons why pathological processes extend throughout the lung parenchyma and impair major parts of the lungs before clinical signs of respiratory disease become apparent. Twenty-four Burmese pythons (12 healthy and 12 diseased) were included in the study. A stereology-based approach was used to quantify the lung parenchyma using computed tomography. Light microscopy was used to quantify tissue compartments and the respiratory exchange surface, and transmission electron microscopy was used to measure the thickness of the diffusion barrier. The morphological diffusion capacity for oxygen of the lungs and the anatomical diffusion factor were calculated. The calculated anatomical diffusion capacity was compared with published values for oxygen consumption of healthy snakes, and the degree to which the exchange capacity can be obstructed before normal physiological function is impaired was estimated. Heterogeneous pulmonary infections result in graded morphological transformations of pulmonary parenchyma involving lymphocyte migration into the connective tissue and thickening of the septal connective tissue, increasing thickness of the diffusion barrier and increasing transformation of the pulmonary epithelium into a columnar pseudostratified or stratified epithelium. The transformed epithelium developed by hyperplasia of ciliated cells arising from the tip of the faveolar septa and by hyperplasia of type II pneumocytes. These results support the idea that the lungs have a remarkable overcapacity for oxygen consumption and that the development of pulmonary disease continuously reduces the capacity for oxygen consumption. However, due to the overcapacity of the lungs, this

  15. Molecular cloning and characterization of satellite DNA sequences from constitutive heterochromatin of the habu snake (Protobothrops flavoviridis, Viperidae) and the Burmese python (Python bivittatus, Pythonidae).

    Science.gov (United States)

    Matsubara, Kazumi; Uno, Yoshinobu; Srikulnath, Kornsorn; Seki, Risako; Nishida, Chizuko; Matsuda, Yoichi

    2015-12-01

    Highly repetitive DNA sequences of the centromeric heterochromatin provide valuable molecular cytogenetic markers for the investigation of genomic compartmentalization in the macrochromosomes and microchromosomes of sauropsids. Here, the relationship between centromeric heterochromatin and karyotype evolution was examined using cloned repetitive DNA sequences from two snake species, the habu snake (Protobothrops flavoviridis, Crotalinae, Viperidae) and Burmese python (Python bivittatus, Pythonidae). Three satellite DNA (stDNA) families were isolated from the heterochromatin of these snakes: 168-bp PFL-MspI from P. flavoviridis and 196-bp PBI-DdeI and 174-bp PBI-MspI from P. bivittatus. The PFL-MspI and PBI-DdeI sequences were localized to the centromeric regions of most chromosomes in the respective species, suggesting that the two sequences were the major components of the centromeric heterochromatin in these organisms. The PBI-MspI sequence was localized to the pericentromeric region of four chromosome pairs. The PFL-MspI and the PBI-DdeI sequences were conserved only in the genome of closely related species, Gloydius blomhoffii (Crotalinae) and Python molurus, respectively, although their locations on the chromosomes were slightly different. In contrast, the PBI-MspI sequence was also in the genomes of P. molurus and Boa constrictor (Boidae), and additionally localized to the centromeric regions of eight chromosome pairs in B. constrictor, suggesting that this sequence originated in the genome of a common ancestor of Pythonidae and Boidae, approximately 86 million years ago. The three stDNA sequences showed no genomic compartmentalization between the macrochromosomes and microchromosomes, suggesting that homogenization of the centromeric and/or pericentromeric stDNA sequences occurred in the macrochromosomes and microchromosomes of these snakes.

  16. Programming Python

    National Research Council Canada - National Science Library

    Lutz, Mark

    2006-01-01

    ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 3 3 8 9 15 17 20 22 2. A Sneak Preview "Programming Python: The Short Story" The Task Step 1: Representing Records Step 2: Storing Records Persistently Step 3...

  17. The influence of midazolam on heart rate arises from cardiac autonomic tones alterations in Burmese pythons, Python molurus.

    Science.gov (United States)

    Lopes, Ivã Guidini; Armelin, Vinicius Araújo; Braga, Victor Hugo da Silva; Florindo, Luiz Henrique

    2017-12-01

    The GABA A receptor agonist midazolam is a compound widely used as a tranquilizer and sedative in mammals and reptiles. It is already known that this benzodiazepine produces small to intermediate heart rate (HR) alterations in mammals, however, its influence on reptiles' HR remains unexplored. Thus, the present study sought to verify the effects of midazolam on HR and cardiac modulation in the snake Python molurus. To do so, the snakes' HR, cardiac autonomic tones, and HR variability were evaluated during four different experimental stages. The first stage consisted on the data acquisition of animals under untreated conditions, in which were then administered atropine (2.5mgkg -1 ; intraperitoneal), followed later by propranolol (3.5mgkg -1 ; intraperitoneal) (cardiac double autonomic blockade). The second stage focused on the data acquisition of animals under midazolam effect (1.0mgkg -1 ; intramuscular), which passed through the same autonomic blockade protocol of the first stage. The third and fourth stages consisted of the same protocol of stages one and two, respectively, with the exception that atropine and propranolol injections were reversed. By comparing the HR of animals that received midazolam (second and fourth stages) with those that did not (first and third stages), it could be observed that this benzodiazepine reduced the snakes' HR by ~60%. The calculated autonomic tones showed that such cardiac depression was elicited by an ~80% decrease in cardiac adrenergic tone and an ~620% increase in cardiac cholinergic tone - a finding that was further supported by the results of HR variability analysis. Copyright © 2017 Elsevier B.V. All rights reserved.

  18. Python tutorial

    NARCIS (Netherlands)

    G. van Rossum (Guido)

    1995-01-01

    textabstractPython is a simple, yet powerful programming language that bridges the gap between C and shell programming, and is thus ideally suited for ``throw-away programming'' and rapid prototyping. Its syntax is put together from constructs borrowed from a variety of other languages; most

  19. Python essential reference

    CERN Document Server

    Beazley, David M

    2009-01-01

    Python Essential Reference is the definitive reference guide to the Python programming language — the one authoritative handbook that reliably untangles and explains both the core Python language and the most essential parts of the Python library. Designed for the professional programmer, the book is concise, to the point, and highly accessible. It also includes detailed information on the Python library and many advanced subjects that is not available in either the official Python documentation or any other single reference source. Thoroughly updated to reflect the significant new programming language features and library modules that have been introduced in Python 2.6 and Python 3, the fourth edition of Python Essential Reference is the definitive guide for programmers who need to modernize existing Python code or who are planning an eventual migration to Python 3. Programmers starting a new Python project will find detailed coverage of contemporary Python programming idioms.

  20. Rapid changes in gene expression direct rapid shifts in intestinal form and function in the Burmese python after feeding.

    Science.gov (United States)

    Andrew, Audra L; Card, Daren C; Ruggiero, Robert P; Schield, Drew R; Adams, Richard H; Pollock, David D; Secor, Stephen M; Castoe, Todd A

    2015-05-01

    Snakes provide a unique and valuable model system for studying the extremes of physiological remodeling because of the ability of some species to rapidly upregulate organ form and function upon feeding. The predominant model species used to study such extreme responses has been the Burmese python because of the extreme nature of postfeeding response in this species. We analyzed the Burmese python intestine across a time series, before, during, and after feeding to understand the patterns and timing of changes in gene expression and their relationship to changes in intestinal form and function upon feeding. Our results indicate that >2,000 genes show significant changes in expression in the small intestine following feeding, including genes involved in intestinal morphology and function (e.g., hydrolases, microvillus proteins, trafficking and transport proteins), as well as genes involved in cell division and apoptosis. Extensive changes in gene expression occur surprisingly rapidly, within the first 6 h of feeding, coincide with changes in intestinal morphology, and effectively return to prefeeding levels within 10 days. Collectively, our results provide an unprecedented portrait of parallel changes in gene expression and intestinal morphology and physiology on a scale that is extreme both in the magnitude of changes, as well as in the incredibly short time frame of these changes, with up- and downregulation of expression and function occurring in the span of 10 days. Our results also identify conserved vertebrate signaling pathways that modulate these responses, which may suggest pathways for therapeutic modulation of intestinal function in humans. Copyright © 2015 the American Physiological Society.

  1. Unilateral microphthalmia or anophthalmia in eight pythons (Pythonidae)

    DEFF Research Database (Denmark)

    Da Silva, Mari-Ann Otkjær; Bertelsen, Mads F.; Wang, Tobias

    2015-01-01

    ) with clinically normal right eyes and an abnormal or missing left eye. PROCEDURE: At the time of euthanasia, four of the eight snakes underwent necropsy. Hereafter, the heads of two Burmese pythons and one ball python were examined using μCT, and another Burmese python was subjected to MRI. Following...

  2. Learning Python network programming

    CERN Document Server

    Sarker, M O Faruque

    2015-01-01

    If you're a Python developer or a system administrator with Python experience and you're looking to take your first steps in network programming, then this book is for you. Basic knowledge of Python is assumed.

  3. X Python reference manual

    OpenAIRE

    Mullender, Sjoerd

    1995-01-01

    textabstractThis document describes the built-in types, exceptions, and functions of the X windows extension to Python. It assumes basic knowledge about the Python language and access to the X windows documentation. For an informal introduction to the language, see the Python Tutorial. The Python Reference Manual gives a more formal definition of the language. The Python Library Reference describes the built-in and standard modules of Python. This document can be seen as en extension to that ...

  4. Professional IronPython

    CERN Document Server

    Mueller, John Paul

    2010-01-01

    Part I: Introducing IronPython. This short part is designed to get the reader started using IronPython. It answers basic installation and usage questions, how to get help, and what makes IronPython different from other languages. The reader also discovers how to use familiar tools such as Visual Studio to work with IronPython and creates a very simple IronPython example. Most importantly, the reader becomes familiar with the IronPython environment and discovers how to use it.; Part II: Using the IronPython Language. In this part, the reader learns the IronPython language. It assumes that the r

  5. ASCARIDOSIS IN CAPTIVE RETICULATED PYTHON (PYTHON ...

    African Journals Online (AJOL)

    Dr Olaleye

    Two captive reticulated pythons, Python reticulatus, in the Zoological Gardens, University of Ibadan, Ibadan, Nigeria died and were submitted for necropsy at the Diagnostic Laboratory of the Department of Veterinary Pathology, University of. Ibadan. Both pythons had been infected with Ascaridia galli for a long period of time ...

  6. X Python reference manual

    NARCIS (Netherlands)

    K.S. Mullender (Sjoerd)

    1995-01-01

    textabstractThis document describes the built-in types, exceptions, and functions of the X windows extension to Python. It assumes basic knowledge about the Python language and access to the X windows documentation. For an informal introduction to the language, see the Python Tutorial. The Python

  7. Mastering Python design patterns

    CERN Document Server

    Kasampalis, Sakis

    2015-01-01

    This book is for Python programmers with an intermediate background and an interest in design patterns implemented in idiomatic Python. Programmers of other languages who are interested in Python can also benefit from this book, but it would be better if they first read some introductory materials that explain how things are done in Python.

  8. Dive Into Python 3

    CERN Document Server

    Pilgrim, Mark

    2009-01-01

    Mark Pilgrim's Dive Into Python 3 is a hands-on guide to Python 3 (the latest version of the Python language) and its differences from Python 2. As in the original book, Dive Into Python, each chapter starts with a real, complete code sample, proceeds to pick it apart and explain the pieces, and then puts it all back together in a summary at the end. This book includes: * Example programs completely rewritten to illustrate powerful new concepts now available in Python 3: sets, iterators, generators, closures, comprehensions, and much more* A detailed case study of porting a major library from

  9. Functional Python programming

    CERN Document Server

    Lott, Steven

    2015-01-01

    This book is for developers who want to use Python to write programs that lean heavily on functional programming design patterns. You should be comfortable with Python programming, but no knowledge of functional programming paradigms is needed.

  10. Learning Python testing

    CERN Document Server

    Arbuckle, Daniel

    2014-01-01

    This book is ideal if you want to learn about the testing disciplines and automated testing tools from a hands-on, conversational guide. You should already know Python and be comfortable with Python 3.

  11. Head First Python

    CERN Document Server

    Barry, Paul

    2010-01-01

    Ever wished you could learn Python from a book? Head First Python is a complete learning experience for Python that helps you learn the language through a unique method that goes beyond syntax and how-to manuals, helping you understand how to be a great Python programmer. You'll quickly learn the language's fundamentals, then move onto persistence, exception handling, web development, SQLite, data wrangling, and Google App Engine. You'll also learn how to write mobile apps for Android, all thanks to the power that Python gives you. We think your time is too valuable to waste struggling with

  12. Python penetration testing essentials

    CERN Document Server

    Mohit

    2015-01-01

    If you are a Python programmer or a security researcher who has basic knowledge of Python programming and want to learn about penetration testing with the help of Python, this book is ideal for you. Even if you are new to the field of ethical hacking, this book can help you find the vulnerabilities in your system so that you are ready to tackle any kind of attack or intrusion.

  13. Learning Python design patterns

    CERN Document Server

    Zlobin, Gennadiy

    2013-01-01

    This book takes a tutorial-based and user-friendly approach to covering Python design patterns. Its concise presentation means that in a short space of time, you will get a good introduction to various design patterns.If you are an intermediate level Python user, this book is for you. Prior knowledge of Python programming is essential. Some knowledge of UML is also required to understand the UML diagrams which are used to describe some design patterns.

  14. Python geospatial development essentials

    CERN Document Server

    Bahgat, Karim

    2015-01-01

    This book is ideal for Python programmers who are tasked with or wish to make a special-purpose GIS application. Analysts, political scientists, geographers, and GIS specialists seeking a creative platform to experiment with cutting-edge spatial analysis, but who are still only beginners in Python, will also find this book beneficial. Familiarity with Tkinter application development in Python is preferable but not mandatory.

  15. Python data visualization cookbook

    CERN Document Server

    Milovanovic, Igor

    2013-01-01

    This book is written in a Cookbook style targeted towards an advanced audience. It covers the advanced topics of data visualization in Python.Python Data Visualization Cookbook is for developers that already know about Python programming in general. If you have heard about data visualization but you don't know where to start, then this book will guide you from the start and help you understand data, data formats, data visualization, and how to use Python to visualize data.You will need to know some general programming concepts, and any kind of programming experience will be helpful, but the co

  16. Adventures in Python

    CERN Document Server

    Richardson, Craig

    2015-01-01

    The complete beginner's guide to Python, for young people whowant to start today Adventures in Python is designed for 11-to 15-year oldswho want to teach themselves Python programming, but don't knowwhere to start. Even if you have no programming experience at all,this easy to follow format and clear, simple instruction will getyou up and running quickly. The book walks you through nineprojects that teach you the fundamentals of programming in general,and Python in particular, gradually building your skills until youhave the confidence and ability to tackle your own projects. Videoclips accom

  17. Python high performance programming

    CERN Document Server

    Lanaro, Gabriele

    2013-01-01

    An exciting, easy-to-follow guide illustrating the techniques to boost the performance of Python code, and their applications with plenty of hands-on examples.If you are a programmer who likes the power and simplicity of Python and would like to use this language for performance-critical applications, this book is ideal for you. All that is required is a basic knowledge of the Python programming language. The book will cover basic and advanced topics so will be great for you whether you are a new or a seasoned Python developer.

  18. Python pocket reference

    CERN Document Server

    Lutz, Mark

    2010-01-01

    This is the book to reach for when you're coding on the fly and need an answer now. It's an easy-to-use reference to the core language, with descriptions of commonly used modules and toolkits, and a guide to recent changes, new features, and upgraded built-ins -- all updated to cover Python 3.X as well as version 2.6. You'll also quickly find exactly what you need with the handy index. Written by Mark Lutz -- widely recognized as the world's leading Python trainer -- Python Pocket Reference, Fourth Edition, is the perfect companion to O'Reilly's classic Python tutorials, also written by Mark

  19. Anatomy of the python heart.

    Science.gov (United States)

    Jensen, Bjarke; Nyengaard, Jens R; Pedersen, Michael; Wang, Tobias

    2010-12-01

    The hearts of all snakes and lizards consist of two atria and a single incompletely divided ventricle. In general, the squamate ventricle is subdivided into three chambers: cavum arteriosum (left), cavum venosum (medial) and cavum pulmonale (right). Although a similar division also applies to the heart of pythons, this family of snakes is unique amongst snakes in having intracardiac pressure separation. Here we provide a detailed anatomical description of the cardiac structures that confer this functional division. We measured the masses and volumes of the ventricular chambers, and we describe the gross morphology based on dissections of the heart from 13 ball pythons (Python regius) and one Burmese python (P. molurus). The cavum venosum is much reduced in pythons and constitutes approximately 10% of the cavum arteriosum. We suggest that shunts will always be less than 20%, while other studies conclude up to 50%. The high-pressure cavum arteriosum accounted for approximately 75% of the total ventricular mass, and was twice as dense as the low-pressure cavum pulmonale. The reptile ventricle has a core of spongious myocardium, but the three ventricular septa that separate the pulmonary and systemic chambers--the muscular ridge, the bulbuslamelle and the vertical septum--all had layers of compact myocardium. Pythons, however, have unique pads of connective tissue on the site of pressure separation. Because the hearts of varanid lizards, which also are endowed with pressure separation, share many of these morphological specializations, we propose that intraventricular compact myocardium is an indicator of high-pressure systems and possibly pressure separation.

  20. Scraping EDGAR with Python

    Science.gov (United States)

    Ashraf, Rasha

    2017-01-01

    This article presents Python codes that can be used to extract data from Securities and Exchange Commission (SEC) filings. The Python program web crawls to obtain URL paths for company filings of required reports, such as Form 10-K. The program then performs a textual analysis and counts the number of occurrences of words in the filing that…

  1. Python library reference

    NARCIS (Netherlands)

    G. van Rossum (Guido)

    1995-01-01

    textabstractPython is an extensible, interpreted, object-oriented programming language. It supports a wide range of applications, from simple text processing scripts to interactive WWW browsers. While the Python Reference Manual describes the exact syntax and semantics of the language, it does not

  2. Python for Ecology

    Science.gov (United States)

    Python is a high-level scripting language that is becoming increasingly popular for scientific computing. This all-day workshop is designed to introduce the basics of Python programming to ecologists. Some scripting/programming experience is recommended (e.g. familiarity with R)....

  3. Python data analysis

    CERN Document Server

    Idris, Ivan

    2014-01-01

    This book is for programmers, scientists, and engineers who have knowledge of the Python language and know the basics of data science. It is for those who wish to learn different data analysis methods using Python and its libraries. This book contains all the basic ingredients you need to become an expert data analyst.

  4. Python requests essentials

    CERN Document Server

    Chandra, Rakesh Vidya

    2015-01-01

    If you are a Python administrator or developer interested in interacting with web APIs and have a passion for creating your own web applications, this is the book for you. Basic knowledge of Python programming, APIs, and web services will be an advantage.

  5. Python in Astronomy 2016

    Science.gov (United States)

    Jenness, Tim; Robitaille, Thomas; Tollerud, Erik; Mumford, Stuart; Cruz, Kelle

    2016-04-01

    The second Python in Astronomy conference will be held from 21-25 March 2016 at the University of Washington eScience Institute in Seattle, WA, USA. Similarly to the 2015 meeting (which was held at the Lorentz Center), we are aiming to bring together researchers, Python developers, users, and educators. The conference will include presentations, tutorials, unconference sessions, and coding sprints. In addition to sharing information about state-of-the art Python Astronomy packages, the workshop will focus on improving interoperability between astronomical Python packages, providing training for new open-source contributors, and developing educational materials for Python in Astronomy. The meeting is therefore not only aimed at current developers, but also users and educators who are interested in being involved in these efforts.

  6. Python in a nutshell

    CERN Document Server

    Martelli, Alex; Holden, Steve

    2016-01-01

    Useful in many roles, from design and prototyping to testing, deployment, and maintenance, Python is consistently ranked among today’s most popular programming languages. The third edition of this practical book provides a quick reference to the language—including Python 3.5, 2.7, and highlights of 3.6—commonly used areas of its vast standard library, and some of the most useful third-party modules and packages. Ideal for programmers with some Python experience, and those coming to Python from other programming languages, this book covers a wide range of application areas, including web and network programming, XML handling, database interactions, and high-speed numeric computing. Discover how Python provides a unique mix of elegance, simplicity, practicality, and sheer power.

  7. Python to learn programming

    Science.gov (United States)

    Bogdanchikov, A.; Zhaparov, M.; Suliyev, R.

    2013-04-01

    Today we have a lot of programming languages that can realize our needs, but the most important question is how to teach programming to beginner students. In this paper we suggest using Python for this purpose, because it is a programming language that has neatly organized syntax and powerful tools to solve any task. Moreover it is very close to simple math thinking. Python is chosen as a primary programming language for freshmen in most of leading universities. Writing code in python is easy. In this paper we give some examples of program codes written in Java, C++ and Python language, and we make a comparison between them. Firstly, this paper proposes advantages of Python language in relation to C++ and JAVA. Then it shows the results of a comparison of short program codes written in three different languages, followed by a discussion on how students understand programming. Finally experimental results of students' success in programming courses are shown.

  8. ASCARIDOSIS IN CAPTIVE RETICULATED PYTHON (PYTHON ...

    African Journals Online (AJOL)

    Dr Olaleye

    other wildlife must be certified worm-free to avoid such economic and wildlife resource loss in future. Key words: Python, chicken, Ascaridia galli, worm infestation, wildlife preservation. Corresponding author: Dr. V.O. Taiwo, .... made to feed them with parasite-free food. This can be ensured by routine certification of the.

  9. PYTHON: Stata module for using the Python language within Stata

    OpenAIRE

    James Fiedler

    2013-01-01

    This module includes code for the "python_plugin" C plugin, and associated files. The plugin makes the Python language available within Stata, and provides Python functions to interact with Stata data, matrices, macros, and numeric scalars. The plugin can be used through an interactive interpreter or be used to execute Python files. This code is experimental. In particular, that means that it should be used with caution. See python_plugin.pdf for more information.

  10. Python - Realizer : Python done in C++ and Qt

    OpenAIRE

    Stenbro, Richard Magnor

    2005-01-01

    Python – Realizer is basically planned to become the original Python done in C++ and Qt class library. This to make it a brand new implemented Python interpreter with a new rapid application development application extending it, for a complete Python system. It is supposed to become the Visual Basic of Python, in a matter of speak with most ideas taken from that environment. At least what it was in earlier edition, before everything got transfer to Visual Studio. It should not includ...

  11. Python geospatial development

    CERN Document Server

    Westra, Erik

    2013-01-01

    This is a tutorial style book that will teach usage of Python tools for GIS using simple practical examples and then show you how to build a complete mapping application from scratch. The book assumes basic knowledge of Python. No knowledge of Open Source GIS is required.Experienced Python developers who want to learn about geospatial concepts, work with geospatial data, solve spatial problems, and build mapbased applications.This book will be useful those who want to get up to speed with Open Source GIS in order to build GIS applications or integrate GeoSpatial features into their existing ap

  12. Parallel programming with Python

    CERN Document Server

    Palach, Jan

    2014-01-01

    A fast, easy-to-follow and clear tutorial to help you develop Parallel computing systems using Python. Along with explaining the fundamentals, the book will also introduce you to slightly advanced concepts and will help you in implementing these techniques in the real world. If you are an experienced Python programmer and are willing to utilize the available computing resources by parallelizing applications in a simple way, then this book is for you. You are required to have a basic knowledge of Python development to get the most of this book.

  13. Pro Python System Administration

    CERN Document Server

    Sileika, R

    2010-01-01

    As time goes on, system administrators are presented with increasingly complicated challenges. In the early days, a team of engineers might have had to look after one or two systems. These days, one engineer can administer hundreds or thousands of systems. System administrators are gradually replacing their tools with more advanced and flexible ones. One of the choices is Python. Structurally, Python is a modern, high-level language with a very clean syntax. Python comes with many built-in libraries that can make automation tasks easier. It also has extensive set of third-party libraries and a

  14. Python profiling 101

    CERN Multimedia

    CERN. Geneva

    2014-01-01

    Python code is much easier to write than C, yet much less efficient. It's often assumed that Python is not performance-oriented and therefore making effort to optimize it doesn't pay off. While in many cases it's true, at a certain moment of a development, especially right before reaching production-ready state, it might turn out that a Python code runs slowly and one needs to find a culprit. In this talk I'll not tell how to make your program faster. Instead, I'll show different techniques to look for the bottlenecks in the code. The presentation will be built around a live demo using real-life Python code.

  15. Python for secret agents

    CERN Document Server

    Lott, Steven F

    2014-01-01

    If you are a Python beginner who is looking to learn the language through interesting projects, this book is for you. A basic knowledge of programming and statistics is beneficial to get the most out of the book.

  16. NEURON and Python.

    Science.gov (United States)

    Hines, Michael L; Davison, Andrew P; Muller, Eilif

    2009-01-01

    The NEURON simulation program now allows Python to be used, alone or in combination with NEURON's traditional Hoc interpreter. Adding Python to NEURON has the immediate benefit of making available a very extensive suite of analysis tools written for engineering and science. It also catalyzes NEURON software development by offering users a modern programming tool that is recognized for its flexibility and power to create and maintain complex programs. At the same time, nothing is lost because all existing models written in Hoc, including graphical user interface tools, continue to work without change and are also available within the Python context. An example of the benefits of Python availability is the use of the xml module in implementing NEURON's Import3D and CellBuild tools to read MorphML and NeuroML model specifications.

  17. Python Introduction and Installation

    Directory of Open Access Journals (Sweden)

    William J. Turkel

    2012-07-01

    Full Text Available This first lesson in our section on dealing with Online Sources is designed to get you and your computer set up to start programming. We will focus on installing the relevant software – all free and reputable – and finally we will help you to get your toes wet with some simple programming that provides immediate results. In this opening module you will install the Python programming language, the Beautiful Soup HTML/XML parser, and a text editor. Screencaps provided here come from Komodo Edit, but you can use any text editor capable of working with Python. Here’s a list of other options: Python Editors. Once everything is installed, you will write your first programs, “Hello World” in Python and HTML.

  18. Manipulating Strings in Python

    Directory of Open Access Journals (Sweden)

    William J. Turkel

    2012-07-01

    Full Text Available This lesson is a brief introduction to string manipulation techniques in Python. Knowing how to manipulate strings plays a crucial role in most text processing tasks. If you’d like to experiment with the following lessons, you can write and execute short programs as we’ve been doing, or you can open up a Python shell / Terminal to try them out on the command line.

  19. Python Switch Statement

    Directory of Open Access Journals (Sweden)

    2008-06-01

    Full Text Available The Python programming language does not have a built in switch/case control structure as found in many other high level programming languages. It is thought by some that this is a deficiency in the language, and the control structure should be added. This paper demonstrates that not only is the control structure not needed, but that the methods available in Python are more expressive than built in case statements in other high level languages.

  20. Detecting an elusive invasive species: a diagnostic PCR to detect Burmese python in Florida waters and an assessment of persistence of environmental DNA.

    Science.gov (United States)

    Piaggio, Antoinette J; Engeman, Richard M; Hopken, Matthew W; Humphrey, John S; Keacher, Kandy L; Bruce, William E; Avery, Michael L

    2014-03-01

    Recent studies have demonstrated that detection of environmental DNA (eDNA) from aquatic vertebrates in water bodies is possible. The Burmese python, Python bivittatus, is a semi-aquatic, invasive species in Florida where its elusive nature and cryptic coloration make its detection difficult. Our goal was to develop a diagnostic PCR to detect P. bivittatus from water-borne eDNA, which could assist managers in monitoring this invasive species. First, we used captive P. bivittatus to determine whether reptilian DNA could be isolated and amplified from water samples. We also evaluated the efficacy of two DNA isolation methods and two DNA extraction kits commonly used in eDNA preparation. A fragment of the mitochondrial cytochrome b gene from P. bivittatus was detected in all water samples isolated with the sodium acetate precipitate and the QIAamp DNA Micro Kit. Next, we designed P. bivittatus-specific primers and assessed the degradation rate of eDNA in water. Our primers did not amplify DNA from closely related species, and we found that P. bivittatus DNA was consistently detectable up to 96 h. Finally, we sampled water from six field sites in south Florida. Samples from five sites, where P. bivittatus has been observed, tested positive for eDNA. The final site was negative and had no prior documented evidence of P. bivittatus. This study shows P. bivittatus eDNA can be isolated from water samples; thus, this method is a new and promising technique for the management of invasive reptiles. Published 2013. This article is a U.S. Government work and is in the public domain in the USA.

  1. Ascaridosis in captive reticulated python( Python reticulatus ) | Taiwo ...

    African Journals Online (AJOL)

    Two captive reticulated pythons, Python reticulatus, in the Zoological Gardens, University of Ibadan, Ibadan, Nigeria died and were submitted for necropsy at the Diagnostic Laboratory of the Department of Veterinary Pathology, University of Ibadan. Both pythons had been infected with Ascaridia galli for a long period of time ...

  2. Python imaging library

    OpenAIRE

    Mágr, Martin

    2008-01-01

    Tato bakalářská práce se zabývá návrhem a implementací editoru grafů, který je propojen s konkrétním informačním systémem protokolem XML-RPC. Aplikace je vytvořena pomocí jazyka Python a jeho grafické knihovny Python Imaging Library. Pro realizaci grafického uživatelského rozhraní je využívána knihovna GTK+ resp. její aplikační programové rozhraní pro Python, PyGTK. This bachelor thesis is engaged in concept and implementation of graph editor, which is connected with concrete information s...

  3. Python for scientists

    CERN Document Server

    Stewart, John M

    2017-01-01

    Scientific Python is a significant public domain alternative to expensive proprietary software packages. This book teaches from scratch everything the working scientist needs to know using copious, downloadable, useful and adaptable code snippets. Readers will discover how easy it is to implement and test non-trivial mathematical algorithms and will be guided through the many freely available add-on modules. A range of examples, relevant to many different fields, illustrate the language's capabilities. The author also shows how to use pre-existing legacy code (usually in Fortran77) within the Python environment, thus avoiding the need to master the original code. In this new edition, several chapters have been re-written to reflect the IPython notebook style. With an extended index, an entirely new chapter discussing SymPy and a substantial increase in the number of code snippets, researchers and research students will be able to quickly acquire all the skills needed for using Python effectively.

  4. Python and AWS Cookbook

    CERN Document Server

    Garnaat, Mitch

    2011-01-01

    If you intend to use Amazon Web Services (AWS) for remote computing and storage, Python is an ideal programming language for developing applications and controlling your cloud-based infrastructure. This cookbook gets you started with more than two dozen recipes for using Python with AWS, based on the author's boto library. You'll find detailed recipes for working with the S3 storage service as well as EC2, the service that lets you design and build cloud applications. Each recipe includes a code solution you can use immediately, along with a discussion of why and how the recipe works. You al

  5. Python for finance

    CERN Document Server

    Yan, Yuxing

    2014-01-01

    Python is a free and powerful tool which can be used to build a financial calculator and price options, and can also explain many trading strategies and test various hypotheses. In addition to that, real-world data can be used to run CAPM (Capital Asset Pricing Model), the Fama-French 3-factor model, estimate VaR (Value at Risk), and estimate spread, illiquidity, and liquidity. This book explores the basics of programming in Python. It is a step-by-step tutorial that will teach you, with the help of concise, practical programs, how to run various statistic tests. With this book, you will learn

  6. Practical Maya programming with Python

    CERN Document Server

    Galanakis, Robert

    2014-01-01

    ""Practical Maya Programming with Python"" is a practical tutorial packed with plenty of examples and sample projects which guides you through building reusable, independent modules and handling unexpected errors. If you are a developer looking to build a powerful system using Python and Maya's capabilities, then this book is for you. Practical Maya Programming with Python is perfect for intermediate users with basic experience in Python and Maya who want to better their knowledge and skills.

  7. Developers@CERN Forums: Python

    CERN Multimedia

    CERN. Geneva

    2016-01-01

    The Developers@CERN Forums second edition took place at the end of May on the topic of Python. How do developers at CERN interact with Python? Which cutting-edge projects are using Python? What were the highlights of this most recent forum?

  8. Python at CERN

    CERN Multimedia

    Witowski, Sebastian

    2017-01-01

    The Large Hadron Collider at CERN is producing 600 million collisions every second. Only 1 in a million collisions is interesting. It requires a fast programming language to analyze and filter this amount of data. Is Python such a language? No, it’s not. Does it mean there is no place for Python in one of the largest scientific facilities in the world? Quite the contrary. The ease of use and a very low learning curve makes Python a perfect programming language for many physicists and other people without the computer science background. CERN does not only produce large amounts of data. The interesting bits of data have to be stored, analyzed, shared and published. Work of many scientists across various research facilities around the world has to be synchronized. This is the area where Python flourishes. And with CERN’s pursuit to create and use open source software, many interesting projects were born. To facilitate the analysis of data, ROOT framework [https://root.cern.ch/] was created. It’s a C++ fra...

  9. Python data science essentials

    CERN Document Server

    Boschetti, Alberto

    2015-01-01

    If you are an aspiring data scientist and you have at least a working knowledge of data analysis and Python, this book will get you started in data science. Data analysts with experience of R or MATLAB will also find the book to be a comprehensive reference to enhance their data manipulation and machine learning skills.

  10. Python reference manual

    NARCIS (Netherlands)

    G. van Rossum (Guido)

    1995-01-01

    textabstractPython is a simple, yet powerful, interpreted programming language that bridges the gap between C and shell programming, and is thus ideally suited for ``throw-away programming'' and rapid prototyping. Its syntax is put together from constructs borrowed from a variety of other languages;

  11. Learning robotics using Python

    CERN Document Server

    Joseph, Lentin

    2015-01-01

    If you are an engineer, a researcher, or a hobbyist, and you are interested in robotics and want to build your own robot, this book is for you. Readers are assumed to be new to robotics but should have experience with Python.

  12. Python comme langage scientifique

    OpenAIRE

    Varoquaux, Gaël

    2009-01-01

    National audience; Python dispose de nombreux modules de calcul scientifique permettant d'aborder efficament un probleme scientifique. C'est un langage très riche et des outils interactifs permettent de le transformer en un environement de travail complet et facile d'utilisation pour l'informatique scientifique.

  13. Parallel distributed computing using Python

    Science.gov (United States)

    Dalcin, Lisandro D.; Paz, Rodrigo R.; Kler, Pablo A.; Cosimo, Alejandro

    2011-09-01

    This work presents two software components aimed to relieve the costs of accessing high-performance parallel computing resources within a Python programming environment: MPI for Python and PETSc for Python. MPI for Python is a general-purpose Python package that provides bindings for the Message Passing Interface (MPI) standard using any back-end MPI implementation. Its facilities allow parallel Python programs to easily exploit multiple processors using the message passing paradigm. PETSc for Python provides access to the Portable, Extensible Toolkit for Scientific Computation (PETSc) libraries. Its facilities allow sequential and parallel Python applications to exploit state of the art algorithms and data structures readily available in PETSc for the solution of large-scale problems in science and engineering. MPI for Python and PETSc for Python are fully integrated to PETSc-FEM, an MPI and PETSc based parallel, multiphysics, finite elements code developed at CIMEC laboratory. This software infrastructure supports research activities related to simulation of fluid flows with applications ranging from the design of microfluidic devices for biochemical analysis to modeling of large-scale stream/aquifer interactions.

  14. Deep learning with Python

    CERN Document Server

    Chollet, Francois

    2018-01-01

    DESCRIPTION Deep learning is applicable to a widening range of artificial intelligence problems, such as image classification, speech recognition, text classification, question answering, text-to-speech, and optical character recognition. Deep Learning with Python is structured around a series of practical code examples that illustrate each new concept introduced and demonstrate best practices. By the time you reach the end of this book, you will have become a Keras expert and will be able to apply deep learning in your own projects. KEY FEATURES • Practical code examples • In-depth introduction to Keras • Teaches the difference between Deep Learning and AI ABOUT THE TECHNOLOGY Deep learning is the technology behind photo tagging systems at Facebook and Google, self-driving cars, speech recognition systems on your smartphone, and much more. AUTHOR BIO Francois Chollet is the author of Keras, one of the most widely used libraries for deep learning in Python. He has been working with deep neural ...

  15. Python algorithms mastering basic algorithms in the Python language

    CERN Document Server

    Hetland, Magnus Lie

    2014-01-01

    Python Algorithms, Second Edition explains the Python approach to algorithm analysis and design. Written by Magnus Lie Hetland, author of Beginning Python, this book is sharply focused on classical algorithms, but it also gives a solid understanding of fundamental algorithmic problem-solving techniques. The book deals with some of the most important and challenging areas of programming and computer science in a highly readable manner. It covers both algorithmic theory and programming practice, demonstrating how theory is reflected in real Python programs. Well-known algorithms and data struc

  16. Mastering object-oriented Python

    CERN Document Server

    Lott, Steven F

    2014-01-01

    This book follows a standard tutorial approach with approximately 750 code samples spread through the 19 chapters. This amounts to over 5,900 lines of code that illustrate each concept.This book is aimed at programmers who have already learned the basics of object-oriented Python and need to write more sophisticated, flexible code that integrates seamlessly with the rest of Python. This book assumes a computer science background, with experience of common Python design patterns.

  17. Beginning Python using Python 2.6 and Python 3.1

    CERN Document Server

    Payne, James

    2010-01-01

    Beginning Python: Using Python 2.6 and Python 3.1 introduces this open source, portable, interpreted, object-oriented programming language that combines remarkable power with clear syntax. This book enables you to quickly create robust, reliable, and reusable Python applications by teaching the basics so you can quickly develop Web and scientific applications, incorporate databases, and master systems tasks on various operating systems, including Linux, MAC OS, and Windows. You’ll get a comprehensive tutorial that guides you from writing simple, basic Python scripts all the way through complex concepts, and also features a reference of the standard modules with examples illustrating how to implement features in the various modules. Plus, the book covers using Python in specific program development domains, such as XML, databases, scientific applications, network programming, and Web development

  18. The spectacle of the ball python (Python regius)

    DEFF Research Database (Denmark)

    Da Silva, Mari-Ann Otkjær; Heegaard, Steffen; Wang, Tobias

    2014-01-01

    A detailed morphological description of the spectacle of the ball python (Python regius) is provided. The eyes of 21 snakes were examined by light microscopy and/or transmission electron microscopy. Additionally, eyes of nine live snakes were examined using optical coherence tomography (OCT...

  19. Python Integration with a Functional DBMS

    OpenAIRE

    Zou, Hanzheng

    2009-01-01

    Python is an Object Oriented programming language and widely used nowadays. This report describes how to extend a functional database system Amos II for integration with Python. Several possibilities are analyzed to combine the Amos II C external interfaces with those of Python. Based on these discussions, new functionality has been added to the Python language by implementing a Python C external module. A basic API called PyAmos, interfacing Python and Amos II, is proposed and implemented in...

  20. Pythons in Burma: Short-tailed python (Reptilia: Squamata)

    Science.gov (United States)

    Zug, George R.; Gotte, Steve W.; Jacobs, Jeremy F.

    2011-01-01

    Short-tailed pythons, Python curtus species group, occur predominantly in the Malayan Peninsula, Sumatra, and Borneo. The discovery of an adult female in Mon State, Myanmar, led to a review of the distribution of all group members (spot-mapping of all localities of confirmed occurrence) and an examination of morphological variation in P. brongersmai. The resulting maps demonstrate a limited occurrence of these pythons within peninsular Malaya, Sumatra, and Borneo with broad absences in these regions. Our small samples limit the recognition of regional differentiation in the morphology of P. brongersmai populations; however, the presence of unique traits in the Myanmar python and its strong allopatry indicate that it is a unique genetic lineage, and it is described as Python kyaiktiyo new species.

  1. Python tools for Visual Studio

    CERN Document Server

    Wang, Cathy

    2014-01-01

    This is a hands-on guide that provides exemplary coverage of all the features and concepts related to PTVS.The book is intended for developers who are aiming to enhance their productivity in Python projects with automation tools that Visual Studio provides for the .Net community. Some basic knowledge of Python programming is essential.

  2. Writing faster Python

    CERN Multimedia

    CERN. Geneva

    2016-01-01

    Did you know that Python preallocates integers from -5 to 257 ? Reusing them 1000 times, instead of allocating memory for a bigger integer, can save you a couple of milliseconds of code’s execution time. If you want to learn more about this kind of optimizations then, … well, probably this presentation is not for you :) Instead of going into such small details, I will talk about more "sane" ideas for writing faster code. After a very brief overview of how to optimize Python code (rule 1: don’t do this; rule 2: don’t do this yet; rule 3: ok, but what if I really want to do this ?), I will show simple and fast ways of measuring the execution time and finally, discuss examples of how some code structures could be improved. You will see: - What is the fastest way of removing duplicates from a list - How much faster your code is when you reuse the built-in functions instead of trying to reinvent the wheel - What is faster than the good ol’ for loop - If the lookup is faster in a list or a set (and w...

  3. Endocardial fibrosarcoma in a reticulated python (Python reticularis).

    Science.gov (United States)

    Gumber, Sanjeev; Nevarez, Javier G; Cho, Doo-Youn

    2010-11-01

    A female, reticulated python (Python reticularis) of unknown age was presented with a history of lethargy, weakness, and distended coelom. Physical examination revealed severe dystocia and stomatitis. The reticulated python was euthanized due to a poor clinical prognosis. Postmortem examination revealed marked distention of the reproductive tract with 26 eggs (10-12 cm in diameter), pericardial effusion, and a slightly firm, pale tan mass (3-4 cm in diameter) adhered to the endocardium at the base of aorta. Based on histopathologic and transmission electron microscopic findings, the diagnosis of endocardial fibrosarcoma was made.

  4. Python fiber optic seal

    Energy Technology Data Exchange (ETDEWEB)

    Ystesund, K.; Bartberger, J.; Brusseau, C.; Fleming, P.; Insch, K.; Tolk, K.

    1993-08-01

    Sandia National Laboratories has developed a high security fiber optic seal that incorporates tamper resistance features that are not available in commercial fiber optic seals. The Python Seal is a passive fiber optic loop seal designed to give indication of unauthorized entry. The seal includes a fingerprint feature that provides seal identity information in addition to the unique fiber optic pattern created when the seal is installed. The fiber optic cable used for the seal loop is produced with tamper resistant features that increase the difficulty of attacking that component of a seal. A Seal Reader has been developed that will record the seal signature and the fingerprint feature of the seal. A Correlator software program then compares seal images to establish a match or mismatch. SNL is also developing a Polaroid reader to permit hard copies of the seal patterns to be obtained directly from the seal.

  5. DAL Algorithms and Python

    CERN Document Server

    Aydemir, Bahar

    2017-01-01

    The Trigger and Data Acquisition (TDAQ) system of the ATLAS detector at the Large Hadron Collider (LHC) at CERN is composed of a large number of distributed hardware and software components. TDAQ system consists of about 3000 computers and more than 25000 applications which, in a coordinated manner, provide the data-taking functionality of the overall system. There is a number of online services required to configure, monitor and control the ATLAS data taking. In particular, the configuration service is used to provide configuration of above components. The configuration of the ATLAS data acquisition system is stored in XML-based object database named OKS. DAL (Data Access Library) allowing to access it's information by C++, Java and Python clients in a distributed environment. Some information has quite complicated structure, so it's extraction requires writing special algorithms. Algorithms available on C++ programming language and partially reimplemented on Java programming language. The goal of the projec...

  6. Computed tomography of the lungs of Indian pythons (Python molurus).

    Science.gov (United States)

    Pees, Michael C; Kiefer, Ingmar; Ludewig, Eberhard W; Schumacher, Juergen P; Krautwald-Junghanns, Maria-Elisabeth R; Oechtering, Gerhard U

    2007-04-01

    To evaluate the use of computed tomography (CT) for detection of pneumonia in snakes. 8 clinically normal Indian pythons (Python molurus) and 5 pythons with evidence of respiratory tract disease. Preliminary examinations (clinical examination, conventional radiography, and microbiologic examination of a transtracheal wash sample) were performed. The lungs of each snake were then examined by use of CT performed in accordance with a standardized protocol. Structures of the lungs were assessed, and thickness and attenuation of the parenchyma were determined. It was possible to assess lung parenchyma in all pythons. Mean +/- SD attenuation in healthy pythons was -744.4 +/- 47.1 Hounsfield units. Significant differences were not evident between the right and left lungs or among measurement areas within a lung. In all Indian pythons with clinical signs of dyspnea and microbiologic detection of pathogens, hyperattenuation of the alveolar tissue was evident. Analysis of the results revealed the benefit of CT for use in the diagnosis of pneumonia in snakes. A standardized protocol and reference values were established as a basis for CT assessment of the lungs of snakes.

  7. Python for Google app engine

    CERN Document Server

    Pippi, Massimiliano

    2015-01-01

    If you are a Python developer, whether you have experience in web applications development or not, and want to rapidly deploy a scalable backend service or a modern web application on Google App Engine, then this book is for you.

  8. Pynamic: the Python Dynamic Benchmark

    Energy Technology Data Exchange (ETDEWEB)

    Lee, G L; Ahn, D H; de Supinksi, B R; Gyllenhaal, J C; Miller, P J

    2007-07-10

    Python is widely used in scientific computing to facilitate application development and to support features such as computational steering. Making full use of some of Python's popular features, which improve programmer productivity, leads to applications that access extremely high numbers of dynamically linked libraries (DLLs). As a result, some important Python-based applications severely stress a system's dynamic linking and loading capabilities and also cause significant difficulties for most development environment tools, such as debuggers. Furthermore, using the Python paradigm for large scale MPI-based applications can create significant file IO and further stress tools and operating systems. In this paper, we present Pynamic, the first benchmark program to support configurable emulation of a wide-range of the DLL usage of Python-based applications for large scale systems. Pynamic has already accurately reproduced system software and tool issues encountered by important large Python-based scientific applications on our supercomputers. Pynamic provided insight for our system software and tool vendors, and our application developers, into the impact of several design decisions. As we describe the Pynamic benchmark, we will highlight some of the issues discovered in our large scale system software and tools using Pynamic.

  9. Humoral regulation of heart rate during digestion in pythons (Python molurus and Python regius).

    Science.gov (United States)

    Enok, Sanne; Simonsen, Lasse Stærdal; Pedersen, Signe Vesterskov; Wang, Tobias; Skovgaard, Nini

    2012-05-15

    Pythons exhibit a doubling of heart rate when metabolism increases several times during digestion. Pythons, therefore, represent a promising model organism to study autonomic cardiovascular regulation during the postprandial state, and previous studies show that the postprandial tachycardia is governed by a release of vagal tone as well as a pronounced stimulation from nonadrenergic, noncholinergic (NANC) factors. Here we show that infusion of plasma from digesting donor pythons elicit a marked tachycardia in fasting snakes, demonstrating that the NANC factor resides in the blood. Injections of the gastrin and cholecystokinin receptor antagonist proglumide had no effect on double-blocked heart rate or blood pressure. Histamine has been recognized as a NANC factor in the early postprandial period in pythons, but the mechanism of its release has not been identified. Mast cells represent the largest repository of histamine in vertebrates, and it has been speculated that mast cells release histamine during digestion. Treatment with the mast cell stabilizer cromolyn significantly reduced postprandial heart rate in pythons compared with an untreated group but did not affect double-blocked heart rate. While this study indicates that histamine induces postprandial tachycardia in pythons, its release during digestion is not stimulated by gastrin or cholecystokinin nor is its release from mast cells a stimulant of postprandial tachycardia.

  10. Beginning Python from novice to professional

    CERN Document Server

    Hetland, Magnus Lie

    2005-01-01

    ""Beginning Python: From Novice to Professional"" is the most comprehensive book on the Python ever written. Based on ""Practical Python,"" this newly revised book is both an introduction and practical reference for a swath of Python-related programming topics, including addressing language internals, database integration, network programming, and web services. Advanced topics, such as extending Python and packaging/distributing Python applications, are also covered. Ten different projects illustrate the concepts introduced in the book. You will learn how to create a P2P file-sharing applicati

  11. Building machine learning systems with Python

    CERN Document Server

    Coelho, Luis Pedro

    2015-01-01

    This book primarily targets Python developers who want to learn and use Python's machine learning capabilities and gain valuable insights from data to develop effective solutions for business problems.

  12. Hemodynamic effects of python neuropeptide gamma in the anesthetized python, Python regius.

    Science.gov (United States)

    Skovgaard, Nini; Galli, Gina; Taylor, Edwin W; Conlon, J Michael; Wang, Tobias

    2005-05-15

    The effects of python neuropeptide gamma (NPgamma) on hemodynamic parameters have been investigated in the anesthetized ball python (Python regius). Bolus intra-arterial injections of synthetic python NPgamma (1-300 pmol kg-1) produced a dose-dependent decrease in systemic arterial blood pressure (Psys) concomitant with increases in systemic vascular conductance (Gsys), total cardiac output and stroke volume, but only minor effects on heart rate. The peptide had no significant effect on pulmonary arterial blood pressure (Ppul) and caused only a small increase in pulmonary conductance (Gpul) at the highest dose. In the systemic circulation, the potency of the NK1 receptor-selective agonist [Sar9,Met(0(2))11] substance P was >100-fold greater than the NK2 receptor-selective agonist [betaAla8] neurokinin A-(4-10)-peptide suggesting that the python cardiovascular system is associated with a receptor that resembles the mammalian NK1 receptor more closely than the NK2 receptor. Administration of the inhibitor of nitric oxide synthesis, L-nitro-arginine-methylester (L-NAME; 150 mg kg-1), resulted in a significant (Ppython, but neither nitric oxide nor prostaglandins mediate the vasodilatory action of NPgamma.

  13. Learning Python with Raspberry Pi

    CERN Document Server

    Bradbury, Alex

    2014-01-01

    The must-have companion guide to the Raspberry Pi User Guide! Raspberry Pi chose Python as its teaching language of choice to encourage a new generation of programmers to learn how to program. This approachable book serves as an ideal resource for anyone wanting to use Raspberry Pi to learn to program and helps you get started with the Python programming language. Aimed at first-time developers with no prior programming language assumed, this beginner book gets you up and running.Covers variables, loops, and functionsAddresses 3D graphics programmingWalks you through programming MinecraftZero

  14. Infestation of Royal Python (Python regius) with ticks Amblyomma ...

    African Journals Online (AJOL)

    The Python/Boa Family is found in most part of tropics. It is a highly domesticated pet and can easily be handled (Cansdale 1962). Snakes are commonly infected by ticks more importantly the hand bodied ticks (Fowler, 1986).However, under captive condition, ticks usually exert a lot of burden on their hosts being carriers of ...

  15. Marsh rabbit mortalities tie pythons to the precipitous decline of mammals in the Everglades.

    Science.gov (United States)

    McCleery, Robert A; Sovie, Adia; Reed, Robert N; Cunningham, Mark W; Hunter, Margaret E; Hart, Kristen M

    2015-04-22

    To address the ongoing debate over the impact of invasive species on native terrestrial wildlife, we conducted a large-scale experiment to test the hypothesis that invasive Burmese pythons (Python molurus bivittatus) were a cause of the precipitous decline of mammals in Everglades National Park (ENP). Evidence linking pythons to mammal declines has been indirect and there are reasons to question whether pythons, or any predator, could have caused the precipitous declines seen across a range of mammalian functional groups. Experimentally manipulating marsh rabbits, we found that pythons accounted for 77% of rabbit mortalities within 11 months of their translocation to ENP and that python predation appeared to preclude the persistence of rabbit populations in ENP. On control sites, outside of the park, no rabbits were killed by pythons and 71% of attributable marsh rabbit mortalities were classified as mammal predations. Burmese pythons pose a serious threat to the faunal communities and ecological functioning of the Greater Everglades Ecosystem, which will probably spread as python populations expand their range. © 2015 The Author(s) Published by the Royal Society. All rights reserved.

  16. Marsh rabbit mortalities tie pythons to the precipitous decline of mammals in the Everglades

    Science.gov (United States)

    McCleery, Robert A.; Sovie, Adia; Reed, Robert N.; Cunningham, Mark W.; Hunter, Margaret E.; Hart, Kristen M.

    2015-01-01

    To address the ongoing debate over the impact of invasive species on native terrestrial wildlife, we conducted a large-scale experiment to test the hypothesis that invasive Burmese pythons (Python molurus bivittatus) were a cause of the precipitous decline of mammals in Everglades National Park (ENP). Evidence linking pythons to mammal declines has been indirect and there are reasons to question whether pythons, or any predator, could have caused the precipitous declines seen across a range of mammalian functional groups. Experimentally manipulating marsh rabbits, we found that pythons accounted for 77% of rabbit mortalities within 11 months of their translocation to ENP and that python predation appeared to preclude the persistence of rabbit populations in ENP. On control sites, outside of the park, no rabbits were killed by pythons and 71% of attributable marsh rabbit mortalities were classified as mammal predations. Burmese pythons pose a serious threat to the faunal communities and ecological functioning of the Greater Everglades Ecosystem, which will probably spread as python populations expand their range.

  17. Python in Astronomy 2016 Unproceedings

    Science.gov (United States)

    Robitaille, Thomas; Cruz, Kelle; Greenfield, Perry; Jeschke, Eric; Juric, Mario; Mumford, Stuart; Prescod-Weinstein, Chanda; Sosey, Megan; Tollerud, Erik; VanderPlas, Jake; Ford, Jes; Foreman-Mackey, Dan; Jenness, Tim; Aldcroft, Tom; Alexandersen, Mike; Bannister, Michele; Barbary, Kyle; Barentsen, Geert; Bennett, Samuel; Boquien, Médéric; Campos Rozo, Jose Ivan; Christe, Steven; Corrales, Lia; Craig, Matthew; Deil, Christoph; Dencheva, Nadia; Donath, Axel; Douglas, Stephanie; Ferreira, Leonardo; Ginsburg, Adam; Goldbaum, Nathan; Gordon, Karl; Hearin, Andrew; Hummels, Cameron; Huppenkothen, Daniela; Jennings, Elise; King, Johannes; Lawler, Samantha; Leonard, Andrew; Lim, Pey Lian; McBride, Lisa; Morris, Brett; Nunez, Carolina; Owen, Russell; Parejko, John; Patel, Ekta; Price-Whelan, Adrian; Ruggiero, Rafael; Sipocz, Brigitta; Stevens, Abigail; Turner, James; Tuttle, Sarah; Yanchulova Merica-Jones, Petia; Yoachim, Peter

    2016-03-01

    This document provides proceedings for unconference sessions as well as hacks/sprints which took place at the Python in Astronomy 2016 workshop, which was held at the University of Washington eScience Institute in Seattle from March 21st to 25th 2016.

  18. Imagining a Stata / Python Combination

    Science.gov (United States)

    Fiedler, James

    2012-01-01

    There are occasions when a task is difficult in Stata, but fairly easy in a more general programming language. Python is a popular language for a range of uses. It is easy to use, has many high ]quality packages, and programs can be written relatively quickly. Is there any advantage in combining Stata and Python within a single interface? Stata already offers support for user-written programs, which allow extensive control over calculations, but somewhat less control over graphics. Also, except for specifying output, the user has minimal programmatic control over the user interface. Python can be used in a way that allows more control over the interface and graphics, and in so doing provide a roundabout method for satisfying some user requests (e.g., transparency levels in graphics and the ability to clear the results window). My talk will explore these ideas, present a possible method for combining Stata and Python, and give examples to demonstrate how this combination might be useful.

  19. pwkit: Astronomical utilities in Python

    Science.gov (United States)

    Williams, Peter K. G.; Clavel, Maïca; Newton, Elisabeth; Ryzhkov, Denis

    2017-04-01

    pwkit is a collection of miscellaneous astronomical utilities in Python, with an emphasis on radio astronomy, reading and writing various data formats, and convenient command-line utilities. Utilities include basic astronomical calculations, data visualization tools such as mapping arbitrary data to color scales and tracing contours, and data input and output utilities such as streaming output from other programs.

  20. Python pocket reference, version 2.4

    CERN Document Server

    Lutz, Mark

    2005-01-01

    Python is optimized for quality, productivity, portability, and integration. Hundreds of thousands of Python developers around the world rely on Python for general-purpose tasks, Internet scripting, systems programming, user interfaces, and product customization. Available on all major computing platforms, including commercial versions of Unix, Linux, Windows, and Mac OS X, Python is portable, powerful and remarkable easy to use. With its convenient, quick-reference format, Python Pocket Reference, 3rd Edition is the perfect on-the-job reference. More importantly, it's now been refreshed

  1. Learning scientific programming with Python

    CERN Document Server

    Hill, Christian

    2015-01-01

    Learn to master basic programming tasks from scratch with real-life scientifically relevant examples and solutions drawn from both science and engineering. Students and researchers at all levels are increasingly turning to the powerful Python programming language as an alternative to commercial packages and this fast-paced introduction moves from the basics to advanced concepts in one complete volume, enabling readers to quickly gain proficiency. Beginning with general programming concepts such as loops and functions within the core Python 3 language, and moving onto the NumPy, SciPy and Matplotlib libraries for numerical programming and data visualisation, this textbook also discusses the use of IPython notebooks to build rich-media, shareable documents for scientific analysis. Including a final chapter introducing challenging topics such as floating-point precision and algorithm stability, and with extensive online resources to support advanced study, this textbook represents a targeted package for students...

  2. Programming ArcGIS with Python cookbook

    CERN Document Server

    Pimpler, Eric

    2015-01-01

    Programming ArcGIS with Python Cookbook, Second Edition, is written for GIS professionals who wish to revolutionize their ArcGIS workflow with Python. Whether you are new to ArcGIS or a seasoned professional, you almost certainly spend time each day performing various geoprocessing tasks. This book will teach you how to use the Python programming language to automate these geoprocessing tasks and make you a more efficient and effective GIS professional.

  3. Computed tomography of ball pythons (Python regius) in curled recumbency.

    Science.gov (United States)

    Hedley, Joanna; Eatwell, Kevin; Schwarz, Tobias

    2014-01-01

    Anesthesia and tube restraint methods are often required for computed tomography (CT) of snakes due to their natural tendency to curl up. However, these restraint methods may cause animal stress. The aim of this study was to determine whether the CT appearance of the lungs differs for ball pythons in a curled position vs. tube restraint. Whole body CT was performed on ten clinically healthy ball pythons, first in curled and then in straight positions restrained in a tube. Curved multiplanar reformatted (MPR) lung images from curled position scans were compared with standard MPR lung images from straight position scans. Lung attenuation and thickness were measured at three locations for each scan. Time for positioning and scanning was 12 ± 5 min shorter for curled snakes compared to tube restraint. Lung parenchyma thickness and attenuation declined from cranial to caudal on both straight and curled position images. Mean lung parenchyma thickness was greater in curled images at locations 1 (P = 0.048) and 3 (P = 0.044). Mean lung parenchyma thickness decreased between location 1 and 2 by 86-87% (straight: curled) and between location 1 and 3 by 51-50% (straight: curled). Mean lung attenuation at location 1 was significantly greater on curled position images than tube restraint images (P = 0.043). Findings indicated that CT evaluation of the lungs is feasible for ball pythons positioned in curled recumbency if curved MPR is available. However, lung parenchyma thickness and attenuation in some locations may vary from those acquired using tube restraint. © 2014 American College of Veterinary Radiology.

  4. Python for Unix and Linux system administration

    CERN Document Server

    Gift, Noah

    2007-01-01

    Python is an ideal language for solving problems, especially in Linux and Unix networks. With this pragmatic book, administrators can review various tasks that often occur in the management of these systems, and learn how Python can provide a more efficient and less painful way to handle them. Each chapter in Python for Unix and Linux System Administration presents a particular administrative issue, such as concurrency or data backup, and presents Python solutions through hands-on examples. Once you finish this book, you'll be able to develop your own set of command-line utilities with Pytho

  5. Internationalization and Localization in Python

    CERN Multimedia

    CERN. Geneva

    2016-01-01

    Internationalization and Localization are increasingly important in an interconnected world. Regardless of that, developers tend to treat them as secondary issues, very often choosing to address them properly when it's already too late. The fact that most programming language standard libraries choose to ignore the matter doesn't help either. In this talk we will present some useful Python libraries and tools that can help you internationalize and localize your code with minimal effort. We will also describe some common pitfalls and problems.

  6. Python 3 for Absolute Beginners

    CERN Document Server

    Hall, Tim

    2009-01-01

    There are many more people who want to study programming other than aspiring computer scientists with a passing grade in advanced calculus. This guide appeals to your intelligence and ability to solve practical problems, while gently teaching the most recent revision of the programming language Python. You can learn solid software design skills and accomplish practical programming tasks, like extending applications and automating everyday processes, even if you have no programming experience at all. Authors Tim Hall and J-P Stacey use everyday language to decode programming jargon and teach Py

  7. Desarrollo CUDA en Java y Python

    OpenAIRE

    Pérez Sánchez, José Alejandro

    2013-01-01

    Análisis de desarrollo paralelo CUDA en lenguajes Java y Python, utilizando JCuda, RootBeer, PyCuda y Anaconda Accelerate. Anàlisi de desenvolupament paral·lel CUDA en llenguatges Java i Python, utilitzant JCuda, RootBeer, PyCuda i Anaconda Accelerate. Bachelor thesis for the Computer science program on Computer architecture and operating systems.

  8. Learning selenium testing tools with Python

    CERN Document Server

    Gundecha, Unmesh

    2014-01-01

    If you are a quality testing professional, or a software or web application developer looking to create automation test scripts for your web applications, with an interest in Python, then this is the perfect guide for you. Python developers who need to do Selenium testing need not learn Java, as they can directly use Selenium for testing with this book.

  9. Extending and embedding the Python interpreter

    NARCIS (Netherlands)

    G. van Rossum (Guido)

    1995-01-01

    textabstractPython is an interpreted, object-oriented programming language. This document describes how to write modules in C or C++ to extend the Python interpreter with new modules. Those modules can define new functions but also new object types and their methods. The document also describes

  10. On Parallel Software Engineering Education Using Python

    Science.gov (United States)

    Marowka, Ami

    2018-01-01

    Python is gaining popularity in academia as the preferred language to teach novices serial programming. The syntax of Python is clean, easy, and simple to understand. At the same time, it is a high-level programming language that supports multi programming paradigms such as imperative, functional, and object-oriented. Therefore, by default, it is…

  11. Optics simulations: a Python workshop

    Science.gov (United States)

    Ghalila, H.; Ammar, A.; Varadharajan, S.; Majdi, Y.; Zghal, M.; Lahmar, S.; Lakshminarayanan, V.

    2017-08-01

    Numerical simulations allow teachers and students to indirectly perform sophisticated experiments that cannot be realizable otherwise due to cost and other constraints. During the past few decades there has been an explosion in the development of numerical tools concurrently with open source environments such as Python software. This availability of open source software offers an incredible opportunity for advancing teaching methodologies as well as in research. More specifically it is possible to correlate theoretical knowledge with experimental measurements using "virtual" experiments. We have been working on the development of numerical simulation tools using the Python program package and we have concentrated on geometric and physical optics simulations. The advantage of doing hands-on numerical experiments is that it allows the student learner to be an active participant in the pedagogical/learning process rather than playing a passive role as in the traditional lecture format. Even in laboratory classes because of constraints of space, lack of equipment and often-large numbers of students, many students play a passive role since they work in groups of 3 or more students. Furthermore these new tools help students get a handle on numerical methods as well simulations and impart a "feel" for the physics under investigation.

  12. TEACHING ALGORITHMIZATION AND PROGRAMMING USING PYTHON LANGUAGE

    Directory of Open Access Journals (Sweden)

    M. Lvov

    2014-07-01

    Full Text Available The article describes requirements to educational programming languages and considers the use of Python as the first programming language. The issues of introduction of this programming language into teaching and replacing Pascal by Python are examined. The advantages of such approach are regarded. The comparison of popular programming languages is represented from the point of view of their convenience of use for teaching algorithmization and programming. Python supports lots of programming paradigms: structural, object-oriented, functional, imperative and aspect-oriented, and learning can be started without any preparation. There is one more advantage of the language: all algorithms are written easily and structurally in Python. Therefore, due to all mentioned above, it is possible to affirm that Python pretends to become a decent replacement for educational programming language PASCAL both at schools and on the first courses of higher education establishments.

  13. Development of hemipenes in the ball python snake Python regius.

    Science.gov (United States)

    Leal, Francisca; Cohn, Martin J

    2015-01-01

    Within amniotes, external copulatory organs have undergone extensive morphological diversification. One of the most extreme examples is squamate (lizards and snakes) hemipenes, which are paired copulatory organs that extend from the lateral margins of the cloaca. Here, we describe the development of hemipenes in a basal snake, the ball python (Python regius). Snake hemipenes arise as a pair of lateral swellings on either side of the caudal part of the cloaca, and these paired outgrowths persist to form the left and right hemipenes. In non-squamate amniotes, external genitalia form from paired swellings that arise on the anterior side of the cloaca, which then fuse medially to form a single genital tubercle, the anlagen of the penis or clitoris. Whereas in non-squamate amniotes, Sonic hedgehog (Shh)-expressing cells of the cloacal endoderm form the urethral or sulcus epithelium and are required for phallus outgrowth, the hemipenes of squamates lack an endodermal contribution, and the sulcus does not express Shh. Thus, snake hemipenes differ from the genital tubercles of non-squamate amniotes both in their embryonic origins and in at least part of patterning mechanisms, which raises the possibility that hemipenes may not be direct homologs of the unpaired amniote penis. Nonetheless, we find that some developmental genes show similar expression patterns in snake hemipenes buds and non-squamate genital tubercles, suggesting that homologous developmental mechanisms are involved in aspects of external genital development across amniotes, even when these structures may have different developmental origins and may have arisen independently during evolution.

  14. Python : the holy grail of programming

    CERN Multimedia

    2006-01-01

    From 3 to 5 July, CERN hosted the fifth EuroPython Conference bringing together 300 users of Python, an open source programming language, which is more and more appreciated, especially at CERN. The local organisation of Euopython 2006 was managed by a small team from the PH/SFT group. Above, David Quarrie presenting the use of Python in Atlas analyses. If you visited Building 40 at the beginning of July, you may have come across a long orange and yellow snake. This had no relation with the Football World Championship! It was just the mascot of the fifth EuroPython Conference that saw almost 300 software developers, designers and business people gathering at CERN for the annual meeting of the European Python community. Python is an open source programming language actively used in industry and academia for a wide variety of purposes. As CERN decided to host this conference, it is perhaps not surprising to learn that Python is increasingly used in our Laboratory in both computing and physics application domai...

  15. Pyomo optimization modeling in Python

    CERN Document Server

    Hart, William E; Watson, Jean-Paul; Woodruff, David L; Hackebeil, Gabriel A; Nicholson, Bethany L; Siirola, John D

    2017-01-01

    This book provides a complete and comprehensive guide to Pyomo (Python Optimization Modeling Objects) for beginning and advanced modelers, including students at the undergraduate and graduate levels, academic researchers, and practitioners. Using many examples to illustrate the different techniques useful for formulating models, this text beautifully elucidates the breadth of modeling capabilities that are supported by Pyomo and its handling of complex real-world applications. This second edition provides an expanded presentation of Pyomo’s modeling capabilities, providing a broader description of the software that will enable the user to develop and optimize models. Introductory chapters have been revised to extend tutorials; chapters that discuss advanced features now include the new functionalities added to Pyomo since the first edition including generalized disjunctive programming, mathematical programming with equilibrium constraints, and bilevel programming. Pyomo is an open source software package fo...

  16. Test-beam with Python

    CERN Multimedia

    CERN. Geneva

    2016-01-01

    The talk will show the current implementation of the software tool developed by Silab (Bonn) and Oxford University to analyze test beam data with Mimosa telescope. Data collected from the telescope are merged with hits recorded on pixel detectors with a FE-I4 chips, the official read-out chip of the Atlas Pixel Detector. The software tool used to collect data, pyBAR, is developed with Python as well. The test-beam analysis tool parses the data-sets, recreates the tracks, aligns the telescope planes and allows to investigate the detectors spatial properties with high resolution. This has just allowed to study the properties of brand new devices that stand as possible candidate to replace the current pixel detector in Atlas.

  17. Beginning programming with Python for dummies

    CERN Document Server

    Mueller, John Paul

    2014-01-01

    Learn Python-the fun and easy way-and get in the programming game today! Python is one of the fastest growing programming languages, and no wonder. It requires three to five times less time than developing in Java, is a great building block for learning both procedural and object-oriented programming concepts, and is an ideal language for data analysis. Beginning Programming with Python For Dummies is the perfect guide to this dynamic and powerful programming language-even if you''ve never coded before! Author John Paul Mueller draws on his vast programming knowledge and experience to guide yo

  18. Building probabilistic graphical models with Python

    CERN Document Server

    Karkera, Kiran R

    2014-01-01

    This is a short, practical guide that allows data scientists to understand the concepts of Graphical models and enables them to try them out using small Python code snippets, without being too mathematically complicated. If you are a data scientist who knows about machine learning and want to enhance your knowledge of graphical models, such as Bayes network, in order to use them to solve real-world problems using Python libraries, this book is for you. This book is intended for those who have some Python and machine learning experience, or are exploring the machine learning field.

  19. Python-CPL: Python interface for the ESO Common Pipeline Library

    Science.gov (United States)

    Streicher, O.

    2016-12-01

    Python-CPL is a framework to configure and execute pipeline recipes written with the Common Pipeline Library (CPL) (ascl:1402.010) with Python2 or Python3. The input, calibration and output data can be specified as FITS files or as astropy.io.fits objects in memory. The package is used to implement the MUSE pipeline in the AstroWISE data management system.

  20. scikit-image: image processing in Python

    National Research Council Canada - National Science Library

    van der Walt, Stéfan; Schönberger, Johannes L; Nunez-Iglesias, Juan; Boulogne, François; Warner, Joshua D; Yager, Neil; Gouillart, Emmanuelle; Yu, Tony

    2014-01-01

    .... It is released under the liberal Modified BSD open source license, provides a well-documented API in the Python programming language, and is developed by an active, international team of collaborators...

  1. Python for probability, statistics, and machine learning

    CERN Document Server

    Unpingco, José

    2016-01-01

    This book covers the key ideas that link probability, statistics, and machine learning illustrated using Python modules in these areas. The entire text, including all the figures and numerical results, is reproducible using the Python codes and their associated Jupyter/IPython notebooks, which are provided as supplementary downloads. The author develops key intuitions in machine learning by working meaningful examples using multiple analytical methods and Python codes, thereby connecting theoretical concepts to concrete implementations. Modern Python modules like Pandas, Sympy, and Scikit-learn are applied to simulate and visualize important machine learning concepts like the bias/variance trade-off, cross-validation, and regularization. Many abstract mathematical ideas, such as convergence in probability theory, are developed and illustrated with numerical examples. This book is suitable for anyone with an undergraduate-level exposure to probability, statistics, or machine learning and with rudimentary knowl...

  2. Visualization of the CMS Python Configuration System

    CERN Document Server

    Erdmann, M; Hegner, B; Hinzmann, A; Klimkovich, T; Muller, G; Steggemann, J

    2010-01-01

    The job configuration system of the CMS experiment is based on the Python programming language. Software modules and their order of execution are both represented by Python objects. In order to investigate and verify configuration parameters and dependencies naturally appearing in modular software, CMS employs a graphical tool. This tool visualizes the configuration objects, their dependencies, and the information flow. Furthermore it can be used for documentation purposes. The underlying software concepts as well as the visualization are presented.

  3. Python 3 Web Development Beginner's Guide

    CERN Document Server

    Anders, Michel

    2011-01-01

    Part of Packt's Beginner's Guide Series, this book follows a sample application, with lots of screenshots, to help you get to grips with the techniques as quickly as possible. Moderately experienced Python programmers who want to learn how to create fairly complex, database-driven, cross browser compatible web apps that are maintainable and look good will find this book of most use. All key technologies except for Python 3 are explained in detail.

  4. Introduction to Python for CMF Authority Users

    Energy Technology Data Exchange (ETDEWEB)

    Pritchett-Sheats, Lori A. [Los Alamos National Lab. (LANL), Los Alamos, NM (United States)

    2017-03-14

    This talk is a very broad over view of Python that highlights key features in the language used in the Common Model Framework (CMF). I assume that the audience has some programming experience in a shell scripting language (C shell, Bash, PERL) or other high level language (C/C++/ Fortran). The talk will cover Python data types, classes (objects) and basic programming constructs. The talk concludes with slides describing how I developed the basic classes for a TITANS homework assignment.

  5. Apprendre à programmer avec Python

    CERN Document Server

    Swinnen, Gérard

    2009-01-01

    Quel meilleur choix pour apprendre la programmation qu'un langage moderne et élégant tel que Python, aussi bon pour le développement d'applications web que pour la réalisation de scripts système ou l'analyse de fichiers textuels ? Un support de cours réputé et adopté par de nombreux enseignants, avec 40 pages d'exercices corrigés Reconnu et utilisé par les enseignants de nombreuses écoles et IUT, complété d'exercices accompagnés de leurs corrigés, cet ouvrage original et érudit est une référence sur tous les fondamentaux de la programmation : choix d'une structure de données, paramétrage, modularité, orientation objet et héritage, conception d'interface, multithreading et gestion d'événements, protocoles de communication et gestion réseau, formulaires web et (GI, bases de données) jusqu'à la désormais indispensable norme Unicode (le format UTF-8).

  6. Claims of potential expansion throughout the U.S. by invasive python species are contradicted by ecological niche models.

    Directory of Open Access Journals (Sweden)

    R Alexander Pyron

    Full Text Available BACKGROUND: Recent reports from the United States Geological Survey (USGS suggested that invasive Burmese pythons in the Everglades may quickly spread into many parts of the U.S. due to putative climatic suitability. Additionally, projected trends of global warming were predicted to significantly increase suitable habitat and promote range expansion by these snakes. However, the ecological limitations of the Burmese python are not known and the possible effects of global warming on the potential expansion of the species are also unclear. METHODOLOGY/PRINCIPAL FINDINGS: Here we show that a predicted continental expansion is unlikely based on the ecology of the organism and the climate of the U.S. Our ecological niche models, which include variables representing climatic extremes as well as averages, indicate that the only suitable habitat in the U.S. for Burmese pythons presently occurs in southern Florida and in extreme southern Texas. Models based on the current distribution of the snake predict suitable habitat in essentially the only region in which the snakes are found in the U.S. Future climate models based on global warming forecasts actually indicate a significant contraction in suitable habitat for Burmese pythons in the U.S. as well as in their native range. CONCLUSIONS/SIGNIFICANCE: The Burmese python is strongly limited to the small area of suitable environmental conditions in the United States it currently inhabits due to the ecological niche preferences of the snake. The ability of the Burmese python to expand further into the U.S. is severely limited by ecological constraints. Global warming is predicted to significantly reduce the area of suitable habitat worldwide, underscoring the potential negative effects of climate change for many species.

  7. Claims of potential expansion throughout the U.S. by invasive python species are contradicted by ecological niche models.

    Science.gov (United States)

    Pyron, R Alexander; Burbrink, Frank T; Guiher, Timothy J

    2008-08-13

    Recent reports from the United States Geological Survey (USGS) suggested that invasive Burmese pythons in the Everglades may quickly spread into many parts of the U.S. due to putative climatic suitability. Additionally, projected trends of global warming were predicted to significantly increase suitable habitat and promote range expansion by these snakes. However, the ecological limitations of the Burmese python are not known and the possible effects of global warming on the potential expansion of the species are also unclear. Here we show that a predicted continental expansion is unlikely based on the ecology of the organism and the climate of the U.S. Our ecological niche models, which include variables representing climatic extremes as well as averages, indicate that the only suitable habitat in the U.S. for Burmese pythons presently occurs in southern Florida and in extreme southern Texas. Models based on the current distribution of the snake predict suitable habitat in essentially the only region in which the snakes are found in the U.S. Future climate models based on global warming forecasts actually indicate a significant contraction in suitable habitat for Burmese pythons in the U.S. as well as in their native range. The Burmese python is strongly limited to the small area of suitable environmental conditions in the United States it currently inhabits due to the ecological niche preferences of the snake. The ability of the Burmese python to expand further into the U.S. is severely limited by ecological constraints. Global warming is predicted to significantly reduce the area of suitable habitat worldwide, underscoring the potential negative effects of climate change for many species.

  8. Ultrasonographic anatomy of the coelomic organs of boid snakes (Boa constrictor imperator, Python regius, Python molurus molurus, and Python curtus).

    Science.gov (United States)

    Banzato, Tommaso; Russo, Elisa; Finotti, Luca; Milan, Maria C; Gianesella, Matteo; Zotti, Alessandro

    2012-05-01

    To determine the ultrasonographic features of the coelomic organs of healthy snakes belonging to the Boidae and Pythonidae families. 16 ball pythons (Python regius; 7 males, 8 females, and 1 sexually immature), 10 Indian rock pythons (Python molurus molurus; 5 males, 4 females, and 1 sexually immature), 12 Python curtus (5 males and 7 females), and 8 boa constrictors (Boa constrictor imperator; 4 males and 4 females). All snakes underwent complete ultrasonographic evaluation of the coelomic cavity; chemical restraint was not necessary. A dorsolateral approach to probe placement was chosen to increase image quality and to avoid injury to the snakes and operators. Qualitative and quantitative observations were recorded. The liver, stomach, gallbladder, pancreas, small and large intestines, kidneys, cloaca, and scent glands were identified in all snakes. The hemipenes were identified in 10 of the 21 (48%) male snakes. The spleen was identified in 5 of the 46 (11%) snakes, and ureters were identified in 6 (13%). In 2 sexually immature snakes, the gonads were not visible. One (2%) snake was gravid, and 7 (15%) had small amounts of free fluid in the coelomic cavity. A significant positive correlation was identified between several measurements (diameter and thickness of scent glands, gastric and pyloric walls, and colonic wall) and body length (snout to vent) and body weight. The study findings can be used as an atlas of the ultrasonographic anatomy of the coelomic cavity in healthy boid snakes. Ultrasonography was reasonably fast to perform and was well tolerated in conscious snakes.

  9. Identification and Characterization of Two Closely Related Unclassifiable Endogenous Retroviruses in Pythons (Python molurus and Python curtus)

    Science.gov (United States)

    Huder, Jon B.; Böni, Jürg; Hatt, Jean-Michel; Soldati, Guido; Lutz, Hans; Schüpbach, Jörg

    2002-01-01

    Boid inclusion body disease (BIBD) is a fatal disorder of boid snakes that is suspected to be caused by a retrovirus. In order to identify this agent, leukocyte cultures (established from Python molurus specimens with symptoms of BIBD or kept together with such diseased animals) were assessed for reverse transcriptase (RT) activity. Virus from cultures exhibiting high RT activity was banded on sucrose density gradients, and the RT peak fraction was subjected to highly efficient procedures for the identification of unknown particle-associated retroviral RNA. A 7-kb full retroviral sequence was identified, cloned, and sequenced. This virus contained intact open reading frames (ORFs) for gag, pro, pol, and env, as well as another ORF of unknown function within pol. Phylogenetic analysis showed that the virus is distantly related to viruses from both the B and D types and the mammalian C type but cannot be classified. It is present as a highly expressed endogenous retrovirus in all P. molurus individuals; a closely related, but much less expressed virus was found in all tested Python curtus individuals. All other boid snakes tested, including Python regius, Python reticulatus, Boa constrictor, Eunectes notaeus, and Morelia spilota, were virus negative, independent of whether they had BIBD or not. Virus isolated from P. molurus could not be transmitted to the peripheral blood mononuclear cells of B. constrictor or P. regius. Thus, there is no indication that this novel virus, which we propose to name python endogenous retrovirus (PyERV), is causally linked with BIBD. PMID:12097574

  10. The Python Interface to Antelope and Applications

    Science.gov (United States)

    Lindquist, K. G.; Clemesha, A.; Newman, R. L.; Vernon, F. L.

    2008-12-01

    The Antelope Environmental Monitoring System from Boulder Real-Time Technologies, Inc. (http://www.brtt.com) is widely used for acquiring, processing, distributing, and archiving near-real-time monitoring data, especially in seismological networks. We have contributed a new Python interface to the Antelope toolkit, paralleling other commercial and open-source language interfaces in Matlab, PHP, TCL/Tk, and C. The Python programming language (http://www.python.org) is well suited both to scientific computing applications and to interactive web-based applications. In the latter, Python serves as the programming interface through which to connect to standardized open-source frameworks. Community development of these frameworks has advanced in parallel with cross-browser standardization and increasing broadband data transfer rates, making web-based applications the defacto standard for platform-agnostic access to large, heterogeneous datasets. These web-based solutions are starting to mirror some of the capabilities of standard desktop-based applications. We describe the functionality of the new Python interface to Antelope, applications of the interface to the interactive exploration of time-series data on the web using the Twisted open-source framework, and web-based prototype tools developed for the Earthscope Array Network Facility to provide community access to network monitoring and seismic event datasets.

  11. An introduction to Python and computer programming

    CERN Document Server

    Zhang, Yue

    2015-01-01

    This book introduces Python programming language and fundamental concepts in algorithms and computing. Its target audience includes students and engineers with little or no background in programming, who need to master a practical programming language and learn the basic thinking in computer science/programming. The main contents come from lecture notes for engineering students from all disciplines, and has received high ratings. Its materials and ordering have been adjusted repeatedly according to classroom reception. Compared to alternative textbooks in the market, this book introduces the underlying Python implementation of number, string, list, tuple, dict, function, class, instance and module objects in a consistent and easy-to-understand way, making assignment, function definition, function call, mutability and binding environments understandable inside-out. By giving the abstraction of implementation mechanisms, this book builds a solid understanding of the Python programming language.

  12. Python for large-scale electrophysiology.

    Science.gov (United States)

    Spacek, Martin; Blanche, Tim; Swindale, Nicholas

    2008-01-01

    Electrophysiology is increasingly moving towards highly parallel recording techniques which generate large data sets. We record extracellularly in vivo in cat and rat visual cortex with 54-channel silicon polytrodes, under time-locked visual stimulation, from localized neuronal populations within a cortical column. To help deal with the complexity of generating and analysing these data, we used the Python programming language to develop three software projects: one for temporally precise visual stimulus generation ("dimstim"); one for electrophysiological waveform visualization and spike sorting ("spyke"); and one for spike train and stimulus analysis ("neuropy"). All three are open source and available for download (http://swindale.ecc.ubc.ca/code). The requirements and solutions for these projects differed greatly, yet we found Python to be well suited for all three. Here we present our software as a showcase of the extensive capabilities of Python in neuroscience.

  13. Python Bite: An Unusual Cause of Hand Injury

    National Research Council Canada - National Science Library

    Yak, Ryan Siqi; Lundin, Anna Carin; Peng, Yeong Pin; Sebastin, Sandeep Jacob

    We report a patient that sustained a severe hand injury following a python bite. Python bite injuries are rare and we were unable to find guidelines in literature regarding the management of this injury...

  14. MEG and EEG data analysis with MNE-Python

    National Research Council Canada - National Science Library

    Gramfort, Alexandre; Luessi, Martin; Larson, Eric; Engemann, Denis A; Strohmeier, Daniel; Brodbeck, Christian; Goj, Roman; Jas, Mainak; Brooks, Teon; Parkkonen, Lauri; Hämäläinen, Matti

    2013-01-01

    .... As part of the MNE software suite, MNE-Python is an open-source software package that addresses this challenge by providing state-of-the-art algorithms implemented in Python that cover multiple...

  15. Hemodynamic consequences of cardiac malformations in two juvenile ball pythons (Python regius).

    Science.gov (United States)

    Jensen, Bjarke; Wang, Tobias

    2009-12-01

    Two cases of bifid ventricles and cardiac malformations in juvenile ball python (Python regius) were investigated by blood pressure measurements and macro- and microscopic sectioning. A study of a normal ball python was included for reference. In both cases, all cardiac chambers were enlarged and abnormally shaped. Internal assessment of the ventricles revealed a pronounced defect of the muscular ridge, which normally is responsible for separating the systemic and pulmonary circuits. Consistent with the small muscular ridge, systolic pressures were identical in the pulmonary and systemic arteries, but, the snakes, nevertheless, lived to reach body weights severalfold of their hatchling weight.

  16. SymPy: symbolic computing in Python

    Directory of Open Access Journals (Sweden)

    Aaron Meurer

    2017-01-01

    Full Text Available SymPy is an open source computer algebra system written in pure Python. It is built with a focus on extensibility and ease of use, through both interactive and programmatic applications. These characteristics have led SymPy to become a popular symbolic library for the scientific Python ecosystem. This paper presents the architecture of SymPy, a description of its features, and a discussion of select submodules. The supplementary material provide additional examples and further outline details of the architecture and features of SymPy.

  17. Python for signal processing featuring IPython notebooks

    CERN Document Server

    Unpingco, José

    2013-01-01

    This book covers the fundamental concepts in signal processing illustrated with Python code and made available via IPython Notebooks, which are live, interactive, browser-based documents that allow one to change parameters, redraw plots, and tinker with the ideas presented in the text. Everything in the text is computable in this format and thereby invites readers to ""experiment and learn"" as they read. The book focuses on the core, fundamental principles of signal processing. The code corresponding to this book uses the core functionality of the scientific Python toolchain that should remai

  18. Next-Generation Web Frameworks in Python

    CERN Document Server

    Daly, Liza

    2007-01-01

    With its flexibility, readability, and maturecode libraries, Python is a naturalchoice for developing agile and maintainableweb applications. Severalframeworks have emerged in the last fewyears that share ideas with Ruby on Railsand leverage the expressive nature of Python.This Short Cut will tell you whatyou need to know about the hottest fullstackframeworks: Django, Pylons, andTurboGears. Their philosophies, relativestrengths, and development status aredescribed in detail. What you won't find out is, "Which oneshould I use?" The short answer is thatall of them can be used to build web appl

  19. Data Visualization within the Python ecosystem

    CERN Multimedia

    CERN. Geneva

    2016-01-01

    Data analysis is integral to what we do at CERN. Data visualization is at the foundation of this workflow and is also an important part of the python stack. Python's plotting ecosystem offers numerous open source solutions. These solutions can offer ease of use, detailed configuration, interactivity and web readiness. This talk will cover three of the most robust and supported packages, matplotlib, bokeh, and plotly. It aims to provide an overview of these packages. In addition, give suggestions to where these tools might fit in an analysis workflow.

  20. Building machine learning systems with Python

    CERN Document Server

    Richert, Willi

    2013-01-01

    This is a tutorial-driven and practical, but well-grounded book showcasing good Machine Learning practices. There will be an emphasis on using existing technologies instead of showing how to write your own implementations of algorithms. This book is a scenario-based, example-driven tutorial. By the end of the book you will have learnt critical aspects of Machine Learning Python projects and experienced the power of ML-based systems by actually working on them.This book primarily targets Python developers who want to learn about and build Machine Learning into their projects, or who want to pro

  1. Raspberry Pi cookbook for Python programmers

    CERN Document Server

    Cox, Tim

    2014-01-01

    ""Raspberry Pi Cookbook for Python Programmers"" is written in a Cookbook format, presenting examples in the style of recipes.This allows you to go directly to your topic of interest, or follow topics throughout a chapter to gain a thorough in-depth knowledge.The aim of this book is to bring you a broad range of Python 3 examples and practical ideas which you can develop to suit your own requirements. By modifying and combining the examples to create your own projects you learn far more effectively with a much greater understanding. Each chapter is designed to become a foundation for further e

  2. DeepPy: Pythonic deep learning

    DEFF Research Database (Denmark)

    Larsen, Anders Boesen Lindbo

    This technical report introduces DeepPy – a deep learning framework built on top of NumPy with GPU acceleration. DeepPy bridges the gap between highperformance neural networks and the ease of development from Python/NumPy. Users with a background in scientific computing in Python will quickly...... be able to understand and change the DeepPy codebase as it is mainly implemented using high-level NumPy primitives. Moreover, DeepPy supports complex network architectures by letting the user compose mathematical expressions as directed graphs. The latest version is available at http...

  3. Python passive network mapping P2NMAP

    CERN Document Server

    Hosmer, Chet

    2015-01-01

    Python Passive Network Mapping: P2NMAP is the first book to reveal a revolutionary and open source method for exposing nefarious network activity. The ""Heartbleed"" vulnerability has revealed significant weaknesses within enterprise environments related to the lack of a definitive mapping of network assets. In Python Passive Network Mapping, Chet Hosmer shows you how to effectively and definitively passively map networks. Active or probing methods to network mapping have traditionally been used, but they have many drawbacks - they can disrupt operations, crash systems, and - most important

  4. Programming ArcGIS 10.1 with Python cookbook

    CERN Document Server

    Pimpler, Eric

    2013-01-01

    This book is written in a helpful, practical style with numerous hands-on recipes and chapters to help you save time and effort by using Python to power ArcGIS to create shortcuts, scripts, tools, and customizations.""Programming ArcGIS 10.1 with Python Cookbook"" is written for GIS professionals who wish to revolutionize their ArcGIS workflow with Python. Basic Python or programming knowledge is essential(?).

  5. Python for Education: The Exact Cover Problem

    Directory of Open Access Journals (Sweden)

    2011-06-01

    Full Text Available

    Python implementation of Algorithm X by Knuth is presented.
    Algorithm X finds all solutions to the exact cover problem.
    The exemplary results for pentominoes, Latin squares and Sudoku
    are given.

  6. TensorLy: Tensor Learning in Python

    NARCIS (Netherlands)

    Kossaifi, Jean; Panagakis, Yannis; Pantic, Maja

    2016-01-01

    Tensor methods are gaining increasing traction in machine learning. However, there are scant to no resources available to perform tensor learning and decomposition in Python. To answer this need we developed TensorLy. TensorLy is a state of the art general purpose library for tensor learning.

  7. A Gene Ontology Tutorial in Python.

    Science.gov (United States)

    Vesztrocy, Alex Warwick; Dessimoz, Christophe

    2017-01-01

    This chapter is a tutorial on using Gene Ontology resources in the Python programming language. This entails querying the Gene Ontology graph, retrieving Gene Ontology annotations, performing gene enrichment analyses, and computing basic semantic similarity between GO terms. An interactive version of the tutorial, including solutions, is available at http://gohandbook.org .

  8. PyXNAT: XNAT in Python

    Directory of Open Access Journals (Sweden)

    Yannick eSchwartz

    2012-05-01

    Full Text Available As neuroimaging databases grow in size and complexity, the time researchers spend investigating and managing the data increases to the expense of data analysis. As a result, investigators rely more and more heavily on scripting using high-level languages to automate data management and processing tasks. For this, a structured and programatic access to the data store is necessary. Web services are a first step toward this goal. They however lack in functionality and ease of use because they provide only low level interfaces to databases. We introduce here {PyXNAT}, a Python module that interacts with The Extensible Neuroimaging Archive Toolkit (XNAT through native Python calls across multiple operating systems. The choice of Python enables {PyXNAT} to expose the XNAT Web Services and unify their features with a higher level and more expressive language. {PyXNAT} provides XNAT users direct access to all the scientific packages in Python. Finally {PyXNAT} aims to be efficient and easy to use, both as a backend library to build XNAT clients and as an alternative frontend from the command line.

  9. PyXNAT: XNAT in Python.

    Science.gov (United States)

    Schwartz, Yannick; Barbot, Alexis; Thyreau, Benjamin; Frouin, Vincent; Varoquaux, Gaël; Siram, Aditya; Marcus, Daniel S; Poline, Jean-Baptiste

    2012-01-01

    As neuroimaging databases grow in size and complexity, the time researchers spend investigating and managing the data increases to the expense of data analysis. As a result, investigators rely more and more heavily on scripting using high-level languages to automate data management and processing tasks. For this, a structured and programmatic access to the data store is necessary. Web services are a first step toward this goal. They however lack in functionality and ease of use because they provide only low-level interfaces to databases. We introduce here PyXNAT, a Python module that interacts with The Extensible Neuroimaging Archive Toolkit (XNAT) through native Python calls across multiple operating systems. The choice of Python enables PyXNAT to expose the XNAT Web Services and unify their features with a higher level and more expressive language. PyXNAT provides XNAT users direct access to all the scientific packages in Python. Finally PyXNAT aims to be efficient and easy to use, both as a back-end library to build XNAT clients and as an alternative front-end from the command line.

  10. Bactome, I: Python in DNA Fingerprinting

    Directory of Open Access Journals (Sweden)

    2010-09-01

    Full Text Available Bactome is a collection of Python functions to find primers suitable for DNA fingerprinting, determine restriction digestion profile, and analyse the resulting DNA fingerprint features as migration distance of the bands in gel electrophoresis. An actual use case will be presented as a case study. These codes are licensed under Lesser General Public Licence version 3.

  11. Python Classes for Numerical Solution of PDE's

    CERN Document Server

    Mushtaq, Asif; Olaussen, Kåre

    2015-01-01

    We announce some Python classes for numerical solution of partial differential equations, or boundary value problems of ordinary differential equations. These classes are built on routines in \\texttt{numpy} and \\texttt{scipy.sparse.linalg} (or \\texttt{scipy.linalg} for smaller problems).

  12. The Zoonotic Implications of Pentastomiasis in the Royal Python (Python Regius)

    OpenAIRE

    Ayinmode, AB; Adedokun, AO; Aina, A; Taiwo, V

    2010-01-01

    Pentastomes are worm-like endoparasites of the phylum Pentastomida found principally in the respiratory tract of reptiles, birds, and mammals. They cause a zoonotic disease known as pentastomiasis in humans and other mammals. The autopsy of a Nigerian royal python (Python regius) revealed two yellowish-white parasites in the lungs, tissue necrosis and inflammatory lesions. The parasite was confirmed to be Armillifer spp (Pentastomid); this is the first recorded case of pentastomiasis in the r...

  13. Size, but not experience, affects the ontogeny of constriction performance in ball pythons (Python regius).

    Science.gov (United States)

    Penning, David A; Dartez, Schuyler F

    2016-03-01

    Constriction is a prey-immobilization technique used by many snakes and is hypothesized to have been important to the evolution and diversification of snakes. However, very few studies have examined the factors that affect constriction performance. We investigated constriction performance in ball pythons (Python regius) by evaluating how peak constriction pressure is affected by snake size, sex, and experience. In one experiment, we tested the ontogenetic scaling of constriction performance and found that snake diameter was the only significant factor determining peak constriction pressure. The number of loops applied in a coil and its interaction with snake diameter did not significantly affect constriction performance. Constriction performance in ball pythons scaled differently than in other snakes that have been studied, and medium to large ball pythons are capable of exerting significantly higher pressures than those shown to cause circulatory arrest in prey. In a second experiment, we tested the effects of experience on constriction performance in hatchling ball pythons over 10 feeding events. By allowing snakes in one test group to gain constriction experience, and manually feeding snakes under sedation in another test group, we showed that experience did not affect constriction performance. During their final (10th) feedings, all pythons constricted similarly and with sufficiently high pressures to kill prey rapidly. At the end of the 10 feeding trials, snakes that were allowed to constrict were significantly smaller than their non-constricting counterparts. © 2016 Wiley Periodicals, Inc.

  14. Gala: A Python package for galactic dynamics

    Science.gov (United States)

    Price-Whelan, Adrian M.

    2017-10-01

    Gala is an Astropy-affiliated Python package for galactic dynamics. Python enables wrapping low-level languages (e.g., C) for speed without losing flexibility or ease-of-use in the user-interface. The API for Gala was designed to provide a class-based and user-friendly interface to fast (C or Cython-optimized) implementations of common operations such as gravitational potential and force evaluation, orbit integration, dynamical transformations, and chaos indicators for nonlinear dynamics. Gala also relies heavily on and interfaces well with the implementations of physical units and astronomical coordinate systems in the Astropy package (astropy.units and astropy.coordinates). Gala was designed to be used by both astronomical researchers and by students in courses on gravitational dynamics or astronomy. It has already been used in a number of scientific publications and has also been used in graduate courses on Galactic dynamics to, e.g., provide interactive visualizations of textbook material.

  15. Meteor Shower Identification and Characterization with Python

    Science.gov (United States)

    Moorhead, Althea

    2015-01-01

    The short development time associated with Python and the number of astronomical packages available have led to increased usage within NASA. The Meteoroid Environment Office in particular uses the Python language for a number of applications, including daily meteor shower activity reporting, searches for potential parent bodies of meteor showers, and short dynamical simulations. We present our development of a meteor shower identification code that identifies statistically significant groups of meteors on similar orbits. This code overcomes several challenging characteristics of meteor showers such as drastic differences in uncertainties between meteors and between the orbital elements of a single meteor, and the variation of shower characteristics such as duration with age or planetary perturbations. This code has been proven to successfully and quickly identify unusual meteor activity such as the 2014 kappa Cygnid outburst. We present our algorithm along with these successes and discuss our plans for further code development.

  16. Python for Collective Intelligence and Collaborative Filtering

    Directory of Open Access Journals (Sweden)

    2010-09-01

    Full Text Available This paper will define the two terms Collective Intelligence and Collaborative Filtering and discuss how these two ideas can be used to create personally relevant filters allowing end users more personalized access to information on their chosen topics of interest.  In addition various mathematical models used to filter data and compare preferences and their corresponding pythonic implementations will be discussed.  Finally a simple example using web API’s and Collective Intelligence algorithms will be demonstrated to provide an idea of the type of things that can be achieved, relatively easily, using python for Collective Intelligence and Collaborative Filtering.  This short abstract will be accompanied by a talk given at PyCon Asia 2010.

  17. Transliterating non-ASCII characters with Python

    Directory of Open Access Journals (Sweden)

    Seth Bernstein

    2013-10-01

    Full Text Available This lesson shows how to use Python to transliterate automatically a list of words from a language with a non-Latin alphabet to a standardized format using the American Standard Code for Information Interchange (ASCII characters. It builds on readers’ understanding of Python from the lessons “Viewing HTML Files,” “Working with Web Pages,” “From HTML to List of Words (part 1” and “Intro to Beautiful Soup.” At the end of the lesson, we will use the transliteration dictionary to convert the names from a database of the Russian organization Memorial from Cyrillic into Latin characters. Although the example uses Cyrillic characters, the technique can be reproduced with other alphabets using Unicode.

  18. MGtoolkit: A python package for implementing metagraphs

    Directory of Open Access Journals (Sweden)

    D. Ranathunga

    2017-01-01

    Full Text Available In this paper we present MGtoolkit : an open-source Python package for implementing metagraphs - a first of its kind. Metagraphs are commonly used to specify and analyse business and computer-network policies alike. MGtoolkit can help verify such policies and promotes learning and experimentation with metagraphs. The package currently provides purely textual output for visualising metagraphs and their analysis results.

  19. MTpy: A Python toolbox for magnetotellurics

    Science.gov (United States)

    Krieger, Lars; Peacock, Jared R.

    2014-01-01

    We present the software package MTpy that allows handling, processing, and imaging of magnetotelluric (MT) data sets. Written in Python, the code is open source, containing sub-packages and modules for various tasks within the standard MT data processing and handling scheme. Besides the independent definition of classes and functions, MTpy provides wrappers and convenience scripts to call standard external data processing and modelling software.

  20. Osteosarcoma in a woma python (Aspidites ramsayi).

    Science.gov (United States)

    Cowan, M L; Monks, D J; Raidal, S R

    2011-12-01

    Osteosarcoma of the axial skeleton in an 18-month-old woma python (Aspidites ramsayi) is described. A subcutaneous mass overlying the costal arches enlarged progressively over a period of 5 months and, in that time, became ulcerated and more invasive of surrounding tissues. A punch biopsy of the lesion under general anaesthesia provided tissue for histopathology and diagnosis of low-grade osteosarcoma. © 2011 The Authors. Australian Veterinary Journal © 2011 Australian Veterinary Association.

  1. Implementation of Kalman Filter with Python Language

    OpenAIRE

    Laaraiedh, Mohamed

    2009-01-01

    International audience; In this paper, we investigate the implementation of a Python code for a Kalman Filter using the Numpy package. A Kalman Filtering is carried out in two steps: Prediction and Update. Each step is investigated and coded as a function with matrix input and output. These different functions are explained and an example of a Kalman Filter application for the localization of mobile in wireless networks is given.

  2. Saccular lung cannulation in a ball python (Python regius) to treat a tracheal obstruction.

    Science.gov (United States)

    Myers, Debbie A; Wellehan, James F X; Isaza, Ramiro

    2009-03-01

    An adult male ball python (Python regius) presented in a state of severe dyspnea characterized by open-mouth breathing and vertical positioning of the head and neck. The animal had copious discharge in the tracheal lumen acting as an obstruction. A tube was placed through the body wall into the caudal saccular aspect of the lung to allow the animal to breathe while treatment was initiated. The ball python's dyspnea immediately improved. Diagnostics confirmed a bacterial respiratory infection with predominantly Providencia rettgeri. The saccular lung (air sac) tube was removed after 13 days. Pulmonary endoscopy before closure showed minimal damage with a small amount of hemorrhage in the surrounding muscle tissue. Respiratory disease is a common occurrence in captive snakes and can be associated with significant morbidity and mortality. Saccular lung cannulation is a relatively simple procedure that can alleviate tracheal narrowing or obstruction, similar to air sac cannulation in birds.

  3. The Virtual Observatory for the Python Programmer

    Science.gov (United States)

    Plante, Raymond L.; Fitzpatrick, M. J.; Graham, M.; Tody, D.; Virtual Astronomical Observatory, US

    2014-01-01

    The web of astronomical data centers that we refer to as the virtual observatory (VO) has led to the development of a variety of web and desktop applications that can discover and download data from most archives around the world. These are made possible by standard interfaces which archives provide and the applications understand that provide a common way to search for information and retrieve discovered datasets. For some applications, retrieving data through the VO is simply an extra feature that enhances the main purpose of the tool. Despite the accessibility to VO data provided by such tools, the VO offers greater flexibility to developers that access the standard services directly within their own software. This applies not only to those who build tools but also to research astronomers that create highly-customized scripts for data analysis. One of the goals of the US Virtual Astronomical Observatory (VAO) project is to make the VO more accessible to both tool developers and astronomer-programmers. To this end, we announce the release of two products with a special focus on supporting access to the VO via Python. PyVO (http://dev.usvao.org/pyvo) is a pure Python library built on Astropy (astropy.org) that can be used to discover data in the VO. In particular, one can search the registry for archives with data, search archives for images and spectra, and query remote catalogs and spectral line databases. While it provides full support for the VO standards, its API is designed to make processing the most common types of queries simple without requiring knowledge about the underlying standards. It also makes available the full power of Astropy for processing tabular information. VOClient (http://dev.usvao.org/voclient), which provides scripting and programming libraries for a variety of languages, also supports Python programming. While the two products share a common API, VOClient provides higher level interfaces that assist with managing data from many

  4. Subspectacular nematodiasis caused by a novel Serpentirhabdias species in ball pythons (Python regius).

    Science.gov (United States)

    Hausmann, J C; Mans, C; Dreyfus, J; Reavill, D R; Lucio-Forster, A; Bowman, D D

    2015-01-01

    Subspectacular nematodiasis was diagnosed in three captive-bred juvenile ball pythons (Python regius) from two unrelated facilities within a 6-month period. The snakes were presented with similar lesions, including swelling of facial, periocular and oral tissues. Bilaterally, the subspectacular spaces were distended and filled with an opaque fluid, which contained nematodes and eggs. Histopathology showed nematodes throughout the periocular tissue, subspectacular space and subcutaneous tissue of the head. The nematodes from both facilities were morphologically indistinguishable and most closely resembled Serpentirhabdias species. Morphological characterization and genetic sequencing indicate this is a previously undescribed rhabdiasid nematode. Copyright © 2014 Elsevier Ltd. All rights reserved.

  5. Using machine translation for converting Python 2 to Python 3 code

    OpenAIRE

    Aggarwal, Karan; Salameh, Mohammad; Hindle, Abram

    2015-01-01

    In this paper, we have tried to use statistical machine translation in order to convert Python 2 code to Python 3 code. We use data from two projects and achieve a high BLEU score. We also investigate the cross-project training and testing to analyze the errors so as to ascertain differences with previous case. We have described a pilot study on modeling programming languages as natural language to build translation models on the lines of natural languages. This can be further worked on to tr...

  6. Pro Android Python with SL4A Writing Android Native Apps Using Python, Lua, and Beanshell

    CERN Document Server

    Ferrill, Paul

    2011-01-01

    Pro Android Python with SL4A is for programmers and hobbyists who want to write apps for Android devices without having to learn Java first. Paul Ferrill leads you from installing the Scripting Layer for Android (SL4A) to writing small scripts, to more complicated and interesting projects, and finally to uploading and packaging your programs to an Android device. Android runs scripts in many scripting languages, but Python, Lua, and Beanshell are particularly popular. Most programmers know more than one programming language, so that they have the best tool for whatever task they want to accomp

  7. Accelerating wave propagation modeling in the frequency domain using Python

    Science.gov (United States)

    Jo, Sang Hoon; Park, Min Jun; Ha, Wan Soo

    2017-04-01

    Python is a dynamic programming language adopted in many science and engineering areas. We used Python to simulate wave propagation in the frequency domain. We used the Pardiso matrix solver to solve the impedance matrix of the wave equation. Numerical examples shows that Python with numpy consumes longer time to construct the impedance matrix using the finite element method when compared with Fortran; however we could reduce the time significantly to be comparable to that of Fortran using a simple Numba decorator.

  8. Machine learning in Python essential techniques for predictive analysis

    CERN Document Server

    Bowles, Michael

    2015-01-01

    Learn a simpler and more effective way to analyze data and predict outcomes with Python Machine Learning in Python shows you how to successfully analyze data using only two core machine learning algorithms, and how to apply them using Python. By focusing on two algorithm families that effectively predict outcomes, this book is able to provide full descriptions of the mechanisms at work, and the examples that illustrate the machinery with specific, hackable code. The algorithms are explained in simple terms with no complex math and applied using Python, with guidance on algorithm selection, d

  9. Re-imagining a Stata/Python Combination

    Science.gov (United States)

    Fiedler, James

    2013-01-01

    At last year's Stata Conference, I presented some ideas for combining Stata and the Python programming language within a single interface. Two methods were presented: in one, Python was used to automate Stata; in the other, Python was used to send simulated keystrokes to the Stata GUI. The first method has the drawback of only working in Windows, and the second can be slow and subject to character input limits. In this presentation, I will demonstrate a method for achieving interaction between Stata and Python that does not suffer these drawbacks, and I will present some examples to show how this interaction can be useful.

  10. Procjena složenosti programa u Python jeziku

    OpenAIRE

    Misra, Sanjay; Cafer, Ferid

    2011-01-01

    U ovom radu formulirana je metrička složenost za jezik Python. Budući je Python objektno orijentiran jezik, postojeća metričnost je u stanju procijeniti bilo koji objektno usmjeren jezik. Potvrđujemo našu metričnost studijom slučaja, usporednom studijom i empirijskom provjerom valjanosti. Studija slučaja je u Python, Java i C ++ jeziku, a rezultati pokazuju da je Python bolji od ostalih objektno orijentiranih jezika. Kasnije smo provjerili metričnost empirijski sa stvarnim projektom, koji je ...

  11. Ureka: A Distribution of Python and IRAF Software for Astronomy

    Science.gov (United States)

    Hirst, P.; Slocum, C.; Turner, J.; Sienkiewicz, M.; Greenfield, P.; Hogan, E.; Simpson, M.; Labrie, K.

    2014-05-01

    As astronomical data processing expands from our historical platforms into modern Python applications, users are faced with installing and maintaining large numbers of heterogeneous dependencies. A handful of scientific Python distributions make installing key packages easy, but don't cater for specific needs such as integration with IRAF. We have therefore recently released a beta version of a new astronomical software distribution for Linux and OSX, known as Ureka. Ureka is based around STScI Python and dependencies, notably Python, NumPy, IRAF, SciPy, AstroPy, Matplotlib and Tk. It also contains data reduction packages for Gemini, HST, JWST and other observatories, alongside various complementary tools.

  12. Trypanosoma cf. varani in an imported ball python (Python reginus) from Ghana.

    Science.gov (United States)

    Sato, Hiroshi; Takano, Ai; Kawabata, Hiroki; Une, Yumi; Watanabe, Haruo; Mukhtar, Maowia M

    2009-08-01

    Peripheral blood from a ball python (Python reginus) imported from Ghana was cultured in Barbour-Stoenner-Kelly (BSK) medium for Borrelia spp. isolation, resulting in the prominent appearance of free, and clusters of, trypanosomes in a variety of morphological forms. The molecular phylogenetic characterization of these cultured trypanosomes, using the small subunit rDNA, indicated that this python was infected with a species closely related to Trypanosoma varani Wenyon, 1908, originally described in the Nile monitor lizard (Varanus niloticus) from Sudan. Furthermore, nucleotide sequences of glycosomal glyceraldehyde-3-phosphate dehydrogenase gene of both isolates showed few differences. Giemsa-stained blood smears, prepared from the infected python 8 mo after the initial observation of trypanosomes in hemoculture, contained trypomastigotes with a broad body and a short, free flagellum; these most closely resembled the original description of T. varani, or T. voltariae Macfie, 1919 recorded in a black-necked spitting cobra (Naja nigricollis) from Ghana. It is highly possible that lizards and snakes could naturally share an identical trypanosome species. Alternatively, lizards and snakes in the same region might have closely related, but distinct, Trypanosoma species as a result of sympatric speciation. From multiple viewpoints, including molecular phylogenetic analyses, reappraisal of trypanosome species from a wide range of reptiles in Africa is needed to clarify the relationship of recorded species, or to unmask unrecorded species.

  13. A postmortem experience of Indian rock python (Python molurus molurus that swallowed a whole barking deer

    Directory of Open Access Journals (Sweden)

    Amam Zonaed Siddiki

    2013-06-01

    Full Text Available The object of this study was to report a post mortem findings of a female Indian Rock Python with a length of 406 cm (13.32 feet and approximate weight of 60 kg (including a whole deer that was swallowed by the python, that was brought to the Teaching Veterinary Hospital, Chittagong Veterinary and Animal Sciences University (CVASU by the Forest Department of Kumira Range Office, Chittagong. The local inhabitants accidently found the python at the forest area of Kumira and they frightenedly injured and killed the snake eventually. The postmortem (PM examination was performed according to standard protocols. Gross examination revealed bloody discharge was come out through mouth and a couple of skin lacerations observed on the right dorso-lateral part of the abdominal region. The whole barrel-shaped body cavity was opened and whole deer (partially decomposed was recovered from the stomach. Furthermore, three fractured ribs were found on right thorax. The PM examination team believes that the possible cause of python death was traumatic injury inflicted by the local people. [Vet World 2013; 6(3.000: 163-165

  14. Ball python nidovirus: a candidate etiologic agent for severe respiratory disease in Python regius.

    Science.gov (United States)

    Stenglein, Mark D; Jacobson, Elliott R; Wozniak, Edward J; Wellehan, James F X; Kincaid, Anne; Gordon, Marcus; Porter, Brian F; Baumgartner, Wes; Stahl, Scott; Kelley, Karen; Towner, Jonathan S; DeRisi, Joseph L

    2014-09-09

    A severe, sometimes fatal respiratory disease has been observed in captive ball pythons (Python regius) since the late 1990s. In order to better understand this disease and its etiology, we collected case and control samples and performed pathological and diagnostic analyses. Electron micrographs revealed filamentous virus-like particles in lung epithelial cells of sick animals. Diagnostic testing for known pathogens did not identify an etiologic agent, so unbiased metagenomic sequencing was performed. Abundant nidovirus-like sequences were identified in cases and were used to assemble the genome of a previously unknown virus in the order Nidovirales. The nidoviruses, which were not previously known to infect nonavian reptiles, are a diverse order that includes important human and veterinary pathogens. The presence of the viral RNA was confirmed in all diseased animals (n = 8) but was not detected in healthy pythons or other snakes (n = 57). Viral RNA levels were generally highest in the lung and other respiratory tract tissues. The 33.5-kb viral genome is the largest RNA genome yet described and shares canonical characteristics with other nidovirus genomes, although several features distinguish this from related viruses. This virus, which we named ball python nidovirus (BPNV), will likely establish a new genus in Torovirinae subfamily. The identification of a novel nidovirus in reptiles contributes to our understanding of the biology and evolution of related viruses, and its association with lung disease in pythons is a promising step toward elucidating an etiology for this long-standing veterinary disease. Ball pythons are popular pets because of their diverse coloration, generally nonaggressive behavior, and relatively small size. Since the 1990s, veterinarians have been aware of an infectious respiratory disease of unknown cause in ball pythons that can be fatal. We used unbiased shotgun sequencing to discover a novel virus in the order Nidovirales that was

  15. pyparty: Intuitive Particle Processing in Python

    Directory of Open Access Journals (Sweden)

    Adam S Hughes

    2014-09-01

    Full Text Available pyparty complements image processing workflows by providing utilities for drawing, manipulating and quantifying blob features in 2d-images. pyparty is built around the scientific Python stack, designed especially for compatibility with scikit-image. After a brief introduction, characterization and construction of faux nanoparticle images are provided. The source, documentation and more examples are available at https://github.com/hugadams/pyparty. pyparty is released under an open BSD 3-Clause License and support is available through pyparty@googlegroups.com

  16. Scikit-spectra: Explorative Spectroscopy in Python

    Directory of Open Access Journals (Sweden)

    Adam Hughes

    2015-06-01

    Full Text Available Scikit-spectra is an intuitive framework for explorative spectroscopy in Python. Scikit-spectra leverages the Pandas library for powerful data processing to provide datastructures and an API designed for spectroscopy. Utilizing the new IPython Notebook widget system, scikit-spectra is headed towards a GUI when you want it, API when you need it approach to spectral analysis. As an application, analysis is presented of the surface-plasmon resonance shift in a solution of gold nanoparticles induced by proteins binding to the gold’s surface. Please refer to the scikit-spectra website for full documentation and support: http://hugadams.github.io/scikit-spectra/

  17. Computational physics problem solving with Python

    CERN Document Server

    Landau, Rubin H; Bordeianu, Cristian C

    2015-01-01

    The use of computation and simulation has become an essential part of the scientific process. Being able to transform a theory into an algorithm requires significant theoretical insight, detailed physical and mathematical understanding, and a working level of competency in programming. This upper-division text provides an unusually broad survey of the topics of modern computational physics from a multidisciplinary, computational science point of view. Its philosophy is rooted in learning by doing (assisted by many model programs), with new scientific materials as well as with the Python progr

  18. scikit-image: image processing in Python

    Directory of Open Access Journals (Sweden)

    Stéfan van der Walt

    2014-06-01

    Full Text Available scikit-image is an image processing library that implements algorithms and utilities for use in research, education and industry applications. It is released under the liberal Modified BSD open source license, provides a well-documented API in the Python programming language, and is developed by an active, international team of collaborators. In this paper we highlight the advantages of open source to achieve the goals of the scikit-image library, and we showcase several real-world image processing applications that use scikit-image. More information can be found on the project homepage, http://scikit-image.org.

  19. scikit-image: image processing in Python.

    Science.gov (United States)

    van der Walt, Stéfan; Schönberger, Johannes L; Nunez-Iglesias, Juan; Boulogne, François; Warner, Joshua D; Yager, Neil; Gouillart, Emmanuelle; Yu, Tony

    2014-01-01

    scikit-image is an image processing library that implements algorithms and utilities for use in research, education and industry applications. It is released under the liberal Modified BSD open source license, provides a well-documented API in the Python programming language, and is developed by an active, international team of collaborators. In this paper we highlight the advantages of open source to achieve the goals of the scikit-image library, and we showcase several real-world image processing applications that use scikit-image. More information can be found on the project homepage, http://scikit-image.org.

  20. Testing Apache Modules with Python and Ctypes

    OpenAIRE

    Litz, Markus

    2009-01-01

    Writing tests for your Apache module is often a developer's least favourite task, especially if you don't like using the Perl Apache Testing Framework! One of the main reasons for this is that it's difficult to test your C code on-the-fly without a running Apache server. Using ctypes, you can test your modules without a running httpd, just by writing and using simple Python scripts! In this talk we will look at how to compile a specific version of the Apache webserver for testing, and how to ...

  1. PYTHON-based Physics Analysis Environment for LHCb

    CERN Document Server

    Belyaev, I; Mato, P; Barrand, G; Tsaregorodtsev, A; de Oliveira, E

    2004-01-01

    BENDER is the PYTHON based physics analysis application for LHCb. It combines the best features of the underlying GAUDI software architecture with the flexibility of the PYTHON scripting language and provides end-users with a friendly physics analysis oriented environment.

  2. Reimplementing a Multi-Agent System in Python

    DEFF Research Database (Denmark)

    Villadsen, Jørgen; Jensen, Andreas Schmidt; Ettienne, Mikko Berggren

    2013-01-01

    We provide a brief description of our Python-DTU system, including the overall design, the tools and the algorithms that we used in the Multi-Agent Programming Contest 2012, where the scenario was called Agents on Mars like in 2011. Our solution is an improvement of our Python-DTU system from last...

  3. pupyMPI - MPI implemented in pure Python

    DEFF Research Database (Denmark)

    Bromer, Rune; Hantho, Frederik; Vinter, Brian

    2011-01-01

    As distributed memory systems have become common, the de facto standard for communication is still the Message Passing Interface (MPI). pupyMPI is a pure Python implementation of a broad subset of the MPI 1.3 specifications that allows Python programmers to utilize multiple CPUs with datatypes...

  4. Reimplementing a Multi-Agent System in Python

    DEFF Research Database (Denmark)

    Villadsen, Jørgen; Jensen, Andreas Schmidt; Ettienne, Mikko Berggren

    2012-01-01

    We provide a brief description of our Python-DTU system, including the overall design, the tools and the algorithms that we used in the Multi-Agent Programming Contest 2012, where the scenario was called Agents on Mars like in 2011. Our solution is an improvement of our Python-DTU system from last...

  5. SpiceyPy, a Python Wrapper for SPICE

    Science.gov (United States)

    Annex, A.

    2017-06-01

    SpiceyPy is an open source Python wrapper for the NAIF SPICE toolkit. It is available for macOS, Linux, and Windows platforms and for Python versions 2.7.x and 3.x as well as Anaconda. SpiceyPy can be installed by running: “pip install spiceypy.”

  6. Pyndri: a Python Interface to the Indri Search Engine

    NARCIS (Netherlands)

    Van Gysel, C.; Kanoulas, E.; de Rijke, M.; Jose, J.M.; Hauff, C.; Altıngovde, I.S.; Song, D.; Albakour, D.; Watt, S.; Tait, J.

    2017-01-01

    We introduce pyndri, a Python interface to the Indri search engine. Pyndri allows to access Indri indexes from Python at two levels: (1) dictionary and tokenized document collection, (2) evaluating queries on the index. We hope that with the release of pyndri, we will stimulate reproducible, open

  7. The zoonotic implications of pentastomiasis in the royal python ...

    African Journals Online (AJOL)

    The parasite was confirmed to be Armillifer spp (Pentastomid); this is the first recorded case of pentastomiasis in the royal python (Python regius) in Nigeria. This report may be an alert of the possibility of on-going zoonotic transmission of pentastomiasis from snake to man, especially in the sub-urban/rural areas of Nigeria ...

  8. MEG and EEG data analysis with MNE-Python

    Directory of Open Access Journals (Sweden)

    Alexandre eGramfort

    2013-12-01

    Full Text Available Magnetoencephalography and electroencephalography (M/EEG measure the weakelectromagnetic signals generated by neuronal activity in the brain. Using thesesignals to characterize and locate neural activation in the brain is achallenge that requires expertise in physics, signalprocessing, statistics, and numerical methods. As part of the MNE softwaresuite, MNE-Python is an open-sourcesoftware package that addresses this challenge by providingstate-of-the-art algorithms implemented in Python that cover multiple methods of data preprocessing, source localization, statistical analysis, and estimation offunctional connectivity between distributed brain regions.All algorithms and utility functions are implemented in a consistent manner with well-documented interfaces, enabling users to create M/EEG data analysispipelines by writing Python scripts.Moreover, MNE-Python is tightly integrated with the core Python libraries for scientificcomptutation (Numpy, Scipy and visualization (matplotlib and Mayavi, as wellas the greater neuroimaging ecosystem in Python via the Nibabel package. The code is provided under the new BSD licenseallowing code reuse, even in commercial products. Although MNE-Python has onlybeen under heavy development for a couple of years, it has rapidly evolved withexpanded analysis capabilities and pedagogical tutorials because multiple labs have collaborated during code development to help share best practices.MNE-Python also gives easy access to preprocessed datasets,helping users to get started quickly and facilitating reproducibility ofmethods by other researchers. Full documentation, including dozens ofexamples, is available at http://martinos.org/mne.

  9. Expyriment: A Python library for cognitive and neuroscientific experiments

    NARCIS (Netherlands)

    Krause, F.; Lindemann, O.

    2014-01-01

    Expyriment is an open-source and platform-independent lightweight Python library for designing and conducting timing-critical behavioral and neuroimaging experiments. The major goal is to provide a well-structured Python library for script-based experiment development, with a high priority being the

  10. Stimfit: quantifying electrophysiological data with Python

    Directory of Open Access Journals (Sweden)

    Segundo Jose Guzman

    2014-02-01

    Full Text Available Intracellular electrophysiological recordings provide crucial insights into elementary neuronal signals such as action potentials and synaptic currents. Analyzing and interpreting these signals is essential for a quantitative understanding of neuronal information processing, and requires both fast data visualization and ready access to complex analysis routines. To achieve this goal, we have developed Stimfit, a free software package for cellular neurophysiology with a Python scripting interface and a built-in Python shell. The program supports most standard file formats for cellular neurophysiology and other biomedical signals through the Biosig library. To quantify and interpret the activity of single neurons and communication between neurons, the program includes algorithms to characterize the kinetics of presynaptic action potentials and postsynaptic currents, estimate latencies between pre- and postsynaptic events, and detect spontaneously occurring events. We validate and benchmark these algorithms, give estimation errors, and provide sample use cases, showing that Stimfit represents an efficient, accessible and extensible way to accurately analyze and interpret neuronal signals.

  11. Writing analytic element programs in Python.

    Science.gov (United States)

    Bakker, Mark; Kelson, Victor A

    2009-01-01

    The analytic element method is a mesh-free approach for modeling ground water flow at both the local and the regional scale. With the advent of the Python object-oriented programming language, it has become relatively easy to write analytic element programs. In this article, an introduction is given of the basic principles of the analytic element method and of the Python programming language. A simple, yet flexible, object-oriented design is presented for analytic element codes using multiple inheritance. New types of analytic elements may be added without the need for any changes in the existing part of the code. The presented code may be used to model flow to wells (with either a specified discharge or drawdown) and streams (with a specified head). The code may be extended by any hydrogeologist with a healthy appetite for writing computer code to solve more complicated ground water flow problems. Copyright © 2009 The Author(s). Journal Compilation © 2009 National Ground Water Association.

  12. A student's guide to Python for physical modeling

    CERN Document Server

    Kinder, Jesse M

    2015-01-01

    Python is a computer programming language that is rapidly gaining popularity throughout the sciences. A Student’s Guide to Python for Physical Modeling aims to help you, the student, teach yourself enough of the Python programming language to get started with physical modeling. You will learn how to install an open-source Python programming environment and use it to accomplish many common scientific computing tasks: importing, exporting, and visualizing data; numerical analysis; and simulation. No prior programming experience is assumed. This tutorial focuses on fundamentals and introduces a wide range of useful techniques, including: Basic Python programming and scripting Numerical arrays Two- and three-dimensional graphics Monte Carlo simulations Numerical methods, including solving ordinary differential equations Image processing Animation Numerous code samples and exercises—with solutions—illustrate new ideas as they are introduced. A website that accompanies this guide provides additional resourc...

  13. Report on the observed response of Javan lutungs (Trachypithecus auratus mauritius) upon encountering a reticulated python (Python reticulatus).

    Science.gov (United States)

    Tsuji, Yamato; Prayitno, Bambang; Suryobroto, Bambang

    2016-04-01

    We observed an encounter between a reticulated python (Python reticulatus) and a group of wild Javan lutungs (Trachypithecus auratus mauritius) at the Pangandaran Nature Reserve, West Java, Indonesia. A python (about 2 m in length) moved toward a group of lutungs in the trees. Upon seeing the python, an adult male and several adult female lutungs began to emit alarm calls. As the python approached, two adult and one sub-adult female jumped onto a branch near the python and began mobbing the python by shaking the branch. During the mobbing, other individuals in the group (including an adult lutung male) remained nearby but did not participate. The python then rolled into a ball-like shape and stopped moving, at which point the lutungs moved away. The total duration of the encounter was about 40 min, during which time the lutungs stopped feeding and grooming. Group cohesiveness during and after the encounter was greater than that before the encounter, indicating that lutungs adjust their daily activity in response to potential predation risk.

  14. Programming for computations Python : a gentle introduction to numerical simulations with Python

    CERN Document Server

    Linge, Svein

    2016-01-01

    This book presents computer programming as a key method for solving mathematical problems. There are two versions of the book, one for MATLAB and one for Python. The book was inspired by the Springer book TCSE 6: A Primer on Scientific Programming with Python (by Langtangen), but the style is more accessible and concise, in keeping with the needs of engineering students. The book outlines the shortest possible path from no previous experience with programming to a set of skills that allows the students to write simple programs for solving common mathematical problems with numerical methods in engineering and science courses. The emphasis is on generic algorithms, clean design of programs, use of functions, and automatic tests for verification.

  15. Lectin histochemical aspects of mucus function in the oesophagus of the reticulated python (Python reticulatus).

    Science.gov (United States)

    Meyer, W; Luz, S; Schnapper, A

    2009-08-01

    Using lectin histochemistry, the study characterizes basic functional aspects of the mucus produced by the oesophageal epithelium of the Reticulated python (Python reticulatus). Reaction staining varied as related to the two epithelium types present, containing goblet cells and ciliary cells. Remarkable intensities were achieved especially in the luminal mucus layer and the fine mucus covering the epithelial ciliary border for Con A (alpha-D-Man; alpha-D-Glc) as part of neutral glycoproteins, Limax flavus agglutinin (NeuNac = NeuNgc), emphasizing that water binding hyaluronan provides a hydrated interface conductive to the passage of material and UEA-I (alpha-L-Fuc), corroborating the view that fucose-rich highly viscous mucus is helpful against mechanical stress during prey transport.

  16. Python in the NERSC Exascale Science Applications Program for Data

    Energy Technology Data Exchange (ETDEWEB)

    Ronaghi, Zahra; Thomas, Rollin; Deslippe, Jack; Bailey, Stephen; Gursoy, Doga; Kisner, Theodore; Keskitalo, Reijo; Borrill, Julian

    2017-11-12

    We describe a new effort at the National Energy Re- search Scientific Computing Center (NERSC) in performance analysis and optimization of scientific Python applications targeting the Intel Xeon Phi (Knights Landing, KNL) many- core architecture. The Python-centered work outlined here is part of a larger effort called the NERSC Exascale Science Applications Program (NESAP) for Data. NESAP for Data focuses on applications that process and analyze high-volume, high-velocity data sets from experimental/observational science (EOS) facilities supported by the US Department of Energy Office of Science. We present three case study applications from NESAP for Data that use Python. These codes vary in terms of “Python purity” from applications developed in pure Python to ones that use Python mainly as a convenience layer for scientists without expertise in lower level programming lan- guages like C, C++ or Fortran. The science case, requirements, constraints, algorithms, and initial performance optimizations for each code are discussed. Our goal with this paper is to contribute to the larger conversation around the role of Python in high-performance computing today and tomorrow, highlighting areas for future work and emerging best practices

  17. PyMOOSE: interoperable scripting in Python for MOOSE

    Directory of Open Access Journals (Sweden)

    Subhasis Ray

    2008-12-01

    Full Text Available Python is emerging as a common scripting language for simulators. This opens up many possibilities for interoperability in the form of analysis, interfaces, and communications between simulators. We report the integration of Python scripting with the Multi-scale Object Oriented Simulation Environment (MOOSE. MOOSE is a general-purpose simulation system for compartmental neuronal models and for models of signaling pathways based on chemical kinetics. We show how the Python-scripting version of MOOSE, PyMOOSE, combines the power of a compiled simulator with the versatility and ease of use of Python. We illustrate this by using Python numerical libraries to analyze MOOSE output online, and by developing a GUI in Python/Qt for a MOOSE simulation. Finally, we build and run a composite neuronal/signaling model that uses both the NEURON and MOOSE numerical engines, and Python as a bridge between the two. Thus PyMOOSE has a high degree of interoperability with analysis routines, with graphical toolkits, and with other simulators.

  18. PyMOOSE: Interoperable Scripting in Python for MOOSE.

    Science.gov (United States)

    Ray, Subhasis; Bhalla, Upinder S

    2008-01-01

    Python is emerging as a common scripting language for simulators. This opens up many possibilities for interoperability in the form of analysis, interfaces, and communications between simulators. We report the integration of Python scripting with the Multi-scale Object Oriented Simulation Environment (MOOSE). MOOSE is a general-purpose simulation system for compartmental neuronal models and for models of signaling pathways based on chemical kinetics. We show how the Python-scripting version of MOOSE, PyMOOSE, combines the power of a compiled simulator with the versatility and ease of use of Python. We illustrate this by using Python numerical libraries to analyze MOOSE output online, and by developing a GUI in Python/Qt for a MOOSE simulation. Finally, we build and run a composite neuronal/signaling model that uses both the NEURON and MOOSE numerical engines, and Python as a bridge between the two. Thus PyMOOSE has a high degree of interoperability with analysis routines, with graphical toolkits, and with other simulators.

  19. Effect of laser treatment on first-intention incisional wound healing in ball pythons (Python regius).

    Science.gov (United States)

    Cole, Grayson L; Lux, Cassie N; Schumacher, Juergen P; Seibert, Rachel L; Sadler, Ryan A; Henderson, Andrea L; Odoi, Agricola; Newkirk, Kim M

    2015-10-01

    To evaluate effects of laser treatment on incisional wound healing in ball pythons (Python regius). 6 healthy adult ball pythons. Snakes were sedated, a skin biopsy specimen was collected for histologic examination, and eight 2-cm skin incisions were made in each snake; each incision was closed with staples (day 0). Gross evaluation of all incision sites was performed daily for 30 days, and a wound score was assigned. Four incisions of each snake were treated (5 J/cm(2) and a wavelength of 980 nm on a continuous wave sequence) by use of a class 4 laser once daily for 7 consecutive days; the other 4 incisions were not treated. Two excisional skin biopsy specimens (1 control and 1 treatment) were collected from each snake on days 2, 7, 14, and 30 and evaluated microscopically. Scores were assigned for total inflammation, degree of fibrosis, and collagen maturity. Generalized linear models were used to investigate the effect of treatment on each variable. Wound scores for laser-treated incisions were significantly better than scores for control incisions on day 2 but not at other time points. There were no significant differences in necrosis, fibroplasia, inflammation, granuloma formation, or bacterial contamination between control and treatment groups. Collagen maturity was significantly better for the laser-treated incisions on day 14. Laser treatment resulted in a significant increase in collagen maturity at day 14 but did not otherwise significantly improve healing of skin incisions.

  20. A primer on scientific programming with Python

    CERN Document Server

    Langtangen, Hans Petter

    2016-01-01

    The book serves as a first introduction to computer programming of scientific applications, using the high-level Python language. The exposition is example and problem-oriented, where the applications are taken from mathematics, numerical calculus, statistics, physics, biology and finance. The book teaches "Matlab-style" and procedural programming as well as object-oriented programming. High school mathematics is a required background and it is advantageous to study classical and numerical one-variable calculus in parallel with reading this book. Besides learning how to program computers, the reader will also learn how to solve mathematical problems, arising in various branches of science and engineering, with the aid of numerical methods and programming. By blending programming, mathematics and scientific applications, the book lays a solid foundation for practicing computational science. From the reviews: Langtangen … does an excellent job of introducing programming as a set of skills in problem solving. ...

  1. A primer on scientific programming with Python

    CERN Document Server

    Langtangen, Hans Petter

    2014-01-01

    The book serves as a first introduction to computer programming of scientific applications, using the high-level Python language. The exposition is example and problem-oriented, where the applications are taken from mathematics, numerical calculus, statistics, physics, biology and finance. The book teaches "Matlab-style" and procedural programming as well as object-oriented programming. High school mathematics is a required background and it is advantageous to study classical and numerical one-variable calculus in parallel with reading this book. Besides learning how to program computers, the reader will also learn how to solve mathematical problems, arising in various branches of science and engineering, with the aid of numerical methods and programming. By blending programming, mathematics and scientific applications, the book lays a solid foundation for practicing computational science. From the reviews: Langtangen … does an excellent job of introducing programming as a set of skills in problem solving. ...

  2. A Python Calculator for Supernova Remnant Evolution

    Science.gov (United States)

    Leahy, D. A.; Williams, J. E.

    2017-05-01

    A freely available Python code for modeling supernova remnant (SNR) evolution has been created. This software is intended for two purposes: to understand SNR evolution and to use in modeling observations of SNR for obtaining good estimates of SNR properties. It includes all phases for the standard path of evolution for spherically symmetric SNRs. In addition, alternate evolutionary models are available, including evolution in a cloudy ISM, the fractional energy-loss model, and evolution in a hot low-density ISM. The graphical interface takes in various parameters and produces outputs such as shock radius and velocity versus time, as well as SNR surface brightness profile and spectrum. Some interesting properties of SNR evolution are demonstrated using the program.

  3. COSMOS: Python library for massively parallel workflows.

    Science.gov (United States)

    Gafni, Erik; Luquette, Lovelace J; Lancaster, Alex K; Hawkins, Jared B; Jung, Jae-Yoon; Souilmi, Yassine; Wall, Dennis P; Tonellato, Peter J

    2014-10-15

    Efficient workflows to shepherd clinically generated genomic data through the multiple stages of a next-generation sequencing pipeline are of critical importance in translational biomedical science. Here we present COSMOS, a Python library for workflow management that allows formal description of pipelines and partitioning of jobs. In addition, it includes a user interface for tracking the progress of jobs, abstraction of the queuing system and fine-grained control over the workflow. Workflows can be created on traditional computing clusters as well as cloud-based services. Source code is available for academic non-commercial research purposes. Links to code and documentation are provided at http://lpm.hms.harvard.edu and http://wall-lab.stanford.edu. dpwall@stanford.edu or peter_tonellato@hms.harvard.edu. Supplementary data are available at Bioinformatics online. © The Author 2014. Published by Oxford University Press.

  4. IRISpy: Analyzing IRIS Data in Python

    Science.gov (United States)

    Ryan, Daniel; Christe, Steven; Mumford, Stuart; Baruah, Ankit; Timothy, Shelbe; Pereira, Tiago; De Pontieu, Bart

    2017-08-01

    IRISpy is a new community-developed open-source software library for analysing IRIS level 2 data. It is written in Python, a free, cross-platform, general-purpose, high-level programming language. A wide array of scientific computing software packages have already been developed in Python, from numerical computation (NumPy, SciPy, etc.), to visualization and plotting (matplotlib), to solar-physics-specific data analysis (SunPy). IRISpy is currently under development as a SunPy-affiliated package which means it depends on the SunPy library, follows similar standards and conventions, and is developed with the support of of the SunPy development team. IRISpy’s has two primary data objects, one for analyzing slit-jaw imager data and another for analyzing spectrograph data. Both objects contain basic slicing, indexing, plotting, and animating functionality to allow users to easily inspect, reduce and analyze the data. As part of this functionality the objects can output SunPy Maps, TimeSeries, Spectra, etc. of relevant data slices for easier inspection and analysis. Work is also ongoing to provide additional data analysis functionality including derivation of systematic measurement errors (e.g. readout noise), exposure time correction, residual wavelength calibration, radiometric calibration, and fine scale pointing corrections. IRISpy’s code base is publicly available through github.com and can be contributed to by anyone. In this poster we demonstrate IRISpy’s functionality and future goals of the project. We also encourage interested users to become involved in further developing IRISpy.

  5. PyCSP - Communicating Sequential Processes for Python

    DEFF Research Database (Denmark)

    Vinter, Brian; Bjørndalen, John Markus; Anshus, Otto Johan

    The Python programming language is effective for rapidly specifying programs and experimenting with them. It is increasingly being used in computational sciences, and in teaching computer science. CSP is effective for describing concurrency. It has become especially relevant with the emergence...... of commodity multi-core architectures. We are interested in exploring how a combination of Python and CSP can benefit both the computational sciences and the hands-on teaching of distributed and parallel computing in computer science. To make this possible, we have developed PyCSP, a CSP library for Python. Py...

  6. Report on the ''ESO Python Boot Camp — Pilot Version''

    Science.gov (United States)

    Dias, B.; Milli, J.

    2017-03-01

    The Python programming language is becoming very popular within the astronomical community. Python is a high-level language with multiple applications including database management, handling FITS images and tables, statistical analysis, and more advanced topics. Python is a very powerful tool both for astronomical publications and for observatory operations. Since the best way to learn a new programming language is through practice, we therefore organised a two-day hands-on workshop to share expertise among ESO colleagues. We report here the outcome and feedback from this pilot event.

  7. Python as First Textual Programming Language in Secondary Education

    Directory of Open Access Journals (Sweden)

    José Carlos GARCÍA MONSÁLVEZ

    2017-07-01

    Full Text Available With the recent introduction of Programming in the K-12 curricula there is an opportunity to include Computer Science fundamental concepts. This paper presents the origin and evolution of Python as well as their main features that configure it as an ideal programming language. We also review and classify some educational tools in the Python ecosystem. Such tools cover a wide-open spectrum of resources from interactive books to libraries which ease the construction of student elaborated software artefacts. This work presents a multidisciplinary proposal to use the Python programming language in all levels of Secondary Stage.

  8. Python data science handbook essential tools for working with data

    CERN Document Server

    VanderPlas, Jake

    2016-01-01

    For many researchers, Python is a first-class tool mainly because of its libraries for storing, manipulating, and gaining insight from data. Several resources exist for individual pieces of this data science stack, but only with the Python Data Science Handbook do you get them all—IPython, NumPy, Pandas, Matplotlib, Scikit-Learn, and other related tools. Working scientists and data crunchers familiar with reading and writing Python code will find this comprehensive desk reference ideal for tackling day-to-day issues.

  9. Using the Scientific Python ecosystem to advance open radar science

    Science.gov (United States)

    Collis, S. M.; Helmus, J.

    2015-12-01

    The choice of a programming language or environment is rarely made with consideration of its benefits and disadvantages. Often it is something inherited from mentor or enforced by an institution. Python, developed as a "hobby" programming project, has seen increased migration of users from more traditional domain specific environments. This presentation charts our own journey in using the scientific python ecosystem, first as users and then as the developers of a community based toolkit for working with weather radar data, the Python ARM Radar Toolkit, Py-ART. We will highlight how a data model driven design approach can extend the usefulness and reusability of code and act as a bridge between amorphous mathematical algorithms and domain specific data. Finally we will showcase how Python and Py-ART can be used on clusters to tackle pleasantly parallel problems like deriving climatologies swiftly, painlessly and most importantly: reproducibly.

  10. CVXPY: A Python-Embedded Modeling Language for Convex Optimization.

    Science.gov (United States)

    Diamond, Steven; Boyd, Stephen

    2016-04-01

    CVXPY is a domain-specific language for convex optimization embedded in Python. It allows the user to express convex optimization problems in a natural syntax that follows the math, rather than in the restrictive standard form required by solvers. CVXPY makes it easy to combine convex optimization with high-level features of Python such as parallelism and object-oriented design. CVXPY is available at http://www.cvxpy.org/ under the GPL license, along with documentation and examples.

  11. A Framework for Distributed Deep Learning Layer Design in Python

    OpenAIRE

    McLeod, Clay

    2015-01-01

    In this paper, a framework for testing Deep Neural Network (DNN) design in Python is presented. First, big data, machine learning (ML), and Artificial Neural Networks (ANNs) are discussed to familiarize the reader with the importance of such a system. Next, the benefits and detriments of implementing such a system in Python are presented. Lastly, the specifics of the system are explained, and some experimental results are presented to prove the effectiveness of the system.

  12. Pragmatique du nonsense, de Lewis Carroll aux Monty Python

    OpenAIRE

    Schneebeli, Célia

    2010-01-01

    This dissertation consists in a study of verbal exchanges in nonsense literature, from the last quarter of the nineteenth century and one of the two fathers of the genre, Lewis Carroll, to the last quarter of the twentieth century and his glorious heirs, the Monty Python. The corpus is taken from the whole of English-speaking nonsense literature, be it English (Lewis Carroll, the Monty Python, N.F. Simpson), Canadian (Stephen Leacock), or American (Robert Benchley, Donald Ogden Stewart, Josep...

  13. Expression of venom gene homologs in diverse python tissues suggests a new model for the evolution of snake venom.

    Science.gov (United States)

    Reyes-Velasco, Jacobo; Card, Daren C; Andrew, Audra L; Shaney, Kyle J; Adams, Richard H; Schield, Drew R; Casewell, Nicholas R; Mackessy, Stephen P; Castoe, Todd A

    2015-01-01

    Snake venom gene evolution has been studied intensively over the past several decades, yet most previous studies have lacked the context of complete snake genomes and the full context of gene expression across diverse snake tissues. We took a novel approach to studying snake venom evolution by leveraging the complete genome of the Burmese python, including information from tissue-specific patterns of gene expression. We identified the orthologs of snake venom genes in the python genome, and conducted detailed analysis of gene expression of these venom homologs to identify patterns that differ between snake venom gene families and all other genes. We found that venom gene homologs in the python are expressed in many different tissues outside of oral glands, which illustrates the pitfalls of using transcriptomic data alone to define "venom toxins." We hypothesize that the python may represent an ancestral state prior to major venom development, which is supported by our finding that the expansion of venom gene families is largely restricted to highly venomous caenophidian snakes. Therefore, the python provides insight into biases in which genes were recruited for snake venom systems. Python venom homologs are generally expressed at lower levels, have higher variance among tissues, and are expressed in fewer organs compared with all other python genes. We propose a model for the evolution of snake venoms in which venom genes are recruited preferentially from genes with particular expression profile characteristics, which facilitate a nearly neutral transition toward specialized venom system expression. © The Author 2014. Published by Oxford University Press on behalf of the Society for Molecular Biology and Evolution. All rights reserved. For permissions, please e-mail: journals.permissions@oup.com.

  14. PyROOT: Seamless Melting of C++ and Python

    CERN Multimedia

    CERN. Geneva

    2016-01-01

    With ROOT it's possible to use any C++ library from Python without writing any bindings nor dictionaries: loading the library and injecting the relevant headers in the ROOT C++ interpreter is enough to guarantee interactive usage from within Python. Just in time (JIT) compilation of C++ code and immediate utilisation of C++ entities from within Python is also supported. Thanks to the ROOT type system and C++ interpreter and JIT compiler, complete Python/C++ interoperability is achieved. In this contribution we explain how this mechanism is general enough to make any library written in C or C++ usable from within Python and how concepts such as template metaprogramming are mapped in Python. We review the basics of the JIT compilation capabilities provided by the Clang based ROOT interpreter, Cling, and the way in which some of the information of the Abstract Syntax Tree (AST) built by Clang is stored by the ROOT type system. The way in which ROOT manages the automatic loading of libraries and parsing of neces...

  15. Hearing with an atympanic ear: good vibration and poor sound-pressure detection in the royal python, Python regius

    DEFF Research Database (Denmark)

    Christensen, Christian Bech; Christensen-Dalsgaard, Jakob; Brandt, Christian

    2012-01-01

    are sensitive to sound pressure and (2) snakes are sensitive to vibrations, but cannot hear the sound pressure per se. Vibration and sound-pressure sensitivities were quantified by measuring brainstem evoked potentials in 11 royal pythons, Python regius. Vibrograms and audiograms showed greatest sensitivity...... at low frequencies of 80-160 Hz, with sensitivities of -54 dB re. 1 m s(-2) and 78 dB re. 20 μPa, respectively. To investigate whether pythons detect sound pressure or sound-induced head vibrations, we measured the sound-induced head vibrations in three dimensions when snakes were exposed to sound...... pressure at threshold levels. In general, head vibrations induced by threshold-level sound pressure were equal to or greater than those induced by threshold-level vibrations, and therefore sound-pressure sensitivity can be explained by sound-induced head vibration. From this we conclude that pythons...

  16. Surgical management of maxillary and premaxillary osteomyelitis in a reticulated python (Python reticulatus).

    Science.gov (United States)

    Latney, La'Toya V; McDermott, Colin; Scott, Gregory; Soltero-Rivera, Maria M; Beguesse, Kyla; Sánchez, Melissa D; Lewis, John R

    2016-05-01

    CASE DESCRIPTION A 1-year-old reticulated python (Python reticulatus) was evaluated because of a 2-week history of wheezing and hissing. CLINICAL FINDINGS Rostral facial cellulitis and deep gingival pockets associated with missing rostral maxillary teeth were evident. Tissues of the nares were swollen, resulting in an audible wheeze during respiration. Multiple scars and superficial facial wounds attributed to biting by live prey were apparent. Radiographic examination revealed bilateral, focal, rostral maxillary osteomyelitis. TREATMENT AND OUTCOME Wound irrigation, antimicrobials, and anti-inflammatory drug treatment resulted in reduced cellulitis. A 3-week regimen that included empirical antimicrobial treatment and improved husbandry resulted in resolution of the respiratory sounds and partial healing of bite wounds, but radiographic evaluation revealed progressive maxillary osteomyelitis. Microbial culture of blood yielded scant gram-positive cocci and Bacillus spp, which were suspected sample contaminants. Bilateral partial maxillectomies were performed; microbial culture and histologic examination of resected bone confirmed osteomyelitis with gram-positive cocci. Treatment with trimethoprim-sulfamethoxazole was initiated on the basis of microbial susceptibility tests. Four months later, follow-up radiography revealed premaxillary osteomyelitis; surgery was declined, and treatment with trimethoprim-sulfamethoxazole was reinstituted. Eight months after surgery, the patient was reevaluated because of recurrent clinical signs; premaxillectomy was performed, and treatment with trimethoprim-sulfamethoxazole was prescribed on the basis of microbial culture of bone and microbial susceptibility testing. Resolution of osteomyelitis was confirmed by CT 11 months after the initial surgery. CONCLUSIONS AND CLINICAL RELEVANCE Focal maxillectomies and premaxillectomy were successfully performed in a large python. Surgical management and appropriate antimicrobial treatment

  17. Morphological respiratory diffusion capacity of the lungs of ball pythons (Python regius).

    Science.gov (United States)

    Starck, J Matthias; Aupperle, Heike; Kiefer, Ingmar; Weimer, Isabel; Krautwald-Junghanns, Maria-Elisabeth; Pees, Michael

    2012-08-01

    This study aims at a functional and morphological characterization of the lung of a boid snake. In particular, we were interested to see if the python's lungs are designed with excess capacity as compared to resting and working oxygen demands. Therefore, the morphological respiratory diffusion capacity of ball pythons (Python regius) was examined following a stereological, hierarchically nested approach. The volume of the respiratory exchange tissue was determined using computed tomography. Tissue compartments were quantified using stereological methods on light microscopic images. The tissue diffusion barrier for oxygen transport was characterized and measured using transmission electron micrographs. We found a significant negative correlation between body mass and the volume of respiratory tissue; the lungs of larger snakes had relatively less respiratory tissue. Therefore, mass-specific respiratory tissue was calculated to exclude effects of body mass. The volume of the lung that contains parenchyma was 11.9±5.0mm(3)g(-1). The volume fraction, i.e., the actual pulmonary exchange tissue per lung parenchyma, was 63.22±7.3%; the total respiratory surface was, on average, 0.214±0.129m(2); it was significantly negatively correlated to body mass, with larger snakes having proportionally smaller respiratory surfaces. For the air-blood barrier, a harmonic mean of 0.78±0.05μm was found, with the epithelial layer representing the thickest part of the barrier. Based on these findings, a median diffusion capacity of the tissue barrier ( [Formula: see text] ) of 0.69±0.38ml O(2)min(-1)mmHg(-1) was calculated. Based on published values for blood oxygen concentration, a total oxygen uptake capacity of 61.16mlO(2)min(-1)kg(-1) can be assumed. This value exceeds the maximum demand for oxygen in ball pythons by a factor of 12. We conclude that healthy individuals of P. regius possess a considerable spare capacity for tissue oxygen exchange. Copyright © 2012 Elsevier Gmb

  18. Hydropy: Python package for hydrological time series handling based on Python Pandas

    Science.gov (United States)

    Van Hoey, Stijn; Balemans, Sophie; Nopens, Ingmar; Seuntjens, Piet

    2015-04-01

    Most hydrologists are dealing with time series frequently. Reading in time series, transforming them and extracting specific periods for visualisation are part of the daily work. Spreadsheet software is used a lot for these operations, but has some major drawbacks. It is mostly not reproducible, it is prone to errors and not easy to automate, which results in repetitive work when dealing with large amounts of data. Scripting languages like R and Python on the other hand, provide flexibility, enable automation and reproducibility and, hence, increase efficiency. Python has gained popularity over the last years and currently, tools for many aspects of scientific computing are readily available in Python. An increased support in controlling and managing the dependencies between packages (e.g. the Anaconda environment) allows for a wide audience to use the huge variety of available packages. Pandas is a powerful Python package for data analysis and has a lot of functionalities related to time series. As such, the package is of special interest to hydrologists. Some other packages, focussing on hydrology (e.g. Hydroclimpy by Pierre Gerard-Marchant and Hydropy by Javier Rovegno Campos), stopped active development, mainly due to the superior implementation of Pandas. We present a (revised) version of the Hydropy package that is inspired by the aforementioned packages and builds on the power of Pandas. The main idea is to add hydrological domain knowledge to the already existing Pandas functionalities. Besides, the package attempts to make the time series handling intuitive and easy to perform, thus with a clear syntax. Some illustrative examples of the current implementation starting from a Pandas DataFrame named flowdata: Creating the object flow to work with: flow = HydroAnalysis(flowdata) Retrieve only the data during winter (across all years): flow.get_season('winter') Retrieve only the data during summer of 2010: flow.get_season('summer').get_year('2010') which is

  19. PsychoPy—Psychophysics software in Python

    Science.gov (United States)

    Peirce, Jonathan W.

    2007-01-01

    The vast majority of studies into visual processing are conducted using computer display technology. The current paper describes a new free suite of software tools designed to make this task easier, using the latest advances in hardware and software. PsychoPy is a platform-independent experimental control system written in the Python interpreted language using entirely free libraries. PsychoPy scripts are designed to be extremely easy to read and write, while retaining complete power for the user to customize the stimuli and environment. Tools are provided within the package to allow everything from stimulus presentation and response collection (from a wide range of devices) to simple data analysis such as psychometric function fitting. Most importantly, PsychoPy is highly extensible and the whole system can evolve via user contributions. If a user wants to add support for a particular stimulus, analysis or hardware device they can look at the code for existing examples, modify them and submit the modifications back into the package so that the whole community benefits. PMID:17254636

  20. PsychoPy--Psychophysics software in Python.

    Science.gov (United States)

    Peirce, Jonathan W

    2007-05-15

    The vast majority of studies into visual processing are conducted using computer display technology. The current paper describes a new free suite of software tools designed to make this task easier, using the latest advances in hardware and software. PsychoPy is a platform-independent experimental control system written in the Python interpreted language using entirely free libraries. PsychoPy scripts are designed to be extremely easy to read and write, while retaining complete power for the user to customize the stimuli and environment. Tools are provided within the package to allow everything from stimulus presentation and response collection (from a wide range of devices) to simple data analysis such as psychometric function fitting. Most importantly, PsychoPy is highly extensible and the whole system can evolve via user contributions. If a user wants to add support for a particular stimulus, analysis or hardware device they can look at the code for existing examples, modify them and submit the modifications back into the package so that the whole community benefits.

  1. Bioinformatic pipelines in Python with Leaf

    Science.gov (United States)

    2013-01-01

    Background An incremental, loosely planned development approach is often used in bioinformatic studies when dealing with custom data analysis in a rapidly changing environment. Unfortunately, the lack of a rigorous software structuring can undermine the maintainability, communicability and replicability of the process. To ameliorate this problem we propose the Leaf system, the aim of which is to seamlessly introduce the pipeline formality on top of a dynamical development process with minimum overhead for the programmer, thus providing a simple layer of software structuring. Results Leaf includes a formal language for the definition of pipelines with code that can be transparently inserted into the user’s Python code. Its syntax is designed to visually highlight dependencies in the pipeline structure it defines. While encouraging the developer to think in terms of bioinformatic pipelines, Leaf supports a number of automated features including data and session persistence, consistency checks between steps of the analysis, processing optimization and publication of the analytic protocol in the form of a hypertext. Conclusions Leaf offers a powerful balance between plan-driven and change-driven development environments in the design, management and communication of bioinformatic pipelines. Its unique features make it a valuable alternative to other related tools. PMID:23786315

  2. The spectacle of the ball python (Python regius): a morphological description.

    Science.gov (United States)

    Da Silva, Mari-Ann O; Heegaard, Steffen; Wang, Tobias; Nyengaard, Jens R; Bertelsen, Mads F

    2014-05-01

    A detailed morphological description of the spectacle of the ball python (Python regius) is provided. The eyes of 21 snakes were examined by light microscopy and/or transmission electron microscopy. Additionally, eyes of nine live snakes were examined using optical coherence tomography (OCT) and Scheimpflug scanning (Pentacam). The spectacle consists of three layers: outer epithelium, stroma and inner epithelium. The outer epithelium is made up of flat basal cells overlaid by keratin, the stroma consists of organized layers of collagen fibrils with interweaving nerve fibers and blood vessels, and the inner epithelium holds squamous cells containing vesicles and microvilli. At the rim of the spectacle, there is a transition zone, where the spectacle merges with the epidermis and dermis of the periocular scales. This zone is characterized by a greater height of the basal cells of the outer epithelium and a less orderly organization of the stroma compared with the spectacle proper. The thickness of the spectacle was uniform throughout. It averaged 96 ± 10 µm in histological specimens and 108 ± 13 µm using OCT. The subspectacular space was extremely narrow in the live snakes; however, the space was visible at the periphery of the spectacle with OCT. Copyright © 2013 Wiley Periodicals, Inc.

  3. Python-Assisted MODFLOW Application and Code Development

    Science.gov (United States)

    Langevin, C.

    2013-12-01

    The U.S. Geological Survey (USGS) has a long history of developing and maintaining free, open-source software for hydrological investigations. The MODFLOW program is one of the most popular hydrologic simulation programs released by the USGS, and it is considered to be the most widely used groundwater flow simulation code. MODFLOW was written using a modular design and a procedural FORTRAN style, which resulted in code that could be understood, modified, and enhanced by many hydrologists. The code is fast, and because it uses standard FORTRAN it can be run on most operating systems. Most MODFLOW users rely on proprietary graphical user interfaces for constructing models and viewing model results. Some recent efforts, however, have focused on construction of MODFLOW models using open-source Python scripts. Customizable Python packages, such as FloPy (https://code.google.com/p/flopy), can be used to generate input files, read simulation results, and visualize results in two and three dimensions. Automating this sequence of steps leads to models that can be reproduced directly from original data and rediscretized in space and time. Python is also being used in the development and testing of new MODFLOW functionality. New packages and numerical formulations can be quickly prototyped and tested first with Python programs before implementation in MODFLOW. This is made possible by the flexible object-oriented design capabilities available in Python, the ability to call FORTRAN code from Python, and the ease with which linear systems of equations can be solved using SciPy, for example. Once new features are added to MODFLOW, Python can then be used to automate comprehensive regression testing and ensure reliability and accuracy of new versions prior to release.

  4. A Python interface with Narcisse graphics

    Energy Technology Data Exchange (ETDEWEB)

    Motteler, Z.C.

    1996-04-15

    Narcisse is a graphics package developed by our French colleagues at Centre d`Etudes de Limeil Valenton of the Commissariat d`Energie Atomique. Narcisse is quite comprehensive; it can do two-, three-, and four-dimensional plots (the latter meaning that the surface is colored according to the values of an arbitrary function). One can open and send plots to a Narcisse window on a distant machine. Narcisse has a user-friendly graphical user interface (GUI) which, once a graph has appeared, allows the user to change its characteristics interactively. This enables one to find the best appearance for a particular plot without having to graph it repeatedly from the user program. Previously created files in various formats can also be imported directly into the Narcisse GUI and manipulated from there. Narcisse runs independently, as a graphics server. The user program communicates with Narcisse via Unix sockets. This communication is quite low level and very complex. The appearance of a plot is controlled by nearly 150 parameters for determining such things as the color palette, type of shading, axis scales, curve and surface labels, titles, angle and distance of view (for three- and four-dimensional graphs), hidden line removal, etc. Most end users do not wish to spend time learning the tedious details of such interfaces; they would just like to specify data and ask to have it plotted. This paper describes a high level, easy to use graphics interface which hides (as much as possible) the low level details of whatever graphics system is actually being used, so that the low level can be essentially ``plug-and-play.`` Then, whenever a better system becomes available, it should only be necessary to change low level interface routines not normally accessed by ordinary users. Python, with its easy extendability, was ideally suited for this job.

  5. pyam: Python Implementation of YaM

    Science.gov (United States)

    Myint, Steven; Jain, Abhinandan

    2012-01-01

    pyam is a software development framework with tools for facilitating the rapid development of software in a concurrent software development environment. pyam provides solutions for development challenges associated with software reuse, managing multiple software configurations, developing software product lines, and multiple platform development and build management. pyam uses release-early, release-often development cycles to allow developers to integrate their changes incrementally into the system on a continual basis. It facilitates the creation and merging of branches to support the isolated development of immature software to avoid impacting the stability of the development effort. It uses modules and packages to organize and share software across multiple software products, and uses the concepts of link and work modules to reduce sandbox setup times even when the code-base is large. One sidebenefit is the enforcement of a strong module-level encapsulation of a module s functionality and interface. This increases design transparency, system stability, and software reuse. pyam is written in Python and is organized as a set of utilities on top of the open source SVN software version control package. All development software is organized into a collection of modules. pyam packages are defined as sub-collections of the available modules. Developers can set up private sandboxes for module/package development. All module/package development takes place on private SVN branches. High-level pyam commands support the setup, update, and release of modules and packages. Released and pre-built versions of modules are available to developers. Developers can tailor the source/link module mix for their sandboxes so that new sandboxes (even large ones) can be built up easily and quickly by pointing to pre-existing module releases. All inter-module interfaces are publicly exported via links. A minimal, but uniform, convention is used for building modules.

  6. Scripting MODFLOW model development using Python and FloPy

    Science.gov (United States)

    Bakker, Mark; Post, Vincent E. A.; Langevin, Christian D.; Hughes, Joseph D.; White, Jeremy; Starn, Jeffrey; Fienen, Michael N.

    2016-01-01

    Graphical user interfaces (GUIs) are commonly used to construct and postprocess numerical groundwater flow and transport models. Scripting model development with the programming language Python is presented here as an alternative approach. One advantage of Python is that there are many packages available to facilitate the model development process, including packages for plotting, array manipulation, optimization, and data analysis. For MODFLOW-based models, the FloPy package was developed by the authors to construct model input files, run the model, and read and plot simulation results. Use of Python with the available scientific packages and FloPy facilitates data exploration, alternative model evaluations, and model analyses that can be difficult to perform with GUIs. Furthermore, Python scripts are a complete, transparent, and repeatable record of the modeling process. The approach is introduced with a simple FloPy example to create and postprocess a MODFLOW model. A more complicated capture-fraction analysis with a real-world model is presented to demonstrate the types of analyses that can be performed using Python and FloPy.

  7. PvaPy: Python API for EPICS PV Access

    Energy Technology Data Exchange (ETDEWEB)

    Veseli, S.

    2016-01-01

    As the number of sites deploying and adopting EPICS Version 4 grows, so does the need to support PV Access from multiple languages. Especially important are the widely used scripting languages that tend to reduce both software development time and the learning curve for new users. In this paper we describe PvaPy, a Python API for the EPICS PV Access protocol and its accompanying structured data API. Rather than implementing the protocol itself in Python, PvaPy wraps the existing EPICS Version 4 C++ libraries using the Boost.Python framework. This approach allows us to benefit from the existing code base and functionality, and to significantly reduce the Python API development effort. PvaPy objects are based on Python dictionaries and provide users with the ability to access even the most complex of PV Data structures in a relatively straightforward way. Its interfaces are easy to use, and include support for advanced EPICS Version 4 features such as implementation of client and server Remote Procedure Calls (RPC).

  8. Querying and Serving N-gram Language Models with Python

    Directory of Open Access Journals (Sweden)

    2009-06-01

    Full Text Available Statistical n-gram language modeling is a very important technique in Natural Language Processing (NLP and Computational Linguistics used to assess the fluency of an utterance in any given language. It is widely employed in several important NLP applications such as Machine Translation and Automatic Speech Recognition. However, the most commonly used toolkit (SRILM to build such language models on a large scale is written entirely in C++ which presents a challenge to an NLP developer or researcher whose primary language of choice is Python. This article first provides a gentle introduction to statistical language modeling. It then describes how to build a native and efficient Python interface (using SWIG to the SRILM toolkit such that language models can be queried and used directly in Python code. Finally, it also demonstrates an effective use case of this interface by showing how to leverage it to build a Python language model server. Such a server can prove to be extremely useful when the language model needs to be queried by multiple clients over a network: the language model must only be loaded into memory once by the server and can then satisfy multiple requests. This article includes only those listings of source code that are most salient. To conserve space, some are only presented in excerpted form. The complete set of full source code listings may be found in Volume 1 of The Python Papers Source Codes Journal.

  9. The effects of UV light on calcium metabolism in ball pythons (Python regius).

    Science.gov (United States)

    Hedley, J; Eatwell, K

    2013-10-12

    Despite the popularity of keeping snakes in captivity, there has been limited investigation into the effects of UV radiation on vitamin D levels in snakes. The aim of this study was to investigate the effects of UV-b radiation on plasma 25-hydroxyvitamin D3 levels and ionised calcium concentrations in ball pythons (Python regius). Blood samples were taken from 14 ball pythons, which had never been exposed to UV-b light, to obtain baseline 25-hydroxyvitamin D3 levels and ionised calcium concentrations. Blood samples were then taken again from the same snakes 70 days later after one group (Group 1, n=6 females) were exposed to UV-b radiation daily, and the other group (Group 2, n=5 males and 3 females) were exposed to no UV-b radiation. Mean±sd 25-hydroxyvitamin D3 levels on day 0 in Group 1 were 197±35 nmol/l, and on day 70 were 203.5±13.8 nmol/l. Mean±sd 25-hydroxyvitamin D3 levels in Group 2 on day 0 were 77.7±41.5 nmol/l, and on day 70 were 83.0±41.9 nmol/l. Mean±sd ionised calcium levels at day 0 were 1.84±0.05 mmol/l for Group 1, and on day 70 were 1.78±0.07 mmol/l. Mean±sd ionised calcium levels at day 0 were 1.79±0.07 mmol/l for Group 2, and on day 70 were 1.81±0.05 mmol/l. No association was demonstrated between exposure to UV-b radiation and plasma 25-hydroxyvitamin D3 and ionised calcium concentrations. These results may provide baseline parameters for future studies in this and other snake species to determine ability to utilise UV-b light for vitamin D production.

  10. Clinical and histologic effects of intracardiac administration of propofol for induction of anesthesia in ball pythons (Python regius).

    Science.gov (United States)

    McFadden, Michael S; Bennett, R Avery; Reavill, Drury R; Ragetly, Guillaume R; Clark-Price, Stuart C

    2011-09-15

    To assess the clinical differences between induction of anesthesia in ball pythons with intracardiac administration of propofol and induction with isoflurane in oxygen and to assess the histologic findings over time in hearts following intracardiac administration of propofol. Prospective randomized study. 30 hatchling ball pythons (Python regius). Anesthesia was induced with intracardiac administration of propofol (10 mg/kg [4.5 mg/lb]) in 18 ball pythons and with 5% isoflurane in oxygen in 12 ball pythons. Induction time, time of anesthesia, and recovery time were recorded. Hearts from snakes receiving intracardiac administration of propofol were evaluated histologically 3, 7, 14, 30, and 60 days following propofol administration. Induction time with intracardiac administration of propofol was significantly shorter than induction time with 5% isoflurane in oxygen. No significant differences were found in total anesthesia time. Recovery following intracardiac administration of propofol was significantly longer than recovery following induction of anesthesia with isoflurane in oxygen. Heart tissue evaluated histologically at 3, 7, and 14 days following intracardiac administration of propofol had mild inflammatory changes, and no histopathologic lesions were seen 30 and 60 days following propofol administration. Intracardiac injection of propofol in snakes is safe and provides a rapid induction of anesthesia but leads to prolonged recovery, compared with that following induction with isoflurane. Histopathologic lesions in heart tissues following intracardiac injection of propofol were mild and resolved after 14 days.

  11. Pharmacokinetics of a long-acting ceftiofur formulation (ceftiofur crystalline free acid) in the ball python (Python regius).

    Science.gov (United States)

    Adkesson, Michael J; Fernandez-Varon, Emilio; Cox, Sherry; Martín-Jiménez, Tomás

    2011-09-01

    The objective of this study was to determine the pharmacokinetics of a long-acting formulation of ceftiofur crystalline-free acid (CCFA) following intramuscular injection in ball pythons (Python regius). Six adult ball pythons received an injection of CCFA (15 mg/kg) in the epaxial muscles. Blood samples were collected by cardiocentesis immediately prior to and at 0.5, 1, 2, 4, 8, 12, 18, 24, 48, 72, 96, 144, 192, 240, 288, 384, 480, 576, 720, and 864 hr after CCFA administration. Plasma ceftiofur concentrations were determined by high-performance liquid chromatography. A noncompartmental pharmacokinetic analysis was applied to the data. Maximum plasma concentration (Cmax) was 7.096 +/- 1.95 microg/ml and occurred at (Tmax) 2.17 +/- 0.98 hr. The area under the curve (0 to infinity) for ceftiofur was 74.59 +/- 13.05 microg x h/ml and the elimination half-life associated with the terminal slope of the concentration-time curve was 64.31 +/- 14.2 hr. Mean residence time (0 to infinity) was 46.85 +/- 13.53 hr. CCFA at 15 mg/kg was well tolerated in all the pythons. Minimum inhibitory concentration (MIC) data for bacterial isolates from snakes are not well established. For MIC values of python. For MICs > or =0.5 microg/ml, more frequent dosing or a higher dosage may be required.

  12. Development of a technique for contrast radiographic examination of the gastrointestinal tract in ball pythons (Python regius).

    Science.gov (United States)

    Banzato, Tommaso; Russo, Elisa; Finotti, Luca; Zotti, Alessandro

    2012-07-01

    To develop a technique for radiographic evaluation of the gastrointestinal tract in ball pythons (Python regius). 10 ball python cadavers (5 males and 5 females) and 18 healthy adult ball pythons (10 males and 8 females). Live snakes were allocated to 3 groups (A, B, and C). A dose (25 mL/kg) of barium sulfate suspension at 3 concentrations (25%, 35%, and 45% [wt/vol]) was administered through an esophageal probe to snakes in groups A, B, and C, respectively. Each evaluation ended when all the contrast medium had reached the large intestine. Transit times through the esophagus, stomach, and small intestine were recorded. Imaging quality was evaluated by 3 investigators who assigned a grading score on the basis of predetermined criteria. Statistical analysis was conducted to evaluate differences in quality among the study groups. The esophagus and stomach had a consistent distribution pattern of contrast medium, whereas 3 distribution patterns of contrast medium were identified in the small intestine, regardless of barium concentration. Significant differences in imaging quality were detected among the 3 groups. Radiographic procedures were tolerated well by all snakes. The 35% concentration of contrast medium yielded the best imaging quality. Use of contrast medium for evaluation of the cranial portion of the gastrointestinal tract could be a reliable technique for the diagnosis of gastrointestinal diseases in ball pythons. However, results of this study may not translate to other snake species because of variables identified in this group of snakes.

  13. Curso Python para científicos e ingenieros

    OpenAIRE

    Cano, Juan Luis

    2014-01-01

    Curso de introducción a Python impartido por Juan Luis Cano (pybonacci.wordpress.com) y organizado por CAChemE (cacheme.org) con el siguiente temario: Introducción a la sintaxis de Python; Uso del Notebook de IPython; Introducción a NumPy; Representación gráfica con matplotlib; Análisis numérico con SciPy; Cálculo simbólico con SymPy; Introducción a la depuración, testing y buenas prácticas; Instalación de Python en Windows. Este material ha sido elaborado gracias a la ayuda económica conc...

  14. Tongue worm (Pentastomida) infection in ball pythons (Python regius) – a case report

    Science.gov (United States)

    Gałęcki, Remigiusz; Sokół, Rajmund; Dudek, Agnieszka

    Tongue worms (Pentastomida) are endoparasites causing pentastomiasis, an invasive disease representing a threat to exotic animals and humans. Animals acquire infection via the alimentary tract. In reptiles, the parasite is present in the lungs, resulting in symptoms from the respiratory system. Pentastomiasis may be asymptomatic, but nonspecific symptoms may occur at high parasite concentrations. Due to the harmful effects of many antiparasitic substances, tongue worm invasion in reptiles remains not fully treatable. Although pentasomiasis is rarely diagnosed in Poland, pentastomids were diagnosed in two ball pythons, who were patients of the “Poliklinika Weterynaryjna” veterinary clinic. They demonstrated problems with the respiratory system and a significant deterioration of health. Fenbendazole at a dose of 100 mg/kg b.w., repeated after 7 days was shown to be effective.

  15. The influence of mechanical ventilation on physiological parameters in ball pythons (Python regius).

    Science.gov (United States)

    Jakobsen, Sashia L; Williams, Catherine J A; Wang, Tobias; Bertelsen, Mads F

    2017-05-01

    Mechanical ventilation is widely recommended for reptiles during anesthesia, and while it is well-known that their low ectothermic metabolism requires much lower ventilation than in mammals, very little is known about the influence of ventilation protocol on the recovery from anesthesia. Here, 15 ball pythons (Python regius) were induced and maintained with isoflurane for 60min at one of three ventilation protocols (30, 125, or 250mlmin -1 kg -1 body mass) while an arterial catheter was inserted, and ventilation was then continued on 100% oxygen at the specified rate until voluntary extubation. Mean arterial blood pressure and heart rate (HR) were measured, and arterial blood samples collected at 60, 80, 180min and 12 and 24h after intubation. In all three groups, there was evidence of a metabolic acidosis, and snakes maintained at 30mlmin -1 kg -1 experienced an additional respiratory acidosis, while the two other ventilation protocols resulted in normal or low arterial PCO 2 . In general, normal acid-base status was restored within 12h in all three protocols. HR increased by 143±64% during anesthesia with high mechanical ventilation (250mlmin -1 kg -1 ) in comparison with recovered values. Recovery times after mechanical ventilation at 30, 125, or 250mlmin -1 kg -1 were 289±70, 126±16, and 68±7min, respectively. Mild overventilation may result in a faster recovery, and the associated lowering of arterial PCO 2 normalised arterial pH in the face of metabolic acidosis. Copyright © 2017 Elsevier Inc. All rights reserved.

  16. Spectral domain optical coherence tomography imaging of spectacular ecdysis in the royal python (Python regius).

    Science.gov (United States)

    Tusler, Charlotte A; Maggs, David J; Kass, Philip H; Paul-Murphy, Joanne R; Schwab, Ivan R; Murphy, Christopher J

    2015-01-01

    To describe using spectral domain optical coherence tomography (SD-OCT), digital slit-lamp biomicroscopy, and external photography, changes in the ophidian cuticle, spectacle, and cornea during ecdysis. Four normal royal pythons (Python regius). Snakes were assessed once daily throughout a complete shed cycle using nasal, axial, and temporal SD-OCT images, digital slit-lamp biomicroscopy, and external photography. Spectral domain optical coherence tomography (SD-OCT) images reliably showed the spectacular cuticle and stroma, subcuticular space (SCS), cornea, anterior chamber, iris, and Schlemm's canal. When visible, the subspectacular space (SSS) was more distended peripherally than axially. Ocular surface changes throughout ecdysis were relatively conserved among snakes at all three regions imaged. From baseline (7 days following completion of a full cycle), the spectacle gradually thickened before separating into superficial cuticular and deep, hyper-reflective stromal components, thereby creating the SCS. During spectacular separation, the stroma regained original reflectivity, and multiple hyper-reflective foci (likely fragments from the cuticular-stromal interface) were noted within the SCS. The cornea was relatively unchanged in character or thickness throughout all stages of ecdysis. Slit-lamp images did not permit observation of these changes. Spectral domain optical coherence tomography (SD-OCT) provided excellent high-resolution images of the snake anterior segment, and especially the cuticle, spectacle, and cornea of manually restrained normal snakes at all stages of ecdysis and warrants investigation in snakes with anterior segment disease. The peripheral spectacle may be the preferred entry point for diagnostic or therapeutic injections into the SSS and for initiating spectacular surgery. © 2014 American College of Veterinary Ophthalmologists.

  17. High performance Python for direct numerical simulations of turbulent flows

    Science.gov (United States)

    Mortensen, Mikael; Langtangen, Hans Petter

    2016-06-01

    Direct Numerical Simulations (DNS) of the Navier Stokes equations is an invaluable research tool in fluid dynamics. Still, there are few publicly available research codes and, due to the heavy number crunching implied, available codes are usually written in low-level languages such as C/C++ or Fortran. In this paper we describe a pure scientific Python pseudo-spectral DNS code that nearly matches the performance of C++ for thousands of processors and billions of unknowns. We also describe a version optimized through Cython, that is found to match the speed of C++. The solvers are written from scratch in Python, both the mesh, the MPI domain decomposition, and the temporal integrators. The solvers have been verified and benchmarked on the Shaheen supercomputer at the KAUST supercomputing laboratory, and we are able to show very good scaling up to several thousand cores. A very important part of the implementation is the mesh decomposition (we implement both slab and pencil decompositions) and 3D parallel Fast Fourier Transforms (FFT). The mesh decomposition and FFT routines have been implemented in Python using serial FFT routines (either NumPy, pyFFTW or any other serial FFT module), NumPy array manipulations and with MPI communications handled by MPI for Python (mpi4py). We show how we are able to execute a 3D parallel FFT in Python for a slab mesh decomposition using 4 lines of compact Python code, for which the parallel performance on Shaheen is found to be slightly better than similar routines provided through the FFTW library. For a pencil mesh decomposition 7 lines of code is required to execute a transform.

  18. Solving PDEs in Python the FEniCS tutorial I

    CERN Document Server

    Langtangen, Hans Petter

    2016-01-01

    This book offers a concise and gentle introduction to finite element programming in Python based on the popular FEniCS software library. Using a series of examples, including the Poisson equation, the equations of linear elasticity, the incompressible Navier–Stokes equations, and systems of nonlinear advection–diffusion–reaction equations, it guides readers through the essential steps to quickly solving a PDE in FEniCS, such as how to define a finite variational problem, how to set boundary conditions, how to solve linear and nonlinear systems, and how to visualize solutions and structure finite element Python programs. This book is open access under a CC BY license.

  19. Jet flavor tagging with Deep Learning using Python

    CERN Multimedia

    CERN. Geneva

    2016-01-01

    Besides the part that implements the resulting deep neural net in the ATLAS C++ software framework, a Python framework has been developed to connect HEP data to standard Data Science Python based libraries for Machine Learning. It makes use of HDF5, JSON and Pickle as intermediate data storage format, pandas and numpy for data handling and calculations, Keras for neural net construction and training as well as testing and matplotlib for plotting. It can be seen as an example of taking advantage of outside-HEP software developments without relying on the HEP standard ROOT.

  20. Identification par coprologie des helminthes de python regius dans ...

    African Journals Online (AJOL)

    L'étude de la charge helminthique du Python regius a été réalisée de décembre 2007 à juin 2008 dans 4 fermes d'élevage de reptiles installées dans les villes de Bohicon et d'Abomey. Les examens coprologiques ont été réalisés sur 45 pythons. Au total, 10 espèces de nématodes et 1 espèce de cestode ont été ...

  1. Advanced PANIC quick-look tool using Python

    Science.gov (United States)

    Ibáñez, José-Miguel; García Segura, Antonio J.; Storz, Clemens; Fried, Josef W.; Fernández, Matilde; Rodríguez Gómez, Julio F.; Terrón, V.; Cárdenas, M. C.

    2012-09-01

    PANIC, the Panoramic Near Infrared Camera, is an instrument for the Calar Alto Observatory currently being integrated in laboratory and whose first light is foreseen for end 2012 or early 2013. We present here how the PANIC Quick-Look tool (PQL) and pipeline (PAPI) are being implemented, using existing rapid programming Python technologies and packages, together with well-known astronomical software suites (Astromatic, IRAF) and parallel processing techniques. We will briefly describe the structure of the PQL tool, whose main characteristics are the use of the SQLite database and PyQt, a Python binding of the GUI toolkit Qt.

  2. Fatal Purpureocillium lilacinum pneumonia in a green tree python.

    Science.gov (United States)

    Meyer, Jean; Loncaric, Igor; Richter, Barbara; Spergser, Joachim

    2018-03-01

    A 10-y-old female green tree python ( Morelia viridis) died of fungal pneumonia caused by Purpureocillium lilacinum, which was confirmed histologically and by PCR and subsequent DNA sequencing. The same fungal species was cultivated from a swab taken from the terrarium in which the snake was housed. Clinical and environmental P. lilacinum isolates were indistinguishable by the typing method applied, strongly suggesting clonal relatedness of both isolates. Because no other underlying predisposing respiratory infection could be detected by virus-specific PCR or histopathology, P. lilacinum was considered a primary pulmonary pathogen in this tree python.

  3. Python 3 text processing with NLTK 3 cookbook

    CERN Document Server

    Perkins, Jacob

    2014-01-01

    This book is intended for Python programmers interested in learning how to do natural language processing. Maybe you've learned the limits of regular expressions the hard way, or you've realized that human language cannot be deterministically parsed like a computer language. Perhaps you have more text than you know what to do with, and need automated ways to analyze and structure that text. This Cookbook will show you how to train and use statistical language models to process text in ways that are practically impossible with standard programming tools. A basic knowledge of Python and the basi

  4. SClib, a hack for straightforward embedded C functions in Python

    OpenAIRE

    Fuentes, Esteban; Martinez, Hector E.

    2014-01-01

    We present SClib, a simple hack that allows easy and straightforward evaluation of C functions within Python code, boosting flexibility for better trade-off between computation power and feature availability, such as visualization and existing computation routines in SciPy. We also present two cases were SClib has been used. In the first set of applications we use SClib to write a port to Python of a Schr\\"odinger equation solver that has been extensively used the literature, the resulting sc...

  5. Identification of a novel nidovirus in an outbreak of fatal respiratory disease in ball pythons (Python regius).

    Science.gov (United States)

    Uccellini, Lorenzo; Ossiboff, Robert J; de Matos, Ricardo E C; Morrisey, James K; Petrosov, Alexandra; Navarrete-Macias, Isamara; Jain, Komal; Hicks, Allison L; Buckles, Elizabeth L; Tokarz, Rafal; McAloose, Denise; Lipkin, Walter Ian

    2014-08-08

    Respiratory infections are important causes of morbidity and mortality in reptiles; however, the causative agents are only infrequently identified. Pneumonia, tracheitis and esophagitis were reported in a collection of ball pythons (Python regius). Eight of 12 snakes had evidence of bacterial pneumonia. High-throughput sequencing of total extracted nucleic acids from lung, esophagus and spleen revealed a novel nidovirus. PCR indicated the presence of viral RNA in lung, trachea, esophagus, liver, and spleen. In situ hybridization confirmed the presence of intracellular, intracytoplasmic viral nucleic acids in the lungs of infected snakes. Phylogenetic analysis based on a 1,136 amino acid segment of the polyprotein suggests that this virus may represent a new species in the subfamily Torovirinae. This report of a novel nidovirus in ball pythons may provide insight into the pathogenesis of respiratory disease in this species and enhances our knowledge of the diversity of nidoviruses.

  6. The Atomic Simulation Environment - A Python library for working with atoms

    DEFF Research Database (Denmark)

    Larsen, Ask Hjorth; Mortensen, Jens Jørgen; Blomqvist, Jakob

    2017-01-01

    The Atomic Simulation Environment (ASE) is a software package written in the Python programming language with the aim of setting up, steering, and analyzing atomistic simula- tions. In ASE, tasks are fully scripted in Python. The powerful syntax of Python combined with the NumPy array library make...

  7. Photodermatitis and photokeratoconjunctivitis in a ball python (Python regius) and a blue-tongue skink (Tiliqua spp.).

    Science.gov (United States)

    Gardiner, David W; Baines, Frances M; Pandher, Karamjeet

    2009-12-01

    A male ball python (Python regius) and a female blue tongue skink (Tiliqua spp.) of unknown age were evaluated for anorexia, lethargy, excessive shedding, corneal opacity (python), and weight loss (skink) of approximately three weeks' duration. These animals represented the worst affected animals from a private herpetarium where many animals exhibited similar signs. At necropsy, the python had bilateral corneal opacity and scattered moderate dysecdysis. The skink had mild dysecdysis, poor body condition, moderate intestinal nematodiasis, and mild liver atrophy. Microscopic evaluation revealed epidermal erosion and ulceration, with severe epidermal basal cell degeneration and necrosis, and superficial dermatitis (python and skink). Severe bilateral ulcerative keratoconjunctivitis with bacterial colonization was noted in the ball python. Microscopic findings within the skin and eyes were suggestive of ultraviolet (UV) radiation damage or of photodermatitis and photokeratoconjunctivitis. Removal of the recently installed new lamps from the terrariums of the surviving reptiles resulted in resolution of clinical signs. Evaluation of a sample lamp of the type associated with these cases revealed an extremely high UV output, including very-short-wavelength UVB, neither found in natural sunlight nor emitted by several other UVB lamps unassociated with photokeratoconjunctivitis. Exposure to high-intensity and/or inappropriate wavelengths of UV radiation may be associated with significant morbidity, and even mortality, in reptiles. Veterinarians who are presented with reptiles with ocular and/or cutaneous disease of unapparent cause should fully evaluate the specifics of the vivarium light sources. Further research is needed to determine the characteristics of appropriate and of toxic UV light for reptiles kept in captivity.

  8. pypet: A Python Toolkit for Data Management of Parameter Explorations

    Directory of Open Access Journals (Sweden)

    Robert Meyer

    2016-08-01

    Full Text Available pypet (Python parameter exploration toolkit is a new multi-platform Python toolkit for managing numerical simulations. Sampling the space of model parameters is a key aspect of simulations and numerical experiments. pypet is designed to allow easy and arbitrary sampling of trajectories through a parameter space beyond simple grid searches.pypet collects and stores both simulation parameters and results in a single HDF5 file.This collective storage allows fast and convenient loading of data for further analyses.pypet provides various additional features such as multiprocessing and parallelization of simulations, dynamic loading of data, integration of git version control, and supervision of experiments via the electronic lab notebook Sumatra. pypet supports a rich set of data formats, including native Python types, Numpy and Scipy data, Pandas DataFrames, and BRIAN(2 quantities. Besides these formats, users can easily extend the toolkit to allow customized data types. pypet is a flexible tool suited for both short Python scripts and large scale projects. pypet's various features, especially the tight link between parameters and results, promote reproducible research in computational neuroscience and simulation-based disciplines.

  9. OMPC: an Open-Source MATLAB®-to-Python Compiler

    Science.gov (United States)

    Jurica, Peter; van Leeuwen, Cees

    2008-01-01

    Free access to scientific information facilitates scientific progress. Open-access scientific journals are a first step in this direction; a further step is to make auxiliary and supplementary materials that accompany scientific publications, such as methodological procedures and data-analysis tools, open and accessible to the scientific community. To this purpose it is instrumental to establish a software base, which will grow toward a comprehensive free and open-source language of technical and scientific computing. Endeavors in this direction are met with an important obstacle. MATLAB®, the predominant computation tool in many fields of research, is a closed-source commercial product. To facilitate the transition to an open computation platform, we propose Open-source MATLAB®-to-Python Compiler (OMPC), a platform that uses syntax adaptation and emulation to allow transparent import of existing MATLAB® functions into Python programs. The imported MATLAB® modules will run independently of MATLAB®, relying on Python's numerical and scientific libraries. Python offers a stable and mature open source platform that, in many respects, surpasses commonly used, expensive commercial closed source packages. The proposed software will therefore facilitate the transparent transition towards a free and general open-source lingua franca for scientific computation, while enabling access to the existing methods and algorithms of technical computing already available in MATLAB®. OMPC is available at http://ompc.juricap.com. PMID:19225577

  10. Fixing the Sorting Algorithm for Android, Java and Python

    NARCIS (Netherlands)

    C.P.T. de Gouw (Stijn); F.S. de Boer (Frank)

    2015-01-01

    htmlabstractTim Peters developed the Timsort hybrid sorting algorithm in 2002. TimSort was first developed for Python, a popular programming language, but later ported to Java (where it appears as java.util.Collections.sort and java.util.Arrays.sort). TimSort is today used as the default sorting

  11. Accelerating Development and Maintenance of Scientific Python Distributions

    Science.gov (United States)

    2013-05-01

    this modified version of Python-HPCMP has been done together with Ondrej Certik from the Texas Advanced Computing Center and Chris Kees (ERDC-CM...Improved sandbox functionality: Hashdist currently has an optional "jail" (Linux only) which able to capture filesystem access to "illegal" files made

  12. Python for Scientific Computing Education: Modeling of Queueing Systems

    Directory of Open Access Journals (Sweden)

    Vladimiras Dolgopolovas

    2014-01-01

    Full Text Available In this paper, we present the methodology for the introduction to scientific computing based on model-centered learning. We propose multiphase queueing systems as a basis for learning objects. We use Python and parallel programming for implementing the models and present the computer code and results of stochastic simulations.

  13. Cosmic tragedy in Steve Chimombo's The Python | Molande ...

    African Journals Online (AJOL)

    Cosmic tragedy in Steve Chimombo's The Python. Bright Molande. Abstract. No Abstract. Full Text: EMAIL FREE FULL TEXT EMAIL FREE FULL TEXT · DOWNLOAD FULL TEXT DOWNLOAD FULL TEXT · AJOL African Journals Online. HOW TO USE AJOL... for Researchers · for Librarians · for Authors · FAQ's · More about ...

  14. Python Source Code Plagiarism Attacks on Introductory Programming Course Assignments

    Science.gov (United States)

    Karnalim, Oscar

    2017-01-01

    This paper empirically enlists Python plagiarism attacks that have been found on Introductory Programming course assignments for undergraduate students. According to our observation toward 400 plagiarism-suspected cases, there are 35 plagiarism attacks that have been conducted by students. It starts with comment & whitespace modification as…

  15. Maybe it's not Python that sucks, maybe it's my code

    CERN Multimedia

    CERN. Geneva

    2015-01-01

    Did you know that in Python integers from -5 to 257 are preallocated? Reusing them 1000 times, instead of allocating memory for a bigger integer, saves a whopping 1 millisecond of code's execution time! Isn't that thrilling? Well, before you get that crazy, learn some basic performance tricks that you can start using today.

  16. Implementing a Multi-Agent System in Python

    DEFF Research Database (Denmark)

    Ettienne, Mikko Berggren; Vester, Steen; Villadsen, Jørgen

    2012-01-01

    We describe the solution used by the Python-DTU team in the Multi-Agent Programming Contest 2011, where the scenario was called Agents on Mars. We present our auction-based agreement, area controlling and pathfinding algorithms and discuss our chosen strategy and our choice of technology used...

  17. Cost versus Precision for Approximate Typing for Python

    NARCIS (Netherlands)

    Fritz, Levin; Hage, J|info:eu-repo/dai/nl/229637221

    2014-01-01

    In this paper we describe a variation of monotone frameworks that enables us to perform approximate typing of Python, in particular for dealing with some of its more dynamic features such as first-class functions and Python’s dynamic class system. We additionally introduce a substantial number of

  18. OMPC: an Open-Source MATLAB-to-Python Compiler.

    Science.gov (United States)

    Jurica, Peter; van Leeuwen, Cees

    2009-01-01

    Free access to scientific information facilitates scientific progress. Open-access scientific journals are a first step in this direction; a further step is to make auxiliary and supplementary materials that accompany scientific publications, such as methodological procedures and data-analysis tools, open and accessible to the scientific community. To this purpose it is instrumental to establish a software base, which will grow toward a comprehensive free and open-source language of technical and scientific computing. Endeavors in this direction are met with an important obstacle. MATLAB((R)), the predominant computation tool in many fields of research, is a closed-source commercial product. To facilitate the transition to an open computation platform, we propose Open-source MATLAB((R))-to-Python Compiler (OMPC), a platform that uses syntax adaptation and emulation to allow transparent import of existing MATLAB((R)) functions into Python programs. The imported MATLAB((R)) modules will run independently of MATLAB((R)), relying on Python's numerical and scientific libraries. Python offers a stable and mature open source platform that, in many respects, surpasses commonly used, expensive commercial closed source packages. The proposed software will therefore facilitate the transparent transition towards a free and general open-source lingua franca for scientific computation, while enabling access to the existing methods and algorithms of technical computing already available in MATLAB((R)). OMPC is available at http://ompc.juricap.com.

  19. Aura: A Multi-Featured Programming Framework in Python

    Directory of Open Access Journals (Sweden)

    2010-09-01

    Full Text Available This paper puts forward the design, programming and application of innovative educational software, ‘Aura’ made using Python and PyQt Python bindings. The research paper presents a new concept of using a single tool to relate between syntaxes of various programming languages and algorithms. It radically increases their understanding and retaining capacity, since they can correlate between many programming languages. The software is a totally unorthodox attempt towards helping students who have their first tryst with programming languages. The application is designed to help students understand how algorithms work and thus, help them in learning multiple programming languages on a single platform using an interactive graphical user interface. This paper elucidates how using Python and PyQt bindings, a comprehensive feature rich application, that implements an interactive algorithm building technique, a web browser, multiple programming language framework, a code generator and a real time code sharing hub be embedded into a single interface. And also explains, that using Python as building tool, it requires much less coding than conventional feature rich applications coded in other programming languages, and at the same time does not compromise on stability, inter-operability and robustness of the application.

  20. Status of parallel Python-based implementation of UEDGE

    Science.gov (United States)

    Umansky, M. V.; Pankin, A. Y.; Rognlien, T. D.; Dimits, A. M.; Friedman, A.; Joseph, I.

    2017-10-01

    The tokamak edge transport code UEDGE has long used the code-development and run-time framework Basis. However, with the support for Basis expected to terminate in the coming years, and with the advent of the modern numerical language Python, it has become desirable to move UEDGE to Python, to ensure its long-term viability. Our new Python-based UEDGE implementation takes advantage of the portable build system developed for FACETS. The new implementation gives access to Python's graphical libraries and numerical packages for pre- and post-processing, and support of HDF5 simplifies exchanging data. The older serial version of UEDGE has used for time-stepping the Newton-Krylov solver NKSOL. The renovated implementation uses backward Euler discretization with nonlinear solvers from PETSc, which has the promise to significantly improve the UEDGE parallel performance. We will report on assessment of some of the extended UEDGE capabilities emerging in the new implementation, and will discuss the future directions. Work performed for U.S. DOE by LLNL under contract DE-AC52-07NA27344.

  1. Building and documenting workflows with python-based snakemake

    NARCIS (Netherlands)

    J. Köster (Johannes); S. Rahmann (Sven)

    2012-01-01

    textabstractSnakemake is a novel workflow engine with a simple Python-derived workflow definition language and an optimizing execution environment. It is the first system that supports multiple named wildcards (or variables) in input and output filenames of each rule definition. It also allows to

  2. Duplicating MC-15 Output with Python and MCNP

    Energy Technology Data Exchange (ETDEWEB)

    McSpaden, Alexander Thomas [Los Alamos National Lab. (LANL), Los Alamos, NM (United States)

    2017-08-23

    Two Python scripts have been written that process the output files of MCNP6 into a format that mimics the list-mode output of Los Alamos National Laboratory’s MC-15 and NPOD neutron detection systems. This report details the methods implemented in these scripts and instructions on their use.

  3. Wyrm: A Brain-Computer Interface Toolbox in Python.

    Science.gov (United States)

    Venthur, Bastian; Dähne, Sven; Höhne, Johannes; Heller, Hendrik; Blankertz, Benjamin

    2015-10-01

    In the last years Python has gained more and more traction in the scientific community. Projects like NumPy, SciPy, and Matplotlib have created a strong foundation for scientific computing in Python and machine learning packages like scikit-learn or packages for data analysis like Pandas are building on top of it. In this paper we present Wyrm ( https://github.com/bbci/wyrm ), an open source BCI toolbox in Python. Wyrm is applicable to a broad range of neuroscientific problems. It can be used as a toolbox for analysis and visualization of neurophysiological data and in real-time settings, like an online BCI application. In order to prevent software defects, Wyrm makes extensive use of unit testing. We will explain the key aspects of Wyrm's software architecture and design decisions for its data structure, and demonstrate and validate the use of our toolbox by presenting our approach to the classification tasks of two different data sets from the BCI Competition III. Furthermore, we will give a brief analysis of the data sets using our toolbox, and demonstrate how we implemented an online experiment using Wyrm. With Wyrm we add the final piece to our ongoing effort to provide a complete, free and open source BCI system in Python.

  4. Write Python instead of SQL - an introduction to SQLAlchemy.

    CERN Multimedia

    CERN. Geneva

    2016-01-01

    SQLAlchemy is the most popular ORM and SQL abstraction layer for Python and used by multiple big projects at CERN such as Indico or Invenio. In my talk I'm going to give a short introduction on how to use it.

  5. p3d--Python module for structural bioinformatics.

    Science.gov (United States)

    Fufezan, Christian; Specht, Michael

    2009-08-21

    High-throughput bioinformatic analysis tools are needed to mine the large amount of structural data via knowledge based approaches. The development of such tools requires a robust interface to access the structural data in an easy way. For this the Python scripting language is the optimal choice since its philosophy is to write an understandable source code. p3d is an object oriented Python module that adds a simple yet powerful interface to the Python interpreter to process and analyse three dimensional protein structure files (PDB files). p3d's strength arises from the combination of a) very fast spatial access to the structural data due to the implementation of a binary space partitioning (BSP) tree, b) set theory and c) functions that allow to combine a and b and that use human readable language in the search queries rather than complex computer language. All these factors combined facilitate the rapid development of bioinformatic tools that can perform quick and complex analyses of protein structures. p3d is the perfect tool to quickly develop tools for structural bioinformatics using the Python scripting language.

  6. PyIO: Input-Output Analysis with Python

    OpenAIRE

    Suahasil Nazara; Dong Guo; Geoffrey J. D. Hewings; Chokri Dridi

    2004-01-01

    This is a User Manual about PyIO, an Input-Output analysis tool using Python. Up to date software is available from the Regional Economics Applications Laboratory (University of Illinois at Urbana-Champaign) homepage. http://www.uiuc.edu/unit/real/

  7. Monty Python e a inversão do platonismo

    Directory of Open Access Journals (Sweden)

    Flavia Pitaluga

    2008-11-01

    Full Text Available O objetivo deste trabalho é analisar os filmes Monty Python and the holy grail (Em busca do cálice sagrado e Monty Python's life of Brian (A vida de Brian à luz das discussões de Gilles Deleuze sobre o sentido na filosofia dos estóicos. A inversão do platonismo e a ascensão à superfície dos simulacros são problemas centrais para compreendermos o humor do grupo. Ao longo da discussão, as questões sobre o lugar do clichê no cinema, o falso e suas potências e a injeção de temporalidade nas produções cinematográficas, uma das características do cinema moderno, serão abordadas. A hipótese destas articulações é que a morte de Deus (crise da Verdade é inseparável da maneira como o indivíduo moderno experimenta o tempo: o cinema moderno, ao fazer "a apresentação direta do tempo" (DELEUZE, 1990, coloca em questão a linearidade e a própria verdade como representáveis. Palavras-chave: simulacro; nonsense; humor; Monty Python Abstract: Monty Python and the inversion of Platonism — The purpose of this paper is to analyze the films "Monty Python and the Holy Grail" and "Monty Python's Life of Brian" in the light of Gilles Deleuze's reflections about meaning in the philosophy of the Stoics. The inversion of Platonism and the rise of simulacra to the surface are keys to understanding the group's humor. This discussion examines questions relating to the role of clichés in motion pictures, the fake and its powers, and the insertion of temporality in film productions as one of the characteristics of modern moviemaking. The hypothesis underpinning these articulations is that the death of God (the crisis of Truth is inseparable from the way in which modern individuals experience time: modern cinema, in its "direct presentation of time" (DELEUZE, 1990, questions linearity and truth itself as being representable. Keywords: simulacrum; nonsense; humor; Monty Python

  8. Flexible Environmental Modeling with Python and Open - GIS

    Science.gov (United States)

    Pryet, Alexandre; Atteia, Olivier; Delottier, Hugo; Cousquer, Yohann

    2015-04-01

    Numerical modeling now represents a prominent task of environmental studies. During the last decades, numerous commercial programs have been made available to environmental modelers. These software applications offer user-friendly graphical user interfaces that allow an efficient management of many case studies. However, they suffer from a lack of flexibility and closed-source policies impede source code reviewing and enhancement for original studies. Advanced modeling studies require flexible tools capable of managing thousands of model runs for parameter optimization, uncertainty and sensitivity analysis. In addition, there is a growing need for the coupling of various numerical models associating, for instance, groundwater flow modeling to multi-species geochemical reactions. Researchers have produced hundreds of open-source powerful command line programs. However, there is a need for a flexible graphical user interface allowing an efficient processing of geospatial data that comes along any environmental study. Here, we present the advantages of using the free and open-source Qgis platform and the Python scripting language for conducting environmental modeling studies. The interactive graphical user interface is first used for the visualization and pre-processing of input geospatial datasets. Python scripting language is then employed for further input data processing, call to one or several models, and post-processing of model outputs. Model results are eventually sent back to the GIS program, processed and visualized. This approach combines the advantages of interactive graphical interfaces and the flexibility of Python scripting language for data processing and model calls. The numerous python modules available facilitate geospatial data processing and numerical analysis of model outputs. Once input data has been prepared with the graphical user interface, models may be run thousands of times from the command line with sequential or parallel calls. We

  9. Comparison of cyclic correlation algorithm implemented in matlab and python

    Science.gov (United States)

    Carr, Richard; Whitney, James

    Simulation is a necessary step for all engineering projects. Simulation gives the engineers an approximation of how their devices will perform under different circumstances, without hav-ing to build, or before building a physical prototype. This is especially true for space bound devices, i.e., space communication systems, where the impact of system malfunction or failure is several orders of magnitude over that of terrestrial applications. Therefore having a reliable simulation tool is key in developing these devices and systems. Math Works Matrix Laboratory (MATLAB) is a matrix based software used by scientists and engineers to solve problems and perform complex simulations. MATLAB has a number of applications in a wide variety of fields which include communications, signal processing, image processing, mathematics, eco-nomics and physics. Because of its many uses MATLAB has become the preferred software for many engineers; it is also very expensive, especially for students and startups. One alternative to MATLAB is Python. The Python is a powerful, easy to use, open source programming environment that can be used to perform many of the same functions as MATLAB. Python programming environment has been steadily gaining popularity in niche programming circles. While there are not as many function included in the software as MATLAB, there are many open source functions that have been developed that are available to be downloaded for free. This paper illustrates how Python can implement the cyclic correlation algorithm and com-pares the results to the cyclic correlation algorithm implemented in the MATLAB environment. Some of the characteristics to be compared are the accuracy and precision of the results, and the length of the programs. The paper will demonstrate that Python is capable of performing simulations of complex algorithms such cyclic correlation.

  10. An intuitive Python interface for Bioconductor libraries demonstrates the utility of language translators

    DEFF Research Database (Denmark)

    Gautier, Laurent

    2010-01-01

    time, Python has matured as a rich and reliable language for the agile development of prototypes or final implementations, as well as for handling large data sets. Results The data structures and functions from Bioconductor can be exposed to Python as a regular library. This allows a fully transparent...... and native use of Bioconductor from Python, without one having to know the R language and with only a small community of translators required to know both. To demonstrate this, we have implemented such Python representations for key infrastructure packages in Bioconductor, letting a Python programmer handle...... annotation data, microarray data, and next-generation sequencing data. Conclusions Bioconductor is now not solely reserved to R users. Building a Python application using Bioconductor functionality can be done just like if Bioconductor was a Python package....

  11. The Python ARM Radar Toolkit (Py-ART), a Library for Working with Weather Radar Data in the Python Programming Language

    National Research Council Canada - National Science Library

    Helmus, Jonathan J; Collis, Scott M

    2016-01-01

    ... radars in the Python programming language. The toolkit is built on top of libraries in the Scientific Python ecosystem including NumPy, SciPy, and matplotlib, and makes use of Cython for interfacing with existing radar libraries written in C...

  12. xarray: N-D labeled Arrays and Datasets in Python

    Directory of Open Access Journals (Sweden)

    Stephan Hoyer

    2017-04-01

    Full Text Available xarray is an open source project and Python package that provides a toolkit and data structures for N-dimensional labeled arrays. Our approach combines an application programing interface (API inspired by pandas with the Common Data Model for self-described scientific data. Key features of the xarray package include label-based indexing and arithmetic, interoperability with the core scientific Python packages (e.g., pandas, NumPy, Matplotlib, out-of-core computation on datasets that don’t fit into memory, a wide range of serialization and input/output (I/O options, and advanced multi-dimensional data manipulation tools such as group-by and resampling. xarray, as a data model and analytics toolkit, has been widely adopted in the geoscience community but is also used more broadly for multi-dimensional data analysis in physics, machine learning and finance.

  13. cyvcf2: fast, flexible variant analysis with Python.

    Science.gov (United States)

    Pedersen, Brent S; Quinlan, Aaron R

    2017-06-15

    Variant call format (VCF) files document the genetic variation observed after DNA sequencing, alignment and variant calling of a sample cohort. Given the complexity of the VCF format as well as the diverse variant annotations and genotype metadata, there is a need for fast, flexible methods enabling intuitive analysis of the variant data within VCF and BCF files. We introduce cyvcf2 , a Python library and software package for fast parsing and querying of VCF and BCF files and illustrate its speed, simplicity and utility. bpederse@gmail.com or aaronquinlan@gmail.com. cyvcf2 is available from https://github.com/brentp/cyvcf2 under the MIT license and from common python package managers. Detailed documentation is available at http://brentp.github.io/cyvcf2/.

  14. Xarray: multi-dimensional data analysis in Python

    Science.gov (United States)

    Hoyer, Stephan; Hamman, Joe; Maussion, Fabien

    2017-04-01

    xarray (http://xarray.pydata.org) is an open source project and Python package that provides a toolkit and data structures for N-dimensional labeled arrays, which are the bread and butter of modern geoscientific data analysis. Key features of the package include label-based indexing and arithmetic, interoperability with the core scientific Python packages (e.g., pandas, NumPy, Matplotlib, Cartopy), out-of-core computation on datasets that don't fit into memory, a wide range of input/output options, and advanced multi-dimensional data manipulation tools such as group-by and resampling. In this contribution we will present the key features of the library and demonstrate its great potential for a wide range of applications, from (big-)data processing on super computers to data exploration in front of a classroom.

  15. Brian: a simulator for spiking neural networks in Python

    Directory of Open Access Journals (Sweden)

    Dan F M Goodman

    2008-11-01

    Full Text Available Brian is a new simulator for spiking neural networks, written in Python (http://brian.di.ens.fr. It is an intuitive and highly flexible tool for rapidly developing new models, especially networks of single-compartment neurons. In addition to using standard types of neuron models, users can define models by writing arbitrary differential equations in ordinary mathematical notation. Python scientific libraries can also be used for defining models and analysing data. Vectorisation techniques allow efficient simulations despite the overheads of an interpreted language. Brian will be especially valuable for working on non-standard neuron models not easily covered by existing software, and as an alternative to using Matlab or C for simulations. With its easy and intuitive syntax, Brian is also very well suited for teaching computational neuroscience.

  16. Pyvolve: A Flexible Python Module for Simulating Sequences along Phylogenies.

    Science.gov (United States)

    Spielman, Stephanie J; Wilke, Claus O

    2015-01-01

    We introduce Pyvolve, a flexible Python module for simulating genetic data along a phylogeny using continuous-time Markov models of sequence evolution. Easily incorporated into Python bioinformatics pipelines, Pyvolve can simulate sequences according to most standard models of nucleotide, amino-acid, and codon sequence evolution. All model parameters are fully customizable. Users can additionally specify custom evolutionary models, with custom rate matrices and/or states to evolve. This flexibility makes Pyvolve a convenient framework not only for simulating sequences under a wide variety of conditions, but also for developing and testing new evolutionary models. Pyvolve is an open-source project under a FreeBSD license, and it is available for download, along with a detailed user-manual and example scripts, from http://github.com/sjspielman/pyvolve.

  17. Pyvolve: A Flexible Python Module for Simulating Sequences along Phylogenies.

    Directory of Open Access Journals (Sweden)

    Stephanie J Spielman

    Full Text Available We introduce Pyvolve, a flexible Python module for simulating genetic data along a phylogeny using continuous-time Markov models of sequence evolution. Easily incorporated into Python bioinformatics pipelines, Pyvolve can simulate sequences according to most standard models of nucleotide, amino-acid, and codon sequence evolution. All model parameters are fully customizable. Users can additionally specify custom evolutionary models, with custom rate matrices and/or states to evolve. This flexibility makes Pyvolve a convenient framework not only for simulating sequences under a wide variety of conditions, but also for developing and testing new evolutionary models. Pyvolve is an open-source project under a FreeBSD license, and it is available for download, along with a detailed user-manual and example scripts, from http://github.com/sjspielman/pyvolve.

  18. Probabilistic programming in Python using PyMC3

    Directory of Open Access Journals (Sweden)

    John Salvatier

    2016-04-01

    Full Text Available Probabilistic programming allows for automatic Bayesian inference on user-defined probabilistic models. Recent advances in Markov chain Monte Carlo (MCMC sampling allow inference on increasingly complex models. This class of MCMC, known as Hamiltonian Monte Carlo, requires gradient information which is often not readily available. PyMC3 is a new open source probabilistic programming framework written in Python that uses Theano to compute gradients via automatic differentiation as well as compile probabilistic programs on-the-fly to C for increased speed. Contrary to other probabilistic programming languages, PyMC3 allows model specification directly in Python code. The lack of a domain specific language allows for great flexibility and direct interaction with the model. This paper is a tutorial-style introduction to this software package.

  19. PyRAT - python radiography analysis tool (u)

    Energy Technology Data Exchange (ETDEWEB)

    Temple, Brian A [Los Alamos National Laboratory; Buescher, Kevin L [Los Alamos National Laboratory; Armstrong, Jerawan C [Los Alamos National Laboratory

    2011-01-14

    PyRAT is a radiography analysis tool used to reconstruction images of unknown 1-0 objects. The tool is written in Python and developed for use on LINUX and Windows platforms. The tool is capable of performing nonlinear inversions of the images with minimal manual interaction in the optimization process. The tool utilizes the NOMAD mixed variable optimization tool to perform the optimization.

  20. ObsPy: A Python Toolbox for Seismology

    Science.gov (United States)

    Wassermann, J. M.; Krischer, L.; Megies, T.; Barsch, R.; Beyreuther, M.

    2013-12-01

    Python combines the power of a full-blown programming language with the flexibility and accessibility of an interactive scripting language. Its extensive standard library and large variety of freely available high quality scientific modules cover most needs in developing scientific processing workflows. ObsPy is a community-driven, open-source project extending Python's capabilities to fit the specific needs that arise when working with seismological data. It a) comes with a continuously growing signal processing toolbox that covers most tasks common in seismological analysis, b) provides read and write support for many common waveform, station and event metadata formats and c) enables access to various data centers, webservices and databases to retrieve waveform data and station/event metadata. In combination with mature and free Python packages like NumPy, SciPy, Matplotlib, IPython, Pandas, lxml, and PyQt, ObsPy makes it possible to develop complete workflows in Python, ranging from reading locally stored data or requesting data from one or more different data centers via signal analysis and data processing to visualization in GUI and web applications, output of modified/derived data and the creation of publication-quality figures. All functionality is extensively documented and the ObsPy Tutorial and Gallery give a good impression of the wide range of possible use cases. ObsPy is tested and running on Linux, OS X and Windows and comes with installation routines for these systems. ObsPy is developed in a test-driven approach and is available under the LGPLv3 open source licence. Users are welcome to request help, report bugs, propose enhancements or contribute code via either the user mailing list or the project page on GitHub.

  1. SIMA: Python software for analysis of dynamic fluorescence imaging data

    OpenAIRE

    Patrick eKaifosh; Jeffrey eZaremba; Nathan eDanielson; Attila eLosonczy

    2014-01-01

    Fluorescence imaging is a powerful method for monitoring dynamic signals in the nervous system. However, analysis of dynamic fluorescence imaging data remains burdensome, in part due to the shortage of available software tools. To address this need, we have developed SIMA, an open source Python package that facilitates common analysis tasks related to fluorescence imaging. Functionality of this package includes correction of motion artifacts occurring during in vivo imaging with laser-scannin...

  2. Python as a federation tool for GENESIS 3.0.

    Science.gov (United States)

    Cornelis, Hugo; Rodriguez, Armando L; Coop, Allan D; Bower, James M

    2012-01-01

    The GENESIS simulation platform was one of the first broad-scale modeling systems in computational biology to encourage modelers to develop and share model features and components. Supported by a large developer community, it participated in innovative simulator technologies such as benchmarking, parallelization, and declarative model specification and was the first neural simulator to define bindings for the Python scripting language. An important feature of the latest version of GENESIS is that it decomposes into self-contained software components complying with the Computational Biology Initiative federated software architecture. This architecture allows separate scripting bindings to be defined for different necessary components of the simulator, e.g., the mathematical solvers and graphical user interface. Python is a scripting language that provides rich sets of freely available open source libraries. With clean dynamic object-oriented designs, they produce highly readable code and are widely employed in specialized areas of software component integration. We employ a simplified wrapper and interface generator to examine an application programming interface and make it available to a given scripting language. This allows independent software components to be 'glued' together and connected to external libraries and applications from user-defined Python or Perl scripts. We illustrate our approach with three examples of Python scripting. (1) Generate and run a simple single-compartment model neuron connected to a stand-alone mathematical solver. (2) Interface a mathematical solver with GENESIS 3.0 to explore a neuron morphology from either an interactive command-line or graphical user interface. (3) Apply scripting bindings to connect the GENESIS 3.0 simulator to external graphical libraries and an open source three dimensional content creation suite that supports visualization of models based on electron microscopy and their conversion to computational models

  3. A Python Engine for Teaching Artificial Intelligence in Games

    OpenAIRE

    Riedl, Mark O.

    2015-01-01

    Computer games play an important role in our society and motivate people to learn computer science. Since artificial intelligence is integral to most games, they can also be used to teach artificial intelligence. We introduce the Game AI Game Engine (GAIGE), a Python game engine specifically designed to teach about how AI is used in computer games. A progression of seven assignments builds toward a complete, working Multi-User Battle Arena (MOBA) game. We describe the engine, the assignments,...

  4. Python as a federation tool for GENESIS 3.0.

    Directory of Open Access Journals (Sweden)

    Hugo Cornelis

    Full Text Available The GENESIS simulation platform was one of the first broad-scale modeling systems in computational biology to encourage modelers to develop and share model features and components. Supported by a large developer community, it participated in innovative simulator technologies such as benchmarking, parallelization, and declarative model specification and was the first neural simulator to define bindings for the Python scripting language. An important feature of the latest version of GENESIS is that it decomposes into self-contained software components complying with the Computational Biology Initiative federated software architecture. This architecture allows separate scripting bindings to be defined for different necessary components of the simulator, e.g., the mathematical solvers and graphical user interface. Python is a scripting language that provides rich sets of freely available open source libraries. With clean dynamic object-oriented designs, they produce highly readable code and are widely employed in specialized areas of software component integration. We employ a simplified wrapper and interface generator to examine an application programming interface and make it available to a given scripting language. This allows independent software components to be 'glued' together and connected to external libraries and applications from user-defined Python or Perl scripts. We illustrate our approach with three examples of Python scripting. (1 Generate and run a simple single-compartment model neuron connected to a stand-alone mathematical solver. (2 Interface a mathematical solver with GENESIS 3.0 to explore a neuron morphology from either an interactive command-line or graphical user interface. (3 Apply scripting bindings to connect the GENESIS 3.0 simulator to external graphical libraries and an open source three dimensional content creation suite that supports visualization of models based on electron microscopy and their conversion to

  5. Understanding network hacks attack and defense with Python

    CERN Document Server

    Ballmann, Bastian

    2015-01-01

    This book explains how to see one's own network through the eyes of an attacker, to understand their techniques and effectively protect against them. Through Python code samples the reader learns to code tools on subjects such as password sniffing, ARP poisoning, DNS spoofing, SQL injection, Google harvesting and Wifi hacking. Furthermore the reader will be introduced to defense methods such as intrusion detection and prevention systems and log file analysis by diving into code.

  6. E-resource for learning programming in Python

    OpenAIRE

    Strnad, Mojca

    2011-01-01

    For a better understanding of all computer programs, with which nowadays we are surrounded, the demand for knowing programming languages has nowadays been growing. As more and more people have been interested in learning programming languages, even the basic knowledge of only one programming language is very helpful. As there are nowadays already many programming languages, we decided for the programming language Python. It is anticipated as a programming language which is easy to read an...

  7. graphkernels: R and Python packages for graph comparison.

    Science.gov (United States)

    Sugiyama, Mahito; Ghisu, M Elisabetta; Llinares-López, Felipe; Borgwardt, Karsten

    2018-02-01

    Measuring the similarity of graphs is a fundamental step in the analysis of graph-structured data, which is omnipresent in computational biology. Graph kernels have been proposed as a powerful and efficient approach to this problem of graph comparison. Here we provide graphkernels, the first R and Python graph kernel libraries including baseline kernels such as label histogram based kernels, classic graph kernels such as random walk based kernels, and the state-of-the-art Weisfeiler-Lehman graph kernel. The core of all graph kernels is implemented in C ++ for efficiency. Using the kernel matrices computed by the package, we can easily perform tasks such as classification, regression and clustering on graph-structured samples. The R and Python packages including source code are available at https://CRAN.R-project.org/package=graphkernels and https://pypi.python.org/pypi/graphkernels. mahito@nii.ac.jp or elisabetta.ghisu@bsse.ethz.ch. Supplementary data are available online at Bioinformatics.

  8. Text Mining in Python through the HTRC Feature Reader

    Directory of Open Access Journals (Sweden)

    Peter Organisciak

    2016-11-01

    Full Text Available We introduce a toolkit for working with the 13.6 million volume Extracted Features Dataset from the HathiTrust Research Center. You will learn how to peer at the words and trends of any book in the collection, while developing broadly useful Python data analysis skills. The HathiTrust holds nearly 15 million digitized volumes from libraries around the world. In addition to their individual value, these works in aggregate are extremely valuable for historians. Spanning many centuries and genres, they offer a way to learn about large-scale trends in history and culture, as well as evidence for changes in language or even the structure of the book. To simplify access to this collection the HathiTrust Research Center (HTRC has released the Extracted Features dataset (Capitanu et al. 2015: a dataset that provides quantitative information describing every page of every volume in the collection. In this lesson, we introduce the HTRC Feature Reader, a library for working with the HTRC Extracted Features dataset using the Python programming language. The HTRC Feature Reader is structured to support work using popular data science libraries, particularly Pandas. Pandas provides simple structures for holding data and powerful ways to interact with it. The HTRC Feature Reader uses these data structures, so learning how to use it will also cover general data analysis skills in Python.

  9. ACPYPE - AnteChamber PYthon Parser interfacE.

    Science.gov (United States)

    Sousa da Silva, Alan W; Vranken, Wim F

    2012-07-23

    ACPYPE (or AnteChamber PYthon Parser interfacE) is a wrapper script around the ANTECHAMBER software that simplifies the generation of small molecule topologies and parameters for a variety of molecular dynamics programmes like GROMACS, CHARMM and CNS. It is written in the Python programming language and was developed as a tool for interfacing with other Python based applications such as the CCPN software suite (for NMR data analysis) and ARIA (for structure calculations from NMR data). ACPYPE is open source code, under GNU GPL v3, and is available as a stand-alone application at http://www.ccpn.ac.uk/acpype and as a web portal application at http://webapps.ccpn.ac.uk/acpype. We verified the topologies generated by ACPYPE in three ways: by comparing with default AMBER topologies for standard amino acids; by generating and verifying topologies for a large set of ligands from the PDB; and by recalculating the structures for 5 protein-ligand complexes from the PDB. ACPYPE is a tool that simplifies the automatic generation of topology and parameters in different formats for different molecular mechanics programmes, including calculation of partial charges, while being object oriented for integration with other applications.

  10. ACPYPE - AnteChamber PYthon Parser interfacE

    Directory of Open Access Journals (Sweden)

    Sousa da Silva Alan W

    2012-07-01

    Full Text Available Abstract Background ACPYPE (or AnteChamber PYthon Parser interfacE is a wrapper script around the ANTECHAMBER software that simplifies the generation of small molecule topologies and parameters for a variety of molecular dynamics programmes like GROMACS, CHARMM and CNS. It is written in the Python programming language and was developed as a tool for interfacing with other Python based applications such as the CCPN software suite (for NMR data analysis and ARIA (for structure calculations from NMR data. ACPYPE is open source code, under GNU GPL v3, and is available as a stand-alone application at http://www.ccpn.ac.uk/acpype and as a web portal application at http://webapps.ccpn.ac.uk/acpype. Findings We verified the topologies generated by ACPYPE in three ways: by comparing with default AMBER topologies for standard amino acids; by generating and verifying topologies for a large set of ligands from the PDB; and by recalculating the structures for 5 protein–ligand complexes from the PDB. Conclusions ACPYPE is a tool that simplifies the automatic generation of topology and parameters in different formats for different molecular mechanics programmes, including calculation of partial charges, while being object oriented for integration with other applications.

  11. BioC implementations in Go, Perl, Python and Ruby.

    Science.gov (United States)

    Liu, Wanli; Islamaj Doğan, Rezarta; Kwon, Dongseop; Marques, Hernani; Rinaldi, Fabio; Wilbur, W John; Comeau, Donald C

    2014-01-01

    As part of a communitywide effort for evaluating text mining and information extraction systems applied to the biomedical domain, BioC is focused on the goal of interoperability, currently a major barrier to wide-scale adoption of text mining tools. BioC is a simple XML format, specified by DTD, for exchanging data for biomedical natural language processing. With initial implementations in C++ and Java, BioC provides libraries of code for reading and writing BioC text documents and annotations. We extend BioC to Perl, Python, Go and Ruby. We used SWIG to extend the C++ implementation for Perl and one Python implementation. A second Python implementation and the Ruby implementation use native data structures and libraries. BioC is also implemented in the Google language Go. BioC modules are functional in all of these languages, which can facilitate text mining tasks. BioC implementations are freely available through the BioC site: http://bioc.sourceforge.net. Database URL: http://bioc.sourceforge.net/ Published by Oxford University Press 2014. This work is written by US Government employees and is in the public domain in the US.

  12. DendroPy: a Python library for phylogenetic computing.

    Science.gov (United States)

    Sukumaran, Jeet; Holder, Mark T

    2010-06-15

    DendroPy is a cross-platform library for the Python programming language that provides for object-oriented reading, writing, simulation and manipulation of phylogenetic data, with an emphasis on phylogenetic tree operations. DendroPy uses a splits-hash mapping to perform rapid calculations of tree distances, similarities and shape under various metrics. It contains rich simulation routines to generate trees under a number of different phylogenetic and coalescent models. DendroPy's data simulation and manipulation facilities, in conjunction with its support of a broad range of phylogenetic data formats (NEXUS, Newick, PHYLIP, FASTA, NeXML, etc.), allow it to serve a useful role in various phyloinformatics and phylogeographic pipelines. The stable release of the library is available for download and automated installation through the Python Package Index site (http://pypi.python.org/pypi/DendroPy), while the active development source code repository is available to the public from GitHub (http://github.com/jeetsukumaran/DendroPy).

  13. GAiN: Distributed Array Computation with Python

    Energy Technology Data Exchange (ETDEWEB)

    Daily, Jeffrey A. [Washington State Univ., Pullman, WA (United States)

    2009-05-01

    Scientific computing makes use of very large, multidimensional numerical arrays - typically, gigabytes to terabytes in size - much larger than can fit on even the largest single compute node. Such arrays must be distributed across a "cluster" of nodes. Global Arrays is a cluster-based software system from Battelle Pacific Northwest National Laboratory that enables an efficient, portable, and parallel shared-memory programming interface to manipulate these arrays. Written in and for the C and FORTRAN programming languages, it takes advantage of high-performance cluster interconnections to allow any node in the cluster to access data on any other node very rapidly. The "numpy" module is the de facto standard for numerical calculation in the Python programming language, a language whose use is growing rapidly in the scientific and engineering communities. numpy provides a powerful N-dimensional array class as well as other scientific computing capabilities. However, like the majority of the core Python modules, numpy is inherently serial. Our system, GAiN (Global Arrays in NumPy), is a parallel extension to Python that accesses Global Arrays through numpy. This allows parallel processing and/or larger problem sizes to be harnessed almost transparently within new or existing numpy programs.

  14. ACPYPE - AnteChamber PYthon Parser interfacE

    Science.gov (United States)

    2012-01-01

    Background ACPYPE (or AnteChamber PYthon Parser interfacE) is a wrapper script around the ANTECHAMBER software that simplifies the generation of small molecule topologies and parameters for a variety of molecular dynamics programmes like GROMACS, CHARMM and CNS. It is written in the Python programming language and was developed as a tool for interfacing with other Python based applications such as the CCPN software suite (for NMR data analysis) and ARIA (for structure calculations from NMR data). ACPYPE is open source code, under GNU GPL v3, and is available as a stand-alone application at http://www.ccpn.ac.uk/acpype and as a web portal application at http://webapps.ccpn.ac.uk/acpype. Findings We verified the topologies generated by ACPYPE in three ways: by comparing with default AMBER topologies for standard amino acids; by generating and verifying topologies for a large set of ligands from the PDB; and by recalculating the structures for 5 protein–ligand complexes from the PDB. Conclusions ACPYPE is a tool that simplifies the automatic generation of topology and parameters in different formats for different molecular mechanics programmes, including calculation of partial charges, while being object oriented for integration with other applications. PMID:22824207

  15. Computational modeling of multiphase flow and transport with Python

    Science.gov (United States)

    Kees, C. E.; Farthing, M. W.; Hines, A. M.; Howington, S. E.

    2008-12-01

    Computational flow and transport models play an important role in many hydrological investigations. Unfortunately, developing simulators that are efficient, widely applicable, and robust is a challenge. This is particularly true if the target applications include complications like multiple fluid phases with multiple components and material heterogeneity. To be specific, these problems often involve physical phenomena at multiple spatial and temporal scales. The appropriate formulation may evolve, and the systems of partial differential equations (PDEs) that arise from traditional formulations can be hard to solve efficiently at the desired resolution. Here, we discuss the development of a Python-based modeling framework for finite element approximation of systems of nonlinear PDEs with an emphasis on multiphase, multicomponent systems relevant for surface and subsurface hydrology. In addition to the overall approach and application, we consider the role of Python in managing code complexity, providing user interfaces, developing solution algorithms, and implementing numerical methods for execution on serial and parallel platforms. We evaluate trade-offs and design choices that follow from our use of Python versus other languages like C++ or Fortran and consider the impact on performance measured in terms of metrics like memory usage, execution time, and developer time.

  16. Hearing with an atympanic ear: good vibration and poor sound-pressure detection in the royal python, Python regius.

    Science.gov (United States)

    Christensen, Christian Bech; Christensen-Dalsgaard, Jakob; Brandt, Christian; Madsen, Peter Teglberg

    2012-01-15

    Snakes lack both an outer ear and a tympanic middle ear, which in most tetrapods provide impedance matching between the air and inner ear fluids and hence improve pressure hearing in air. Snakes would therefore be expected to have very poor pressure hearing and generally be insensitive to airborne sound, whereas the connection of the middle ear bone to the jaw bones in snakes should confer acute sensitivity to substrate vibrations. Some studies have nevertheless claimed that snakes are quite sensitive to both vibration and sound pressure. Here we test the two hypotheses that: (1) snakes are sensitive to sound pressure and (2) snakes are sensitive to vibrations, but cannot hear the sound pressure per se. Vibration and sound-pressure sensitivities were quantified by measuring brainstem evoked potentials in 11 royal pythons, Python regius. Vibrograms and audiograms showed greatest sensitivity at low frequencies of 80-160 Hz, with sensitivities of -54 dB re. 1 m s(-2) and 78 dB re. 20 μPa, respectively. To investigate whether pythons detect sound pressure or sound-induced head vibrations, we measured the sound-induced head vibrations in three dimensions when snakes were exposed to sound pressure at threshold levels. In general, head vibrations induced by threshold-level sound pressure were equal to or greater than those induced by threshold-level vibrations, and therefore sound-pressure sensitivity can be explained by sound-induced head vibration. From this we conclude that pythons, and possibly all snakes, lost effective pressure hearing with the complete reduction of a functional outer and middle ear, but have an acute vibration sensitivity that may be used for communication and detection of predators and prey.

  17. Python Winding Itself Around Datacubes: How to Access Massive Multi-Dimensional Arrays in a Pythonic Way

    Science.gov (United States)

    Merticariu, Vlad; Misev, Dimitar; Baumann, Peter

    2017-04-01

    While python has developed into the lingua franca in Data Science there is often a paradigm break when accessing specialized tools. In particular for one of the core data categories in science and engineering, massive multi-dimensional arrays, out-of-memory solutions typically employ their own, different models. We discuss this situation on the example of the scalable open-source array engine, rasdaman ("raster data manager") which offers access to and processing of Petascale multi-dimensional arrays through an SQL-style array query language, rasql. Such queries are executed in the server on a storage engine utilizing adaptive array partitioning and based on a processing engine implementing a "tile streaming" paradigm to allow processing of arrays massively larger than server RAM. The rasdaman QL has acted as blueprint for forthcoming ISO Array SQL and the Open Geospatial Consortium (OGC) geo analytics language, Web Coverage Processing Service, adopted in 2008. Not surprisingly, rasdaman is OGC and INSPIRE Reference Implementation for their "Big Earth Data" standards suite. Recently, rasdaman has been augmented with a python interface which allows to transparently interact with the database (credits go to Siddharth Shukla's Master Thesis at Jacobs University). Programmers do not need to know the rasdaman query language, as the operators are silently transformed, through lazy evaluation, into queries. Arrays delivered are likewise automatically transformed into their python representation. In the talk, the rasdaman concept will be illustrated with the help of large-scale real-life examples of operational satellite image and weather data services, and sample python code.

  18. The big squeeze: scaling of constriction pressure in two of the world's largest snakes, Python reticulatus and Python molurus bivittatus.

    Science.gov (United States)

    Penning, David A; Dartez, Schuyler F; Moon, Brad R

    2015-11-01

    Snakes are important predators that have radiated throughout many ecosystems, and constriction was important in their radiation. Constrictors immobilize and kill prey by using body loops to exert pressure on their prey. Despite its importance, little is known about constriction performance or its full effects on prey. We studied the scaling of constriction performance in two species of giant pythons (Python reticulatus and Python molurus bivittatus) and propose a new mechanism of prey death by constriction. In both species, peak constriction pressure increased significantly with snake diameter. These and other constrictors can exert pressures dramatically higher than their prey's blood pressure, suggesting that constriction can stop circulatory function and perhaps kill prey rapidly by over-pressurizing the brain and disrupting neural function. We propose the latter 'red-out effect' as another possible mechanism of prey death from constriction. These effects may be important to recognize and treat properly in rare cases when constrictors injure humans. © 2015. Published by The Company of Biologists Ltd.

  19. Python Scripts for Automation of Current-Voltage Testing of Semiconductor Devices (FY17)

    Science.gov (United States)

    2017-01-01

    ARL-TR-7923 ● JAN 2017 US Army Research Laboratory Python Scripts for Automation of Current- Voltage Testing of Semiconductor...Laboratory Python Scripts for Automation of Current- Voltage Testing of Semiconductor Devices (FY17) by Bryan H Zhao Oak Ridge Institute for Science...January 2017 2. REPORT TYPE Technical Report 3. DATES COVERED (From - To) 4. TITLE AND SUBTITLE Python Scripts for Automation of Current-Voltage

  20. Schopnosti překladačů programovacího jazyka Python

    OpenAIRE

    Pala, Ondřej

    2015-01-01

    PALA, Ondřej. Ability of compilers programming language Python. Brno, 2015. Diploma thesis. Mendel university in Brno. Diploma thesis rate ability of selected compilers programming language Python. First path of thesis is focused to programming language Python and principle of working compilers. Second path is focused to creating testing tasks, defining eva-luation criterias of compilers and testing compilers without testing tasks.

  1. An intuitive Python interface for Bioconductor libraries demonstrates the utility of language translators.

    Science.gov (United States)

    Gautier, Laurent

    2010-12-21

    Computer languages can be domain-related, and in the case of multidisciplinary projects, knowledge of several languages will be needed in order to quickly implements ideas. Moreover, each computer language has relative strong points, making some languages better suited than others for a given task to be implemented. The Bioconductor project, based on the R language, has become a reference for the numerical processing and statistical analysis of data coming from high-throughput biological assays, providing a rich selection of methods and algorithms to the research community. At the same time, Python has matured as a rich and reliable language for the agile development of prototypes or final implementations, as well as for handling large data sets. The data structures and functions from Bioconductor can be exposed to Python as a regular library. This allows a fully transparent and native use of Bioconductor from Python, without one having to know the R language and with only a small community of translators required to know both. To demonstrate this, we have implemented such Python representations for key infrastructure packages in Bioconductor, letting a Python programmer handle annotation data, microarray data, and next-generation sequencing data. Bioconductor is now not solely reserved to R users. Building a Python application using Bioconductor functionality can be done just like if Bioconductor was a Python package. Moreover, similar principles can be applied to other languages and libraries. Our Python package is available at: http://pypi.python.org/pypi/rpy2-bioconductor-extensions/.

  2. MongoDB and Python Patterns and processes for the popular document-oriented database

    CERN Document Server

    O'Higgins, Niall

    2011-01-01

    Learn how to leverage MongoDB with your Python applications, using the hands-on recipes in this book. You get complete code samples for tasks such as making fast geo queries for location-based apps, efficiently indexing your user documents for social-graph lookups, and many other scenarios. This guide explains the basics of the document-oriented database and shows you how to set up a Python environment with it. Learn how to read and write to MongoDB, apply idiomatic MongoDB and Python patterns, and use the database with several popular Python web frameworks. You'll discover how to model your

  3. PyEEG: an open source Python module for EEG/MEG feature extraction.

    Science.gov (United States)

    Bao, Forrest Sheng; Liu, Xin; Zhang, Christina

    2011-01-01

    Computer-aided diagnosis of neural diseases from EEG signals (or other physiological signals that can be treated as time series, e.g., MEG) is an emerging field that has gained much attention in past years. Extracting features is a key component in the analysis of EEG signals. In our previous works, we have implemented many EEG feature extraction functions in the Python programming language. As Python is gaining more ground in scientific computing, an open source Python module for extracting EEG features has the potential to save much time for computational neuroscientists. In this paper, we introduce PyEEG, an open source Python module for EEG feature extraction.

  4. Leveraging Python Interoperability Tools to Improve Sapphire's Usability

    Energy Technology Data Exchange (ETDEWEB)

    Gezahegne, A; Love, N S

    2007-12-10

    The Sapphire project at the Center for Applied Scientific Computing (CASC) develops and applies an extensive set of data mining algorithms for the analysis of large data sets. Sapphire's algorithms are currently available as a set of C++ libraries. However many users prefer higher level scripting languages such as Python for their ease of use and flexibility. In this report, we evaluate four interoperability tools for the purpose of wrapping Sapphire's core functionality with Python. Exposing Sapphire's functionality through a Python interface would increase its usability and connect its algorithms to existing Python tools.

  5. What parts of the US mainland are climatically suitable for invasive alien pythons spreading from Everglades National Park?

    Science.gov (United States)

    Rodda, G.H.; Jarnevich, C.S.; Reed, R.N.

    2009-01-01

    The Burmese Python (Python molurus bivittatus) is now well established in southern Florida and spreading northward. The factors likely to limit this spread are unknown, but presumably include climate or are correlated with climate. We compiled monthly rainfall and temperature statistics from 149 stations located near the edge of the python's native range in Asia (Pakistan east to China and south to Indonesia). The southern and eastern native range limits extend to saltwater, leaving unresolved the species' climatic tolerances in those areas. The northern and western limits are associated with cold and aridity respectively. We plotted mean monthly rainfall against mean monthly temperature for the 149 native range weather stations to identify the climate conditions inhabited by pythons in their native range, and mapped areas of the coterminous United States with the same climate today and projected for the year 2100. We accounted for both dry-season aestivation and winter hibernation (under two scenarios of hibernation duration). The potential distribution was relatively insensitive to choice of scenario for hibernation duration. US areas climatically matched at present ranged up the coasts and across the south from Delaware to Oregon, and included most of California, Texas, Oklahoma, Arkansas, Louisiana, Mississippi, Alabama, Florida, Georgia, and South and North Carolina. By the year 2100, projected areas of potential suitable climate extend northward beyond the current limit to include parts of the states of Washington, Colorado, Illinois, Indiana, Ohio, West Virginia, Pennsylvania, New Jersey, and New York. Thus a substantial portion of the mainland US is potentially vulnerable to this ostensibly tropical invader. ?? 2008 Springer Science+Business Media B.V.

  6. pyhector: A Python interface for the simple climate model Hector

    Energy Technology Data Exchange (ETDEWEB)

    N Willner, Sven; Hartin, Corinne; Gieseke, Robert

    2017-04-01

    Pyhector is a Python interface for the simple climate model Hector (Hartin et al. 2015) developed in C++. Simple climate models like Hector can, for instance, be used in the analysis of scenarios within integrated assessment models like GCAM1, in the emulation of complex climate models, and in uncertainty analyses. Hector is an open-source, object oriented, simple global climate carbon cycle model. Its carbon cycle consists of a one pool atmosphere, three terrestrial pools which can be broken down into finer biomes or regions, and four carbon pools in the ocean component. The terrestrial carbon cycle includes primary production and respiration fluxes. The ocean carbon cycle circulates carbon via a simplified thermohaline circulation, calculating air-sea fluxes as well as the marine carbonate system (Hartin et al. 2016). The model input is time series of greenhouse gas emissions; as example scenarios for these the Pyhector package contains the Representative Concentration Pathways (RCPs)2. These were developed to cover the range of baseline and mitigation emissions scenarios and are widely used in climate change research and model intercomparison projects. Using DataFrames from the Python library Pandas (McKinney 2010) as a data structure for the scenarios simplifies generating and adapting scenarios. Other parameters of the Hector model can easily be modified when running the model. Pyhector can be installed using pip from the Python Package Index.3 Source code and issue tracker are available in Pyhector's GitHub repository4. Documentation is provided through Readthedocs5. Usage examples are also contained in the repository as a Jupyter Notebook (Pérez and Granger 2007; Kluyver et al. 2016). Courtesy of the Mybinder project6, the example Notebook can also be executed and modified without installing Pyhector locally.

  7. The definitive guide to Jython Python for the Java platform

    CERN Document Server

    Juneau, Josh; Ng, Victor; Soto, Leo; Wierzbicki, Frank

    2010-01-01

    Jython is an open source implementation of the high-level, dynamic, object-oriented scripting language Python seamlessly integrated with the Java platform. The predecessor to Jython, JPython, is certified as 100% Pure Java. Jython is freely available for both commercial and noncommercial use and is distributed with source code. Jython is complementary to Java. The Definitive Guide to Jython, written by the official Jython team leads, covers the latest Jython 2.5 (or 2.5.x) from the basics to the advanced features. This book begins with a brief introduction to the language and then journeys thr

  8. Interfacing of high temperature Z-meter setup using python

    Science.gov (United States)

    Patel, Ashutosh; Sisodia, Shashank; Pandey, Sudhir K.

    2017-05-01

    In this work, we interface high temperature Z-meter setup to automize the whole measurement process. A program is built on open source programming language `Python' which convert the manual measurement process into fully automated process without any cost addition. Using this program, simultaneous measurement of Seebeck coefficient (α), thermal conductivity (κ) and electrical resistivity (ρ), are performed and using all three, figure-of-merit (ZT) is calculated. Developed program is verified by performing measurement over p-type Bi0.36Sb1.45Te3 sample and the data obtained are found to be in good agreement with the reported data.

  9. Specifying the Behaviour of Python Programs: Language and Basic Examples

    Directory of Open Access Journals (Sweden)

    2010-04-01

    Full Text Available This manuscript describe BeSSY, a function-centric language for formal behavioural specification that requires no more than high-school mathematics on arithmetic, functions, Boolean algebra and sets theory. An object can be modelled as a union of data sets and functions whereas inherited object can be modelled as a union of supersets and a set of object-specific functions. Python list and dictionary operations will be specified in BeSSY for illustration.

  10. Towards Python-based Domain-specific Languages for Self-reconfigurable Modular Robotics Research

    DEFF Research Database (Denmark)

    Moghadam, Mikael; Christensen, David Johan; Brandt, David

    2011-01-01

    for ATRON II which utilizes Linux and Python to significantly improve software abstraction and portability while providing some basic features which could prove useful when using Python, either stand-alone or via a DSL, on a selfreconfigurable robot system. These features include transparent socket...

  11. Multi-Agent Programming Contest 2012 - The Python-DTU Team

    DEFF Research Database (Denmark)

    Villadsen, Jørgen; Jensen, Andreas Schmidt; Ettienne, Mikko Berggren

    We provide a brief description of the Python-DTU system, including the overall design, the tools and the algorithms that we plan to use in the agent contest.......We provide a brief description of the Python-DTU system, including the overall design, the tools and the algorithms that we plan to use in the agent contest....

  12. Multi-Agent Programming Contest 2011 - The Python-DTU Team

    DEFF Research Database (Denmark)

    Villadsen, Jørgen; Ettienne, Mikko Berggren; Vester, Steen

    We provide a brief description of the Python-DTU system, including the overall design, the tools and the algorithms that we plan to use in the agent contest.......We provide a brief description of the Python-DTU system, including the overall design, the tools and the algorithms that we plan to use in the agent contest....

  13. Towards Python-based Domain-specific Languages for Self-reconfigurable Modular Robotics Research

    DEFF Research Database (Denmark)

    Moghadam, Mikael; Johan Christensen, David; Brandt, David

    2013-01-01

    for ATRON II which utilizes Linux and Python to significantly improve software abstraction and portability while providing some basic features which could prove useful when using Python, either stand-alone or via a DSL, on a self-reconfigurable robot system. These features include transparent socket...

  14. Multi-Agent Programming Contest 2016 – The Python-DTU Team

    DEFF Research Database (Denmark)

    Villadsen, Jørgen; Halkjær From, Andreas; Jacobi, Salvador

    2018-01-01

    We provide a detailed description of the Python-DTU system, including the overall system design and the tools used in the agent contest.......We provide a detailed description of the Python-DTU system, including the overall system design and the tools used in the agent contest....

  15. Bacterial co-infections in a captive Python bivittatus with septicemia

    African Journals Online (AJOL)

    ADEYEYE

    2016-05-27

    May 27, 2016 ... *Correspondence: Tel.: +60 1116689774, E-mail: usuba5050@yahoo.com. Abstract. This case reports bacterial co-infection in a dead albino python (Python bivittatus). The snake was brought in dead to the Universiti Veterinary Hospital, Universiti Putra Malaysia. Necropsy was conducted and organ.

  16. The Effects of Finish Type on Permeability and Organoleptic Properties of Python (Python Reticulatus) Skin Finished Leather

    OpenAIRE

    Emiliana Kasmudjiastuti; Rihastiwi Setiya Murti

    2017-01-01

    In the leather industry, there are many different types of finish, i.e. two-tone, transparent, semi aniline and opaque/solid color. The composition formulation of each finish type is different so each will impact not only on the performance but also on the properties of the finished leather. The objective of this research was to investigate the effects of finish type (natural, aniline, semi-aniline, and two-tone) on permeability and organoleptic properties of python skin finished leather. Thi...

  17. A Distributed Python HPC Framework: ODIN, PyTrilinos, & Seamless

    Energy Technology Data Exchange (ETDEWEB)

    Grant, Robert [Enthought, Inc., Austin, TX (United States)

    2015-11-23

    Under this grant, three significant software packages were developed or improved, all with the goal of improving the ease-of-use of HPC libraries. The first component is a Python package, named DistArray (originally named Odin), that provides a high-level interface to distributed array computing. This interface is based on the popular and widely used NumPy package and is integrated with the IPython project for enhanced interactive parallel distributed computing. The second Python package is the Distributed Array Protocol (DAP) that enables separate distributed array libraries to share arrays efficiently without copying or sending messages. If a distributed array library supports the DAP, it is then automatically able to communicate with any other library that also supports the protocol. This protocol allows DistArray to communicate with the Trilinos library via PyTrilinos, which was also enhanced during this project. A third package, PyTrilinos, was extended to support distributed structured arrays (in addition to the unstructured arrays of its original design), allow more flexible distributed arrays (i.e., the restriction to double precision data was lifted), and implement the DAP. DAP support includes both exporting the protocol so that external packages can use distributed Trilinos data structures, and importing the protocol so that PyTrilinos can work with distributed data from external packages.

  18. SCoT: A Python Toolbox for EEG Source Connectivity

    Directory of Open Access Journals (Sweden)

    Martin eBillinger

    2014-03-01

    Full Text Available Analysis of brain connectivity has become an important research tool in neuroscience. Connectivity can be estimated between cortical sources reconstructed from the electroencephalogram (EEG. Such analysis often relies on trial averaging to obtain reliable results. However, some applications such as brain-computer interfaces (BCIs require single-trial estimation methods.In this paper, we present SCoT – a source connectivity toolbox for Python. This toolbox implements routines for blind source decomposition and connectivity estimation with theMVARICA approach. Additionally, a novel extension called CSPVARICA is available for labeled data. SCoT estimates connectivity from various spectral measures relying on vector autoregressive (VAR models. Optionally, these VAR models can be regularized to facilitate ill posed applications such as single-trial fitting.We demonstrate basic usage of SCoT on motor imagery (MI data. Furthermore, we show simulation results of utilizing SCoT for feature extraction in a BCI application. These results indicate that CSPVARICA and correct regularization can significantly improve MI classification. While SCoT was mainly designed for application in BCIs, it contains useful tools for other areas of neuroscience. SCoT is a software package that (1 brings combined source decomposition and connectivtiy estimation to the open Python platform, and (2 offers tools for single-trial connectivity estimation. The source code is released under the MIT license and is available online at github.com/SCoT-dev/SCoT.

  19. COBRApy: COnstraints-Based Reconstruction and Analysis for Python.

    Science.gov (United States)

    Ebrahim, Ali; Lerman, Joshua A; Palsson, Bernhard O; Hyduke, Daniel R

    2013-08-08

    COnstraint-Based Reconstruction and Analysis (COBRA) methods are widely used for genome-scale modeling of metabolic networks in both prokaryotes and eukaryotes. Due to the successes with metabolism, there is an increasing effort to apply COBRA methods to reconstruct and analyze integrated models of cellular processes. The COBRA Toolbox for MATLAB is a leading software package for genome-scale analysis of metabolism; however, it was not designed to elegantly capture the complexity inherent in integrated biological networks and lacks an integration framework for the multiomics data used in systems biology. The openCOBRA Project is a community effort to promote constraints-based research through the distribution of freely available software. Here, we describe COBRA for Python (COBRApy), a Python package that provides support for basic COBRA methods. COBRApy is designed in an object-oriented fashion that facilitates the representation of the complex biological processes of metabolism and gene expression. COBRApy does not require MATLAB to function; however, it includes an interface to the COBRA Toolbox for MATLAB to facilitate use of legacy codes. For improved performance, COBRApy includes parallel processing support for computationally intensive processes. COBRApy is an object-oriented framework designed to meet the computational challenges associated with the next generation of stoichiometric constraint-based models and high-density omics data sets. http://opencobra.sourceforge.net/

  20. Novel divergent nidovirus in a python with pneumonia.

    Science.gov (United States)

    Bodewes, Rogier; Lempp, Charlotte; Schürch, Anita C; Habierski, Andre; Hahn, Kerstin; Lamers, Mart; von Dörnberg, Katja; Wohlsein, Peter; Drexler, Jan Felix; Haagmans, Bart L; Smits, Saskia L; Baumgärtner, Wolfgang; Osterhaus, Albert D M E

    2014-11-01

    The order Nidovirales contains large, enveloped viruses with a non-segmented positive-stranded RNA genome. Nidoviruses have been detected in man and various animal species, but, to date, there have been no reports of nidovirus in reptiles. In the present study, we describe the detection, characterization, phylogenetic analyses and disease association of a novel divergent nidovirus in the lung of an Indian python (Python molurus) with necrotizing pneumonia. Characterization of the partial genome (>33 000 nt) of this virus revealed several genetic features that are distinct from other nidoviruses, including a very large polyprotein 1a, a putative ribosomal frameshift signal that was identical to the frameshift signal of astroviruses and retroviruses and an accessory ORF that showed some similarity with the haemagglutinin-neuraminidase of paramyxoviruses. Analysis of genome organization and phylogenetic analysis of polyprotein 1ab suggests that this virus belongs to the subfamily Torovirinae. Results of this study provide novel insights into the genetic diversity within the order Nidovirales. © 2014 The Authors.

  1. PyFACT: Python and FITS analysis for Cherenkov telescopes

    Science.gov (United States)

    Raue, Martin; Deil, Christoph

    2012-12-01

    Ground-based very-high energy (VHE; E>100 GeV) gamma-ray astronomy is growing from being conducted by small teams in closed collaborations into a full-fledged branch of astronomy with open observatories. This is best illustrated by the number of known sources: it increased by one order of magnitude in the past ten years, from 10 in the year 2000 to more than 100 in 2010. It is expected that this trend will continue with the next-generation instrument Cherenkov Telescope Array (CTA). This transformation has a profound impact on the data format and analysis of Imaging Atmospheric Cherenkov Telescopes (IACTs). Up to now, IACT data analysis was an internal task performed by specialists with no public access to the data or software. In the future, a large community of VHE astronomers from different scientific topics should be enabled to work with the data. Ease of use, compatibility, and integration with existing astronomy standards and tools will be key. In this contribution, a collection of Python tools for the analysis of data in FITS format (PyFACT; Python and FITS Analysis for Cherenkov Telescopes) is presented, which connects with existing tools like xspec, sherpa, and ds9. The package is available as open source (https://github.com/mraue/pyfact, comments and contributions welcome). Advantages of the chosen ansatz are discussed and implications for future observatories and data archival are presented.

  2. Scoria: a Python module for manipulating 3D molecular data.

    Science.gov (United States)

    Ropp, Patrick; Friedman, Aaron; Durrant, Jacob D

    2017-09-18

    Third-party packages have transformed the Python programming language into a powerful computational-biology tool. Package installation is easy for experienced users, but novices sometimes struggle with dependencies and compilers. This presents a barrier that can hinder the otherwise broad adoption of new tools. We present Scoria, a Python package for manipulating three-dimensional molecular data. Unlike similar packages, Scoria requires no dependencies, compilation, or system-wide installation. One can incorporate the Scoria source code directly into their own programs. But Scoria is not designed to compete with other similar packages. Rather, it complements them. Our package leverages others (e.g. NumPy, SciPy), if present, to speed and extend its own functionality. To show its utility, we use Scoria to analyze a molecular dynamics trajectory. Our FootPrint script colors the atoms of one chain by the frequency of their contacts with a second chain. We are hopeful that Scoria will be a useful tool for the computational-biology community. A copy is available for download free of charge (Apache License 2.0) at http://durrantlab.com/scoria/ . Graphical abstract .

  3. The Monty Python Method for Generating Gamma Variables

    Directory of Open Access Journals (Sweden)

    George Marsaglia

    1999-01-01

    Full Text Available The Monty Python Method for generating random variables takes a decreasing density, cuts it into three pieces, then, using area-preserving transformations, folds it into a rectangle of area 1. A random point (x,y from that rectangle is used to provide a variate from the given density, most of the time as itself or a linear function of x . The decreasing density is usually the right half of a symmetric density. The Monty Python method has provided short and fast generators for normal, t and von Mises densities, requiring, on the average, from 1.5 to 1.8 uniform variables. In this article, we apply the method to non-symmetric densities, particularly the important gamma densities. We lose some of the speed and simplicity of the symmetric densities, but still get a method for γα variates that is simple and fast enough to provide beta variates in the form γa/(γa+γb. We use an average of less than 1.7 uniform variates to produce a gamma variate whenever α ≥ 1 . Implementation is simpler and from three to five times as fast as a recent method reputed to be the best for changing α's.

  4. Data science and complex networks real case studies with Python

    CERN Document Server

    Caldarelli, Guido

    2016-01-01

    This book provides a comprehensive yet short description of the basic concepts of complex network theory and the code to implement this theory. Differently from other books, we present these concepts starting from real cases of study. The application topics span from food webs, to the Internet, the World Wide Web, and social networks, passing through the international trade web and financial time series. The final part is devoted to definition and implementation of the most important network models. We provide information on the structure of the data and on the quality of available datasets. Furthermore, we provide a series of codes to implement instantly what is described theoretically in the book. People knowing the basis of network theory could learn the art of coding in Python by checking our codes and using the online material. In particular, the interactive Python notebook format is used so that the reader can immediately experiment by themselves with the codes present in the manuscript. To this purpose...

  5. Programming biological models in Python using PySB.

    Science.gov (United States)

    Lopez, Carlos F; Muhlich, Jeremy L; Bachman, John A; Sorger, Peter K

    2013-01-01

    Mathematical equations are fundamental to modeling biological networks, but as networks get large and revisions frequent, it becomes difficult to manage equations directly or to combine previously developed models. Multiple simultaneous efforts to create graphical standards, rule-based languages, and integrated software workbenches aim to simplify biological modeling but none fully meets the need for transparent, extensible, and reusable models. In this paper we describe PySB, an approach in which models are not only created using programs, they are programs. PySB draws on programmatic modeling concepts from little b and ProMot, the rule-based languages BioNetGen and Kappa and the growing library of Python numerical tools. Central to PySB is a library of macros encoding familiar biochemical actions such as binding, catalysis, and polymerization, making it possible to use a high-level, action-oriented vocabulary to construct detailed models. As Python programs, PySB models leverage tools and practices from the open-source software community, substantially advancing our ability to distribute and manage the work of testing biochemical hypotheses. We illustrate these ideas using new and previously published models of apoptosis.

  6. Akcelerace aplikací na GPU v jazyce Python

    OpenAIRE

    Turcel, Matej

    2017-01-01

    Konvenčne sa v oblasti high performance computing (HPC) používajú prekladané jazyky, ako napríklad C++. Skriptovacie jazyky ako Python sú však pohodlnejšie a vývoj aplikácií je v nich rýchlejší a jednoduchší. Táto práca porovnáva jazyky C++ a Python z hľadiska možnosti akcelerácie výpočtov na grafickej karte. Jej cieľom je ukázať, že skriptovacie jazyky sú taktiež použiteľné na implementáciu HPC aplikácií a poukázať na ich výhody a nevýhody oproti prekladaným jazykom. Za týmto účelom je imple...

  7. Pythran: enabling static optimization of scientific Python programs

    Science.gov (United States)

    Guelton, Serge; Brunet, Pierrick; Amini, Mehdi; Merlini, Adrien; Corbillon, Xavier; Raynaud, Alan

    2015-01-01

    Pythran is an open source static compiler that turns modules written in a subset of Python language into native ones. Assuming that scientific modules do not rely much on the dynamic features of the language, it trades them for powerful, possibly inter-procedural, optimizations. These optimizations include detection of pure functions, temporary allocation removal, constant folding, Numpy ufunc fusion and parallelization, explicit thread-level parallelism through OpenMP annotations, false variable polymorphism pruning, and automatic vector instruction generation such as AVX or SSE. In addition to these compilation steps, Pythran provides a C++ runtime library that leverages the C++ STL to provide generic containers, and the Numeric Template Toolbox for Numpy support. It takes advantage of modern C++11 features such as variadic templates, type inference, move semantics and perfect forwarding, as well as classical idioms such as expression templates. Unlike the Cython approach, Pythran input code remains compatible with the Python interpreter. Output code is generally as efficient as the annotated Cython equivalent, if not more, but without the backward compatibility loss.

  8. Pyteomics—a Python Framework for Exploratory Data Analysis and Rapid Software Prototyping in Proteomics

    Science.gov (United States)

    Goloborodko, Anton A.; Levitsky, Lev I.; Ivanov, Mark V.; Gorshkov, Mikhail V.

    2013-02-01

    Pyteomics is a cross-platform, open-source Python library providing a rich set of tools for MS-based proteomics. It provides modules for reading LC-MS/MS data, search engine output, protein sequence databases, theoretical prediction of retention times, electrochemical properties of polypeptides, mass and m/z calculations, and sequence parsing. Pyteomics is available under Apache license; release versions are available at the Python Package Index http://pypi.python.org/pyteomics, the source code repository at http://hg.theorchromo.ru/pyteomics, documentation at http://packages.python.org/pyteomics. Pyteomics.biolccc documentation is available at http://packages.python.org/pyteomics.biolccc/. Questions on installation and usage can be addressed to pyteomics mailing list: pyteomics@googlegroups.com

  9. Pybel: a Python wrapper for the OpenBabel cheminformatics toolkit.

    Science.gov (United States)

    O'Boyle, Noel M; Morley, Chris; Hutchison, Geoffrey R

    2008-03-09

    Scripting languages such as Python are ideally suited to common programming tasks in cheminformatics such as data analysis and parsing information from files. However, for reasons of efficiency, cheminformatics toolkits such as the OpenBabel toolkit are often implemented in compiled languages such as C++. We describe Pybel, a Python module that provides access to the OpenBabel toolkit. Pybel wraps the direct toolkit bindings to simplify common tasks such as reading and writing molecular files and calculating fingerprints. Extensive use is made of Python iterators to simplify loops such as that over all the molecules in a file. A Pybel Molecule can be easily interconverted to an OpenBabel OBMol to access those methods or attributes not wrapped by Pybel. Pybel allows cheminformaticians to rapidly develop Python scripts that manipulate chemical information. It is open source, available cross-platform, and offers the power of the OpenBabel toolkit to Python programmers.

  10. An introduction to statistics with Python with applications in the life sciences

    CERN Document Server

    Haslwanter, Thomas

    2016-01-01

    This textbook provides an introduction to the free software Python and its use for statistical data analysis. It covers common statistical tests for continuous, discrete and categorical data, as well as linear regression analysis and topics from survival analysis and Bayesian statistics. Working code and data for Python solutions for each test, together with easy-to-follow Python examples, can be reproduced by the reader and reinforce their immediate understanding of the topic. With recent advances in the Python ecosystem, Python has become a popular language for scientific computing, offering a powerful environment for statistical data analysis and an interesting alternative to R. The book is intended for master and PhD students, mainly from the life and medical sciences, with a basic knowledge of statistics. As it also provides some statistics background, the book can be used by anyone who wants to perform a statistical data analysis. .

  11. Evaluation of the histologic reactions to commonly used suture materials in the skin and musculature of ball pythons (Python regius).

    Science.gov (United States)

    McFadden, Michael S; Bennett, R Avery; Kinsel, Michael J; Mitchell, Mark A

    2011-10-01

    To evaluate histologic reactions to 8 suture materials and cyanoacrylate tissue adhesive (CTA) in the musculature and skin of ball pythons. 30 hatchling ball pythons. In each snake, ten 1-cm skin incisions were made (day 0). At 8 sites, a suture of 1 of 8 materials was placed in the epaxial musculature, and the incision was closed with the same material. One incision was closed by use of CTA. No suture material was placed in the tenth incision, which was allowed to heal by second intention (negative control). Snakes (n = 5/group) were euthanized for harvest of treatment-site tissues at days 3, 7, 14, 30, 60, and 90. Skin and muscle sections were examined microscopically and assigned a subjective score (0 to 4) for each of the following: overall severity of inflammation, fibrosis, number of macrophages, number of granulocytes, number of perivascular lymphocytes, and degree of suture fragmentation. Subjective score analysis revealed that CTA did not cause a significant inflammatory response, compared with the negative control. All suture materials caused significantly more inflammation over all time points; for all suture materials, inflammatory response scores were significantly higher than values for the negative control 90 days after implantation. No sutures were completely absorbed by the end of the study period, and several sutures appeared to be in the process of extrusion. In snakes, CTA can be used to close small superficial incisions or lacerations with minimal inflammatory response, and sutures may undergo extrusion from tissues prior to complete absorption.

  12. Giant Constrictors: Biological and Management Profiles and an Establishment Risk Assessment for Nine Large Species of Pythons, Anacondas, and the Boa Constrictor

    Science.gov (United States)

    Reed, Robert N.; Rodda, Gordon H.

    2009-01-01

    Giant Constrictors: Biological and Management Profiles and an Establishment Risk Assessment for Nine Large Species of Pythons, Anacondas, and the Boa Constrictor, estimates the ecological risks associated with colonization of the United States by nine large constrictors. The nine include the world's four largest snake species (Green Anaconda, Eunectes murinus; Indian or Burmese Python, Python molurus; Northern African Python, Python sebae; and Reticulated Python, Broghammerus reticulatus), the Boa Constrictor (Boa constrictor), and four species that are ecologically or visually similar to one of the above (Southern African Python, Python natalensis; Yellow Anaconda, Eunectes notaeus; DeSchauensee's Anaconda, Eunectes deschauenseei; and Beni Anaconda, Eunectes beniensis). At present, the only probable pathway by which these species would become established in the United States is the pet trade. Although importation for the pet trade involves some risk that these animals could become established as exotic or invasive species, it does not guarantee such establishment. Federal regulators have the task of appraising the importation risks and balancing those risks against economic, social, and ecological benefits associated with the importation. The risk assessment quantifies only the ecological risks, recognizing that ecosystem processes are complex and only poorly understood. The risk assessment enumerates the types of economic impacts that may be experienced, but leaves quantification of economic costs to subsequent studies. Primary factors considered in judging the risk of establishment were: (1) history of establishment in other countries, (2) number of each species in commerce, (3) suitability of U.S. climates for each species, and (4) natural history traits, such as reproductive rate and dispersal ability, that influence the probability of establishment, spread, and impact. In addition, the risk assessment reviews all management tools for control of invasive giant

  13. Python for data analysis data wrangling with Pandas, NumPy, and IPython

    CERN Document Server

    McKinney, Wes

    2017-01-01

    Get complete instructions for manipulating, processing, cleaning, and crunching datasets in Python. Updated for Python 3.6, the second edition of this hands-on guide is packed with practical case studies that show you how to solve a broad set of data analysis problems effectively. You’ll learn the latest versions of pandas, NumPy, IPython, and Jupyter in the process. Written by Wes McKinney, the creator of the Python pandas project, this book is a practical, modern introduction to data science tools in Python. It’s ideal for analysts new to Python and for Python programmers new to data science and scientific computing. Data files and related material are available on GitHub. Use the IPython shell and Jupyter notebook for exploratory computing Learn basic and advanced features in NumPy (Numerical Python) Get started with data analysis tools in the pandas library Use flexible tools to load, clean, transform, merge, and reshape data Create informative visualizations with matplotlib ...

  14. PDB file parser and structure class implemented in Python.

    Science.gov (United States)

    Hamelryck, Thomas; Manderick, Bernard

    2003-11-22

    The biopython project provides a set of bioinformatics tools implemented in Python. Recently, biopython was extended with a set of modules that deal with macromolecular structure. Biopython now contains a parser for PDB files that makes the atomic information available in an easy-to-use but powerful data structure. The parser and data structure deal with features that are often left out or handled inadequately by other packages, e.g. atom and residue disorder (if point mutants are present in the crystal), anisotropic B factors, multiple models and insertion codes. In addition, the parser performs some sanity checking to detect obvious errors. The Biopython distribution (including source code and documentation) is freely available (under the Biopython license) from http://www.biopython.org

  15. The ageing body in Monty Python Live (Mostly)

    DEFF Research Database (Denmark)

    Petersen, Line Nybro

    2017-01-01

    This paper analyses representations of the ageing body in the live televised show Monty Python Live (Mostly) (2014). The famous satire group performed in the O2 arena in London, and the show was telecast live in cinemas and aired on television across the world. In the show, the group members, now...... in their seventies, reprise a series of their most popular sketches and introduce a few new sketches. This analysis focuses on the ways in which representations of the ageing body intersects with representations of gender and sexuality in order to discuss how the boundaries for appropriation and subversion becomes...... blurred in the context of the show. This paper combines theory of mediatization with cultural gerontology and feminist theory in order to bring these issues to light. I argue that the show offers an appropriation of the female ageing body -- often exemplified through cross-dressing -- but also...

  16. A cross-validation package driving Netica with python

    Science.gov (United States)

    Fienen, Michael N.; Plant, Nathaniel G.

    2014-01-01

    Bayesian networks (BNs) are powerful tools for probabilistically simulating natural systems and emulating process models. Cross validation is a technique to avoid overfitting resulting from overly complex BNs. Overfitting reduces predictive skill. Cross-validation for BNs is known but rarely implemented due partly to a lack of software tools designed to work with available BN packages. CVNetica is open-source, written in Python, and extends the Netica software package to perform cross-validation and read, rebuild, and learn BNs from data. Insights gained from cross-validation and implications on prediction versus description are illustrated with: a data-driven oceanographic application; and a model-emulation application. These examples show that overfitting occurs when BNs become more complex than allowed by supporting data and overfitting incurs computational costs as well as causing a reduction in prediction skill. CVNetica evaluates overfitting using several complexity metrics (we used level of discretization) and its impact on performance metrics (we used skill).

  17. Oral flora of Python regius kept as pets.

    Science.gov (United States)

    Dipineto, L; Russo, T P; Calabria, M; De Rosa, L; Capasso, M; Menna, L F; Borrelli, L; Fioretti, A

    2014-05-01

    This study was aimed at evaluating the oral bacterial flora of 60 Python regius kept as pets by culture and biochemical methods. All isolates were also submitted to antimicrobial susceptibility testing using the disc diffusion method. The oral cavity of snakes sampled harboured a wide range of Gram-negative bacteria mainly constituted by Pseudomonas spp., Morganella morganii, Acinetobacter calcoaceticus, Aeromonas hydrophila, but also by Salmonella spp. Staphylococcus spp. was the commonest Gram-positive isolates, and various anaerobic Clostridium species were also found. The most effective antimicrobial agents were enrofloxacin and ciprofloxacin, followed by doxycycline and gentamicin. The oral cavity of snakes sampled harboured a wide range of bacteria. Our results suggest that people who come in contact with snakes could be at risk of infection and should follow proper hygiene practices when handling these reptiles. © 2014 The Society for Applied Microbiology.

  18. Multiple papillomas in a diamond python, Morelia spilota spilota.

    Science.gov (United States)

    Gull, Jessica M; Lange, Christian E; Favrot, Claude; Dorrestein, Gerry M; Hatt, Jean-Michel

    2012-12-01

    A 4-yr-old male diamond python (Morelia spilota spilota) was evaluated for multiple black papillated exophytic skin proliferations and signs of pneumonia. The histopathologic structure of the skin biopsy specimens led to the diagnosis of a benign papilloma-like neoplasia. In this case, papillomavirus DNA could be amplified from a biopsy sample with a broad range polymerase chain reaction. Nested pan-herpes polymerase chain reaction was negative, and herpesvirus inclusion bodies were not found. Because of the histologically benign nature of the papilloma, the skin proliferations were left untreated. Ten mo after the first presentation, the skin lesions had regressed almost completely; 34 mo later, only scars from the biopsies were left.

  19. pycalphad: CALPHAD-based Computational Thermodynamics in Python

    Directory of Open Access Journals (Sweden)

    Richard Otis

    2017-01-01

    Full Text Available The pycalphad software package is a free and open-source Python library for designing thermodynamic models, calculating phase diagrams and investigating phase equilibria using the CALPHAD method. It provides routines for reading thermodynamic databases and solving the multi-component, multi-phase Gibbs energy minimization problem. The pycalphad software project advances the state of thermodynamic modeling by providing a flexible yet powerful interface for manipulating CALPHAD data and models. The key feature of the software is that the thermodynamic models of individual phases and their associated databases can be programmatically manipulated and overridden at run-time without modifying any internal solver or calculation code. Because the models are internally decoupled from the equilibrium solver and the models themselves are represented symbolically, pycalphad is an ideal tool for CALPHAD database development and model prototyping.

  20. A Python Script for Aligning the STIS Echelle Blaze Function

    Science.gov (United States)

    Baer, Malinda; Proffitt, Charles R.; Lockwood, Sean A.

    2018-01-01

    Accurate flux calibration for the STIS echelle modes is heavily dependent on the proper alignment of the blaze function for each spectral order. However, due to changes in the instrument alignment over time and between exposures, the blaze function can shift in wavelength. This may result in flux calibration inconsistencies of up to 10%. We present the stisblazefix Python module as a tool for STIS users to correct their echelle spectra. The stisblazefix module assumes that the error in the blaze alignment is a linear function of spectral order, and finds the set of shifts that minimizes the flux inconsistencies in the overlap between spectral orders. We discuss the uses and limitations of this tool, and show that its use can provide significant improvements to the default pipeline flux calibration for many observations.

  1. Analysis of counting data: Development of the SATLAS Python package

    Science.gov (United States)

    Gins, W.; de Groote, R. P.; Bissell, M. L.; Granados Buitrago, C.; Ferrer, R.; Lynch, K. M.; Neyens, G.; Sels, S.

    2018-01-01

    For the analysis of low-statistics counting experiments, a traditional nonlinear least squares minimization routine may not always provide correct parameter and uncertainty estimates due to the assumptions inherent in the algorithm(s). In response to this, a user-friendly Python package (SATLAS) was written to provide an easy interface between the data and a variety of minimization algorithms which are suited for analyzinglow, as well as high, statistics data. The advantage of this package is that it allows the user to define their own model function and then compare different minimization routines to determine the optimal parameter values and their respective (correlated) errors. Experimental validation of the different approaches in the package is done through analysis of hyperfine structure data of 203Fr gathered by the CRIS experiment at ISOLDE, CERN.

  2. Python package for model STructure ANalysis (pySTAN)

    Science.gov (United States)

    Van Hoey, Stijn; van der Kwast, Johannes; Nopens, Ingmar; Seuntjens, Piet

    2013-04-01

    methods on a fair basis. We developed and present pySTAN (python framework for STructure Analysis), a python package containing a set of functions for model structure evaluation to provide the analysis of (hydrological) model structures. A selected set of algorithms for optimization, uncertainty and sensitivity analysis is currently available, together with a set of evaluation (objective) functions and input distributions to sample from. The methods are implemented model-independent and the python language provides the wrapper functions to apply administer external model codes. Different objective functions can be considered simultaneously with both statistical metrics and more hydrology specific metrics. By using so-called reStructuredText (sphinx documentation generator) and Python documentation strings (docstrings), the generation of manual pages is semi-automated and a specific environment is available to enhance both the readability and transparency of the code. It thereby enables a larger group of users to apply and compare these methods and to extend the functionalities.

  3. A atualidade de A vida de Brian, do Monty Python

    Directory of Open Access Journals (Sweden)

    Leonardo Antunes Cunha

    2014-01-01

    Full Text Available Este artigo desenvolve uma argumentação a respeito da atualidade do filme A vida de Brian, realizado pela trupe britânica Monty Python em 1979. Mais de 30 anos depois, a obra permanece contundente em sua sátira acerca do fanatismo, seja ele religioso ou político. Também se discutem as repercussões e a polêmica levantada pelo filme à época de seu lançamento e que, curiosamente, ainda se repetem quando de novas exibições. Finalmente, o artigo discute a estrutura narrativa do filme, apontando um equilíbrio entre duas matrizes da narrativa cômica no cinema: aquela mais episódica, calcada em esquetes ou piadas, e uma outra mais clássica, baseada em uma intriga bem amarrada.

  4. pyBSM: A Python package for modeling imaging systems

    Science.gov (United States)

    LeMaster, Daniel A.; Eismann, Michael T.

    2017-05-01

    There are components that are common to all electro-optical and infrared imaging system performance models. The purpose of the Python Based Sensor Model (pyBSM) is to provide open source access to these functions for other researchers to build upon. Specifically, pyBSM implements much of the capability found in the ERIM Image Based Sensor Model (IBSM) V2.0 along with some improvements. The paper also includes two use-case examples. First, performance of an airborne imaging system is modeled using the General Image Quality Equation (GIQE). The results are then decomposed into factors affecting noise and resolution. Second, pyBSM is paired with openCV to evaluate performance of an algorithm used to detect objects in an image.

  5. The ageing body in Monty Python Live (Mostly)

    DEFF Research Database (Denmark)

    Petersen, Line Nybro

    2018-01-01

    This article analyses representations of the ageing body in the live televised show Monty Python Live (Mostly) (2014). The famous satire group performed in the O2 arena in London, and the show was telecast live in cinemas and aired on television across the world. In the show, the group members, now...... in their 70s, reprise a series of their most popular sketches and introduce a few new sketches. This analysis focuses on the ways in which representations of the ageing body intersect with representations of gender and sexuality in order to discuss how the boundaries for appropriation and subversion become...... blurred in the context of the show. This article combines theory of mediatisation with cultural gerontology and feminist theory in order to bring these issues to light. I argue that the show offers an appropriation of the female ageing body – often exemplified through cross-dressing – but also...

  6. A streamlined Python framework for AT-TPC data analysis

    Science.gov (United States)

    Taylor, J. Z.; Bradt, J.; Bazin, D.; Kuchera, M. P.

    2017-09-01

    User-friendly data analysis software has been developed for the Active-Target Time Projection Chamber (AT-TPC) experiment at the National Superconducting Cyclotron Laboratory at Michigan State University. The AT-TPC, commissioned in 2014, is a gas-filled detector that acts as both the detector and target for high-efficiency detection of low-intensity, exotic nuclear reactions. The pytpc framework is a Python package for analyzing AT-TPC data. The package was developed for the analysis of 46Ar(p, p) data. The existing software was used to analyze data produced by the 40Ar(p, p) experiment that ran in August, 2015. Usage of the package was documented in an analysis manual both to improve analysis steps and aid in the work of future AT-TPC users. Software features and analysis methods in the pytpc framework will be presented along with the 40Ar results.

  7. An intuitive Python interface for Bioconductor libraries demonstrates the utility of language translators

    Science.gov (United States)

    2010-01-01

    Background Computer languages can be domain-related, and in the case of multidisciplinary projects, knowledge of several languages will be needed in order to quickly implements ideas. Moreover, each computer language has relative strong points, making some languages better suited than others for a given task to be implemented. The Bioconductor project, based on the R language, has become a reference for the numerical processing and statistical analysis of data coming from high-throughput biological assays, providing a rich selection of methods and algorithms to the research community. At the same time, Python has matured as a rich and reliable language for the agile development of prototypes or final implementations, as well as for handling large data sets. Results The data structures and functions from Bioconductor can be exposed to Python as a regular library. This allows a fully transparent and native use of Bioconductor from Python, without one having to know the R language and with only a small community of translators required to know both. To demonstrate this, we have implemented such Python representations for key infrastructure packages in Bioconductor, letting a Python programmer handle annotation data, microarray data, and next-generation sequencing data. Conclusions Bioconductor is now not solely reserved to R users. Building a Python application using Bioconductor functionality can be done just like if Bioconductor was a Python package. Moreover, similar principles can be applied to other languages and libraries. Our Python package is available at: http://pypi.python.org/pypi/rpy2-bioconductor-extensions/ PMID:21210978

  8. Python erythrocytes are resistant to α-hemolysin from Escherichia coli.

    Science.gov (United States)

    Larsen, Casper K; Skals, Marianne; Wang, Tobias; Cheema, Muhammad U; Leipziger, Jens; Praetorius, Helle A

    2011-12-01

    α-Hemolysin (HlyA) from Escherichia coli lyses mammalian erythrocytes by creating nonselective cation pores in the membrane. Pore insertion triggers ATP release and subsequent P2X receptor and pannexin channel activation. Blockage of either P2X receptors or pannexin channels reduces HlyA-induced hemolysis. We found that erythrocytes from Python regius and Python molurus are remarkably resistant to HlyA-induced hemolysis compared to human and Trachemys scripta erythrocytes. HlyA concentrations that induced maximal hemolysis of human erythrocytes did not affect python erythrocytes, but increasing the HlyA concentration 40-fold did induce hemolysis. Python erythrocytes were more resistant to osmotic stress than human erythrocytes, but osmotic stress tolerance per se did not confer HlyA resistance. Erythrocytes from T. scripta, which showed higher osmotic resistance than python erythrocytes, were as susceptible to HlyA as human erythrocytes. Therefore, we tested whether python erythrocytes lack the purinergic signalling known to amplify HlyA-induced hemolysis in human erythrocytes. P. regius erythrocytes increased intracellular Ca²⁺ concentration and reduced cell volume when exposed to 3 mM ATP, indicating the presence of a P2X₇-like receptor. In addition, scavenging extracellular ATP or blocking P2 receptors or pannexin channels reduced the HlyA-induced hemolysis. We tested whether the low HlyA sensitivity resulted from low affinity of HlyA to the python erythrocyte membrane. We found comparable incorporation of HlyA into human and python erythrocyte membranes. Taken together, the remarkable HlyA resistance of python erythrocytes was not explained by increased osmotic resistance, lack of purinergic hemolysis amplification, or differences in HlyA affinity.

  9. A Python Interface for the Dakota Iterative Systems Analysis Toolkit

    Science.gov (United States)

    Piper, M.; Hutton, E.; Syvitski, J. P.

    2016-12-01

    Uncertainty quantification is required to improve the accuracy, reliability, and accountability of Earth science models. Dakota is a software toolkit, developed at Sandia National Laboratories, that provides an interface between models and a library of analysis methods, including support for sensitivity analysis, uncertainty quantification, optimization, and calibration techniques. Dakota is a powerful tool, but its learning curve is steep: the user not only must understand the structure and syntax of the Dakota input file, but also must develop intermediate code, called an analysis driver, that allows Dakota to run a model. The CSDMS Dakota interface (CDI) is a Python package that wraps and extends Dakota's user interface. It simplifies the process of configuring and running a Dakota experiment. A user can program to the CDI, allowing a Dakota experiment to be scripted. The CDI creates Dakota input files and provides a generic analysis driver. Any model written in Python that exposes a Basic Model Interface (BMI), as well as any model componentized in the CSDMS modeling framework, automatically works with the CDI. The CDI has a plugin architecture, so models written in other languages, or those that don't expose a BMI, can be accessed by the CDI by programmatically extending a template; an example is provided in the CDI distribution. Currently, six Dakota analysis methods have been implemented for examples from the much larger Dakota library. To demonstrate the CDI, we performed an uncertainty quantification experiment with the HydroTrend hydrological water balance and transport model. In the experiment, we evaluated the response of long-term suspended sediment load at the river mouth (Qs) to uncertainty in two input parameters, annual mean temperature (T) and precipitation (P), over a series of 100-year runs, using the polynomial chaos method. Through Dakota, we calculated moments, local and global (Sobol') sensitivity indices, and probability density and

  10. SunPy 0.8 - Python for Solar Physics

    Science.gov (United States)

    Inglis, Andrew; Bobra, Monica; Christe, Steven; Hewett, Russell; Ireland, Jack; Mumford, Stuart; Martinez Oliveros, Juan Carlos; Perez-Suarez, David; Reardon, Kevin P.; Savage, Sabrina; Shih, Albert Y.; Ryan, Daniel; Sipocz, Brigitta; Freij, Nabil

    2017-08-01

    SunPy is a community-developed open-source software library for solar physics. It is written in Python, a free, cross-platform, general-purpose, high-level programming language which is being increasingly adopted throughout the scientific community. Python is one of the top ten most often used programming languages, as such it provides a wide array of software packages, such as numerical computation (NumPy, SciPy), machine learning (scikit-learn), signal processing (scikit-image, statsmodels) to visualization and plotting (matplotlib, mayavi). SunPy aims to provide the software for obtaining and analyzing solar and heliospheric data. This poster introduces a new major release of SunPy (0.8). This release includes two major new functionalities, as well as a number of bug fixes. It is based on 1120 contributions from 34 unique contributors. Fido is the new primary interface to download data. It provides a consistent and powerful search interface to all major data sources provides including VSO, JSOC, as well as individual data sources such as GOES XRS time series and and is fully pluggable to add new data sources, i.e. DKIST. In anticipation of Solar Orbiter and the Parker Solar Probe, SunPy now provides a powerful way of representing coordinates, allowing conversion between coordinate systems and viewpoints of different instruments, including preliminary reprojection capabilities. Other new features including new timeseries capabilities with better support for concatenation and metadata, updated documentation and example gallery. SunPy is distributed through pip and conda and all of its code is publicly available (sunpy.org).

  11. Using Python to Construct a Scalable Parallel Nonlinear Wave Solver

    KAUST Repository

    Mandli, Kyle

    2011-01-01

    Computational scientists seek to provide efficient, easy-to-use tools and frameworks that enable application scientists within a specific discipline to build and/or apply numerical models with up-to-date computing technologies that can be executed on all available computing systems. Although many tools could be useful for groups beyond a specific application, it is often difficult and time consuming to combine existing software, or to adapt it for a more general purpose. Python enables a high-level approach where a general framework can be supplemented with tools written for different fields and in different languages. This is particularly important when a large number of tools are necessary, as is the case for high performance scientific codes. This motivated our development of PetClaw, a scalable distributed-memory solver for time-dependent nonlinear wave propagation, as a case-study for how Python can be used as a highlevel framework leveraging a multitude of codes, efficient both in the reuse of code and programmer productivity. We present scaling results for computations on up to four racks of Shaheen, an IBM BlueGene/P supercomputer at King Abdullah University of Science and Technology. One particularly important issue that PetClaw has faced is the overhead associated with dynamic loading leading to catastrophic scaling. We use the walla library to solve the issue which does so by supplanting high-cost filesystem calls with MPI operations at a low enough level that developers may avoid any changes to their codes.

  12. Myiasis by Megaselia scalaris (Diptera: Phoridae) in a python affected by pulmonitis.

    Science.gov (United States)

    Vanin, S; Mazzariol, S; Menandro, M L; Lafisca, A; Turchetto, M

    2013-01-01

    Myiases are caused by the presence of maggots in vertebrate tissues and organs. Myiases have been studied widely in humans, farm animals, and pets, whereas reports of myiasis in reptiles are scarce. We describe a case of myiasis caused by the Megaselia scalaris (Loew) in an Indian python (Python molurus bivittatus, Kuhl) (Ophida: Boidae). The python, 15 yr old, born and reared in a terrarium in the mainland of Venice (Italy), was affected by diffuse, purulent pneumonia caused by Burkholderia cepacia. The severe infestation of maggots found in the lungs during an autopsy indicated at a myiasis.

  13. pymzML--Python module for high-throughput bioinformatics on mass spectrometry data.

    Science.gov (United States)

    Bald, Till; Barth, Johannes; Niehues, Anna; Specht, Michael; Hippler, Michael; Fufezan, Christian

    2012-04-01

    pymzML is an extension to Python that offers (i) an easy access to mass spectrometry (MS) data that allows the rapid development of tools, (ii) a very fast parser for mzML data, the standard data format in MS and (iii) a set of functions to compare or handle spectra. pymzML requires Python2.6.5+ and is fully compatible with Python3. The module is freely available on http://pymzml.github.com or pypi, is published under LGPL license and requires no additional modules to be installed. christian@fufezan.net.

  14. The Python ARM Radar Toolkit (Py-ART, a Library for Working with Weather Radar Data in the Python Programming Language

    Directory of Open Access Journals (Sweden)

    Jonathan J Helmus

    2016-07-01

    Full Text Available The Python ARM Radar Toolkit is a package for reading, visualizing, correcting and analysing data from weather radars. Development began to meet the needs of the Atmospheric Radiation Measurement Climate Research Facility and has since expanded to provide a general-purpose framework for working with data from weather radars in the Python programming language. The toolkit is built on top of libraries in the Scientific Python ecosystem including NumPy, SciPy, and matplotlib, and makes use of Cython for interfacing with existing radar libraries written in C and to speed up computationally demanding algorithms. The source code for the toolkit is available on GitHub and is distributed under a BSD license.

  15. Data Flow of a Multiple Instrument On-Demand Processing Engine with Python and DPLKIT

    National Research Council Canada - National Science Library

    Joseph P Garcia; Edwin Eloranta; Raymond K Garcia

    2016-01-01

      The University of Wisconsin LIDAR Group's High Spectral Resolution LIDAR on-demand data website and processing codebase uses Python to explore coding techniques which facilitate a flexible codebase...

  16. PyEEG: An Open Source Python Module for EEG/MEG Feature Extraction

    Directory of Open Access Journals (Sweden)

    Forrest Sheng Bao

    2011-01-01

    Full Text Available Computer-aided diagnosis of neural diseases from EEG signals (or other physiological signals that can be treated as time series, e.g., MEG is an emerging field that has gained much attention in past years. Extracting features is a key component in the analysis of EEG signals. In our previous works, we have implemented many EEG feature extraction functions in the Python programming language. As Python is gaining more ground in scientific computing, an open source Python module for extracting EEG features has the potential to save much time for computational neuroscientists. In this paper, we introduce PyEEG, an open source Python module for EEG feature extraction.

  17. Biopython: freely available Python tools for computational molecular biology and bioinformatics

    DEFF Research Database (Denmark)

    Cock, Peter J A; Antao, Tiago; Chang, Jeffrey T

    2009-01-01

    SUMMARY: The Biopython project is a mature open source international collaboration of volunteer developers, providing Python libraries for a wide range of bioinformatics problems. Biopython includes modules for reading and writing different sequence file formats and multiple sequence alignments...

  18. The Implementation of a Python Class for Structuring Network Data Collected in a Test Bed

    National Research Council Canada - National Science Library

    Nguyen, Binh Q

    2008-01-01

    This report documents an internally developed Python class that takes in a set of data files and organizes them into effective data structures that are suitable for the subsequent extraction, processing, and analysis...

  19. On the Performance of the Python Programming Language for Serial and Parallel Scientific Computations

    Directory of Open Access Journals (Sweden)

    Xing Cai

    2005-01-01

    Full Text Available This article addresses the performance of scientific applications that use the Python programming language. First, we investigate several techniques for improving the computational efficiency of serial Python codes. Then, we discuss the basic programming techniques in Python for parallelizing serial scientific applications. It is shown that an efficient implementation of the array-related operations is essential for achieving good parallel performance, as for the serial case. Once the array-related operations are efficiently implemented, probably using a mixed-language implementation, good serial and parallel performance become achievable. This is confirmed by a set of numerical experiments. Python is also shown to be well suited for writing high-level parallel programs.

  20. PyTrilinos: Recent Advances in the Python Interface to Trilinos

    Directory of Open Access Journals (Sweden)

    William F. Spotz

    2012-01-01

    Full Text Available PyTrilinos is a set of Python interfaces to compiled Trilinos packages. This collection supports serial and parallel dense linear algebra, serial and parallel sparse linear algebra, direct and iterative linear solution techniques, algebraic and multilevel preconditioners, nonlinear solvers and continuation algorithms, eigensolvers and partitioning algorithms. Also included are a variety of related utility functions and classes, including distributed I/O, coloring algorithms and matrix generation. PyTrilinos vector objects are compatible with the popular NumPy Python package. As a Python front end to compiled libraries, PyTrilinos takes advantage of the flexibility and ease of use of Python, and the efficiency of the underlying C++, C and Fortran numerical kernels. This paper covers recent, previously unpublished advances in the PyTrilinos package.

  1. Developers@CERN Forum | Python at CERN | 30 – 31 May

    CERN Multimedia

    2016-01-01

    The Developers@CERN Forum is an event by developers for developers aimed at promoting knowledge- and experience-sharing (see here). The second forum will take place in the IT auditorium in the afternoons of 30 and 31 May.   With the topic “Python at CERN”, it will consist of a series of talks regarding the Python language, frameworks and tools used at CERN. Are you a Python guru or would you like to learn? Come and share your Python experiences with other developers! Submissions for presentations and workshops are open until 9 May at http://cern.ch/dev-forum. If you would like to stay informed about this or future events, please subscribe to the announcement e-group (just a few e-mails per year) here. 

  2. Pārskatu ģenerēšanas bibliotēka Python valodai

    OpenAIRE

    Paltovs, Deniss

    2012-01-01

    Kvalifikācijas darba pamatā ir pārskatu ģenerēšanas bibliotēka Python valodai - PythonReports, kura ļauj Python izstrādātajiem no datiem un šablona izveidot izdruku uz ekrāna vai printera. Gala produkts ir vizuālais redaktors, kurš ļauj ērti un uzskatāmi veidot un rediģēt PythonReports šablonus, izmantojot mūsdienu lietotāju saskarnes tehnoloģijas operētājsistēmās ar grafisku lietotāja saskarni. Kvalifikācijas darbs balstās uz iepriekšējo pieredzi, iegūto izmantojot līdzīgus rīkus citās sist...

  3. Obtaining and processing Daymet data using Python and ArcGIS

    Science.gov (United States)

    Bohms, Stefanie

    2013-01-01

    This set of scripts was developed to automate the process of downloading and mosaicking daily Daymet data to a user defined extent using ArcGIS and Python programming language. The three steps are downloading the needed Daymet tiles for the study area extent, converting the netcdf file to a tif raster format, and mosaicking those rasters to one file. The set of scripts is intended for all levels of experience with Python programming language and requires no scripting by the user.

  4. Sharma′s python sign: A New tubal sign in female genital tuberculosis

    Directory of Open Access Journals (Sweden)

    Jai Bhagwan Sharma

    2016-01-01

    Full Text Available Female genital tuberculosis (FGTB is an important cause of infertility in developing countries. Various type of TB salpingitis can be endosalpingitis, exosalpingitis, interstitial TB salpingitis, and salpingitis isthmica nodosa. The fallopian tubes are thickened enlarged and tortuous. Unilateral or bilateral hydrosalpinx or pyosalpinx may be formed. A new sign python sign is presented in which fallopian tube looks like a blue python on dye testing in FGTB.

  5. Sharma's Python Sign: A New Tubal Sign in Female Genital Tuberculosis

    OpenAIRE

    Jai Bhagwan Sharma

    2016-01-01

    Female genital tuberculosis (FGTB) is an important cause of infertility in developing countries. Various type of TB salpingitis can be endosalpingitis, exosalpingitis, interstitial TB salpingitis, and salpingitis isthmica nodosa. The fallopian tubes are thickened enlarged and tortuous. Unilateral or bilateral hydrosalpinx or pyosalpinx may be formed. A new sign python sign is presented in which fallopian tube looks like a blue python on dye testing in FGTB.

  6. Sharma's Python Sign: A New Tubal Sign in Female Genital Tuberculosis.

    Science.gov (United States)

    Sharma, Jai Bhagwan

    2016-01-01

    Female genital tuberculosis (FGTB) is an important cause of infertility in developing countries. Various type of TB salpingitis can be endosalpingitis, exosalpingitis, interstitial TB salpingitis, and salpingitis isthmica nodosa. The fallopian tubes are thickened enlarged and tortuous. Unilateral or bilateral hydrosalpinx or pyosalpinx may be formed. A new sign python sign is presented in which fallopian tube looks like a blue python on dye testing in FGTB.

  7. AutoWIG : automatisation de l'encapsulation de librairies C++ en Python et en R

    OpenAIRE

    Fernique, Pierre

    2016-01-01

    National audience; Python and R programming languages are two of the most popular languages in scientific computing. However, most scientific packages incorporates C and C++ libraries. While several semi-automatic solutions and tools exist to wrap C++ libraries (RCPP, Boost.Python), the process of wrapping a large C++ library is cumbersome and time consuming. Some solutions have been developed in the past (e.g. Py++ or XDress) but require to write complex code to automate the process, and rel...

  8. Molecular identification of python species: development and validation of a novel assay for forensic investigations.

    Science.gov (United States)

    Ciavaglia, Sherryn A; Tobe, Shanan S; Donnellan, Stephen C; Henry, Julianne M; Linacre, Adrian M T

    2015-05-01

    Python snake species are often encountered in illegal activities and the question of species identity can be pertinent to such criminal investigations. Morphological identification of species of pythons can be confounded by many issues and molecular examination by DNA analysis can provide an alternative and objective means of identification. Our paper reports on the development and validation of a PCR primer pair that amplifies a segment of the mitochondrial cytochrome b gene that has been suggested previously as a good candidate locus for differentiating python species. We used this DNA region to perform species identification of pythons, even when the template DNA was of poor quality, as might be the case with forensic evidentiary items. Validation tests are presented to demonstrate the characteristics of the assay. Tests involved the cross-species amplification of this marker in non-target species, minimum amount of DNA template required, effects of degradation on product amplification and a blind trial to simulate a casework scenario that provided 100% correct identity. Our results demonstrate that this assay performs reliably and robustly on pythons and can be applied directly to forensic investigations where the presence of a species of python is in question. Copyright © 2014 Elsevier Ireland Ltd. All rights reserved.

  9. pyPaSWAS: Python-based multi-core CPU and GPU sequence alignment.

    Science.gov (United States)

    Warris, Sven; Timal, N Roshan N; Kempenaar, Marcel; Poortinga, Arne M; van de Geest, Henri; Varbanescu, Ana L; Nap, Jan-Peter

    2018-01-01

    Our previously published CUDA-only application PaSWAS for Smith-Waterman (SW) sequence alignment of any type of sequence on NVIDIA-based GPUs is platform-specific and therefore adopted less than could be. The OpenCL language is supported more widely and allows use on a variety of hardware platforms. Moreover, there is a need to promote the adoption of parallel computing in bioinformatics by making its use and extension more simple through more and better application of high-level languages commonly used in bioinformatics, such as Python. The novel application pyPaSWAS presents the parallel SW sequence alignment code fully packed in Python. It is a generic SW implementation running on several hardware platforms with multi-core systems and/or GPUs that provides accurate sequence alignments that also can be inspected for alignment details. Additionally, pyPaSWAS support the affine gap penalty. Python libraries are used for automated system configuration, I/O and logging. This way, the Python environment will stimulate further extension and use of pyPaSWAS. pyPaSWAS presents an easy Python-based environment for accurate and retrievable parallel SW sequence alignments on GPUs and multi-core systems. The strategy of integrating Python with high-performance parallel compute languages to create a developer- and user-friendly environment should be considered for other computationally intensive bioinformatics algorithms.

  10. photPARTY: Python automated square-aperture photometry

    Science.gov (United States)

    Symons, Teresa A.; Anthony-Twarog, Barbara J.

    2017-01-01

    As CCD’s have drastically increased the amount of information recorded per frame, so too have they increased the time and effort needed to sift through the data. For observations of a single star, information from millions of pixels needs to be distilled into one number: the magnitude. Various computer systems have been used to streamline this process over the years. The CCDPhot photometer, in use at the Kitt Peak 0.9-m telescope in the 1990’s, allowed for user settings and provided real time magnitudes during observation of single stars. It is this level of speed and convenience that inspired the development of the Python-based software analysis system photPARTY, which can quickly and efficiently produce magnitudes for a set of single-star or un-crowded field CCD frames. Seeking to remove the need for manual interaction after initial settings for a group of images, photPARTY automatically locates stars, subtracts the background, and performs square-aperture photometry. Rather than being a package of available functions, it is essentially a self-contained, one-click analysis system, with the capability to process several hundred frames in just a couple of minutes. Results of comparisons against present systems such as IRAF will be presented. The support of the National Science Foundation through grant AST-1211621 is gratefully acknowledged.

  11. Hyperopt: a Python library for model selection and hyperparameter optimization

    Science.gov (United States)

    Bergstra, James; Komer, Brent; Eliasmith, Chris; Yamins, Dan; Cox, David D.

    2015-01-01

    Sequential model-based optimization (also known as Bayesian optimization) is one of the most efficient methods (per function evaluation) of function minimization. This efficiency makes it appropriate for optimizing the hyperparameters of machine learning algorithms that are slow to train. The Hyperopt library provides algorithms and parallelization infrastructure for performing hyperparameter optimization (model selection) in Python. This paper presents an introductory tutorial on the usage of the Hyperopt library, including the description of search spaces, minimization (in serial and parallel), and the analysis of the results collected in the course of minimization. This paper also gives an overview of Hyperopt-Sklearn, a software project that provides automatic algorithm configuration of the Scikit-learn machine learning library. Following Auto-Weka, we take the view that the choice of classifier and even the choice of preprocessing module can be taken together to represent a single large hyperparameter optimization problem. We use Hyperopt to define a search space that encompasses many standard components (e.g. SVM, RF, KNN, PCA, TFIDF) and common patterns of composing them together. We demonstrate, using search algorithms in Hyperopt and standard benchmarking data sets (MNIST, 20-newsgroups, convex shapes), that searching this space is practical and effective. In particular, we improve on best-known scores for the model space for both MNIST and convex shapes. The paper closes with some discussion of ongoing and future work.

  12. Quantiprot - a Python package for quantitative analysis of protein sequences.

    Science.gov (United States)

    Konopka, Bogumił M; Marciniak, Marta; Dyrka, Witold

    2017-07-17

    The field of protein sequence analysis is dominated by tools rooted in substitution matrices and alignments. A complementary approach is provided by methods of quantitative characterization. A major advantage of the approach is that quantitative properties defines a multidimensional solution space, where sequences can be related to each other and differences can be meaningfully interpreted. Quantiprot is a software package in Python, which provides a simple and consistent interface to multiple methods for quantitative characterization of protein sequences. The package can be used to calculate dozens of characteristics directly from sequences or using physico-chemical properties of amino acids. Besides basic measures, Quantiprot performs quantitative analysis of recurrence and determinism in the sequence, calculates distribution of n-grams and computes the Zipf's law coefficient. We propose three main fields of application of the Quantiprot package. First, quantitative characteristics can be used in alignment-free similarity searches, and in clustering of large and/or divergent sequence sets. Second, a feature space defined by quantitative properties can be used in comparative studies of protein families and organisms. Third, the feature space can be used for evaluating generative models, where large number of sequences generated by the model can be compared to actually observed sequences.

  13. batman: BAsic Transit Model cAlculatioN in Python

    Science.gov (United States)

    Kreidberg, Laura

    2015-11-01

    I introduce batman, a Python package for modeling exoplanet transit light curves. The batman package supports calculation of light curves for any radially symmetric stellar limb darkening law, using a new integration algorithm for models that cannot be quickly calculated analytically. The code uses C extension modules to speed up model calculation and is parallelized with OpenMP. For a typical light curve with 100 data points in transit, batman can calculate one million quadratic limb-darkened models in 30 seconds with a single 1.7 GHz Intel Core i5 processor. The same calculation takes seven minutes using the four-parameter nonlinear limb darkening model (computed to 1 ppm accuracy). Maximum truncation error for integrated models is an input parameter that can be set as low as 0.001 ppm, ensuring that the community is prepared for the precise transit light curves we anticipate measuring with upcoming facilities. The batman package is open source and publicly available at https://github.com/lkreidberg/batman .

  14. Screening_mgmt: a Python module for managing screening data.

    Science.gov (United States)

    Helfenstein, Andreas; Tammela, Päivi

    2015-02-01

    High-throughput screening is an established technique in drug discovery and, as such, has also found its way into academia. High-throughput screening generates a considerable amount of data, which is why specific software is used for its analysis and management. The commercially available software packages are often beyond the financial limits of small-scale academic laboratories and, furthermore, lack the flexibility to fulfill certain user-specific requirements. We have developed a Python module, screening_mgmt, which is a lightweight tool for flexible data retrieval, analysis, and storage for different screening assays in one central database. The module reads custom-made analysis scripts and plotting instructions, and it offers a graphical user interface to import, modify, and display the data in a uniform manner. During the test phase, we used this module for the management of 10,000 data points of various origins. It has provided a practical, user-friendly tool for sharing and exchanging information between researchers. © 2014 Society for Laboratory Automation and Screening.

  15. Programming PHREEQC calculations with C++ and Python a comparative study

    Science.gov (United States)

    Charlton, Scott R.; Parkhurst, David L.; Muller, Mike

    2011-01-01

    The new IPhreeqc module provides an application programming interface (API) to facilitate coupling of other codes with the U.S. Geological Survey geochemical model PHREEQC. Traditionally, loose coupling of PHREEQC with other applications required methods to create PHREEQC input files, start external PHREEQC processes, and process PHREEQC output files. IPhreeqc eliminates most of this effort by providing direct access to PHREEQC capabilities through a component object model (COM), a library, or a dynamically linked library (DLL). Input and calculations can be specified through internally programmed strings, and all data exchange between an application and the module can occur in computer memory. This study compares simulations programmed in C++ and Python that are tightly coupled with IPhreeqc modules to the traditional simulations that are loosely coupled to PHREEQC. The study compares performance, quantifies effort, and evaluates lines of code and the complexity of the design. The comparisons show that IPhreeqc offers a more powerful and simpler approach for incorporating PHREEQC calculations into transport models and other applications that need to perform PHREEQC calculations. The IPhreeqc module facilitates the design of coupled applications and significantly reduces run times. Even a moderate knowledge of one of the supported programming languages allows more efficient use of PHREEQC than the traditional loosely coupled approach.

  16. A python framework for environmental model uncertainty analysis

    Science.gov (United States)

    White, Jeremy; Fienen, Michael N.; Doherty, John E.

    2016-01-01

    We have developed pyEMU, a python framework for Environmental Modeling Uncertainty analyses, open-source tool that is non-intrusive, easy-to-use, computationally efficient, and scalable to highly-parameterized inverse problems. The framework implements several types of linear (first-order, second-moment (FOSM)) and non-linear uncertainty analyses. The FOSM-based analyses can also be completed prior to parameter estimation to help inform important modeling decisions, such as parameterization and objective function formulation. Complete workflows for several types of FOSM-based and non-linear analyses are documented in example notebooks implemented using Jupyter that are available in the online pyEMU repository. Example workflows include basic parameter and forecast analyses, data worth analyses, and error-variance analyses, as well as usage of parameter ensemble generation and management capabilities. These workflows document the necessary steps and provides insights into the results, with the goal of educating users not only in how to apply pyEMU, but also in the underlying theory of applied uncertainty quantification.

  17. Gastric adenocarcinoma in a diamond python (Morelia spilota spilota).

    Science.gov (United States)

    Baron, H R; Allavena, R; Melville, L M; Doneley, R J T

    2014-10-01

    A 5-year-old captive male diamond python (Morelia spilota spilota) was presented with a 1-month history of regurgitation and anorexia and discrete coelomic distention. Physical examination revealed a firm, immobile mass at approximately two-thirds of the snout-vent length from the front of the head. Ultrasound-guided fine needle aspirate biopsy of the mass in the region of the stomach showed necrosis with bacterial infiltration and possibly neoplastic changes. A gastroscopy was conducted, but showed grossly normal gastric mucosa, confirmed by biopsy. On exploratory coeliotomy, it was confirmed the mass involved most of the stomach wall and occluded the gastric lumen. The mass was completely excised and based on histopathology, a diagnosis of gastric adenocarcinoma was made. The snake was found dead 12 h postoperatively, but no specific cause of death was found on postmortem examination. Most cases of adenocarcinoma in snakes go undiagnosed. This case report illustrates that the architecture of gastric masses may lead to false-negative gastric biopsy results in snakes with neoplasia. © 2014 Australian Veterinary Association.

  18. SPOTting Model Parameters Using a Ready-Made Python Package.

    Directory of Open Access Journals (Sweden)

    Tobias Houska

    Full Text Available The choice for specific parameter estimation methods is often more dependent on its availability than its performance. We developed SPOTPY (Statistical Parameter Optimization Tool, an open source python package containing a comprehensive set of methods typically used to calibrate, analyze and optimize parameters for a wide range of ecological models. SPOTPY currently contains eight widely used algorithms, 11 objective functions, and can sample from eight parameter distributions. SPOTPY has a model-independent structure and can be run in parallel from the workstation to large computation clusters using the Message Passing Interface (MPI. We tested SPOTPY in five different case studies to parameterize the Rosenbrock, Griewank and Ackley functions, a one-dimensional physically based soil moisture routine, where we searched for parameters of the van Genuchten-Mualem function and a calibration of a biogeochemistry model with different objective functions. The case studies reveal that the implemented SPOTPY methods can be used for any model with just a minimal amount of code for maximal power of parameter optimization. They further show the benefit of having one package at hand that includes number of well performing parameter search methods, since not every case study can be solved sufficiently with every algorithm or every objective function.

  19. ObsPy: A Python Toolbox for Seismology

    Science.gov (United States)

    Krischer, Lion; Megies, Tobias; Sales de Andrade, Elliott; Barsch, Robert; MacCarthy, Jonathan

    2017-04-01

    In recent years the Python ecosystem evolved into one of the most powerful and productive scientific environments across disciplines. ObsPy (https://www.obspy.org) is a fully community-driven, open-source project dedicated to providing a bridge for seismology into that ecosystem. It does so by offering Read and write support for essentially every commonly used data format in seismology with a unified interface and automatic format detection. This includes waveform data (MiniSEED, SAC, SEG-Y, Reftek, …) as well as station (SEED, StationXML, …) and event meta information (QuakeML, ZMAP, …). Integrated access to the largest data centers, web services, and real-time data streams (FDSNWS, ArcLink, SeedLink, ...). A powerful signal processing toolbox tuned to the specific needs of seismologists. Utility functionality like travel time calculations with the TauP method, geodetic functions, and data visualizations. ObsPy has been in constant development for more than seven years and is developed and used by scientists around the world with successful applications in all branches of seismology. Additionally it nowadays serves as the foundation for a large number of more specialized packages. This presentation will give a short overview of the capabilities of ObsPy and point out several representative or new use cases. Additionally we will discuss the road ahead as well as the long-term sustainability of open-source scientific software.

  20. Python-Based Tool for Universal Nuclear Data Extraction

    Science.gov (United States)

    McDonald, William; Blair, Hayden; Consalvi, Peter; Garbiso, Markus; Grover, Hannah; Harget, Alex; Martin, Matthew; Natzke, Connor; Leach, Kyle

    2017-09-01

    Over the past 70 years, nuclear physics experiments have provided a vast wealth of experimental data on both ground and excited state properties across the nuclear chart. In many cases, searching for and parsing the relevant nuclear structure data from previous work can be tedious and difficult. Although the compilation, evaluation, and digitization of this data by multiple groups around the world over the past several decades has helped dramatically in this respect, the process of performing systematic studies using this data can still be cumbersome and limited. We are in the process of creating a python-based program to extract, sort, and manipulate nuclear and atomic data efficiently. In its current state, the program is able to extract all atomic-shell ionization energies, excited- and ground-state nuclear properties, and all beta-decay rates and ratios. As a part of this ongoing project, we plan to use this tool to examine beta-decay rates in extreme astrophysical environments.

  1. AESOP: A Python Library for Investigating Electrostatics in Protein Interactions.

    Science.gov (United States)

    Harrison, Reed E S; Mohan, Rohith R; Gorham, Ronald D; Kieslich, Chris A; Morikis, Dimitrios

    2017-05-09

    Electric fields often play a role in guiding the association of protein complexes. Such interactions can be further engineered to accelerate complex association, resulting in protein systems with increased productivity. This is especially true for enzymes where reaction rates are typically diffusion limited. To facilitate quantitative comparisons of electrostatics in protein families and to describe electrostatic contributions of individual amino acids, we previously developed a computational framework called AESOP. We now implement this computational tool in Python with increased usability and the capability of performing calculations in parallel. AESOP utilizes PDB2PQR and Adaptive Poisson-Boltzmann Solver to generate grid-based electrostatic potential files for protein structures provided by the end user. There are methods within AESOP for quantitatively comparing sets of grid-based electrostatic potentials in terms of similarity or generating ensembles of electrostatic potential files for a library of mutants to quantify the effects of perturbations in protein structure and protein-protein association. Copyright © 2017 Biophysical Society. Published by Elsevier Inc. All rights reserved.

  2. SIMA: Python software for analysis of dynamic fluorescence imaging data

    Directory of Open Access Journals (Sweden)

    Patrick eKaifosh

    2014-09-01

    Full Text Available Fluorescence imaging is a powerful method for monitoring dynamic signals in the nervous system. However, analysis of dynamic fluorescence imaging data remains burdensome, in part due to the shortage of available software tools. To address this need, we have developed SIMA, an open source Python package that facilitates common analysis tasks related to fluorescence imaging. Functionality of this package includes correction of motion artifacts occurring during in vivo imaging with laser-scanning microscopy, segmentation of imaged fields into regions of interest (ROIs, and extraction of signals from the segmented ROIs. We have also developed a graphical user interface (GUI for manual editing of the automatically segmented ROIs and automated registration of ROIs across multiple imaging datasets. This software has been designed with flexibility in mind to allow for future extension with different analysis methods and potential integration with other packages. Software, documentation, and source code for the SIMA package and ROI Buddy GUI are freely available at http://www.losonczylab.org/sima/.

  3. SIMA: Python software for analysis of dynamic fluorescence imaging data

    Science.gov (United States)

    Kaifosh, Patrick; Zaremba, Jeffrey D.; Danielson, Nathan B.; Losonczy, Attila

    2014-01-01

    Fluorescence imaging is a powerful method for monitoring dynamic signals in the nervous system. However, analysis of dynamic fluorescence imaging data remains burdensome, in part due to the shortage of available software tools. To address this need, we have developed SIMA, an open source Python package that facilitates common analysis tasks related to fluorescence imaging. Functionality of this package includes correction of motion artifacts occurring during in vivo imaging with laser-scanning microscopy, segmentation of imaged fields into regions of interest (ROIs), and extraction of signals from the segmented ROIs. We have also developed a graphical user interface (GUI) for manual editing of the automatically segmented ROIs and automated registration of ROIs across multiple imaging datasets. This software has been designed with flexibility in mind to allow for future extension with different analysis methods and potential integration with other packages. Software, documentation, and source code for the SIMA package and ROI Buddy GUI are freely available at http://www.losonczylab.org/sima/. PMID:25295002

  4. SIMA: Python software for analysis of dynamic fluorescence imaging data.

    Science.gov (United States)

    Kaifosh, Patrick; Zaremba, Jeffrey D; Danielson, Nathan B; Losonczy, Attila

    2014-01-01

    Fluorescence imaging is a powerful method for monitoring dynamic signals in the nervous system. However, analysis of dynamic fluorescence imaging data remains burdensome, in part due to the shortage of available software tools. To address this need, we have developed SIMA, an open source Python package that facilitates common analysis tasks related to fluorescence imaging. Functionality of this package includes correction of motion artifacts occurring during in vivo imaging with laser-scanning microscopy, segmentation of imaged fields into regions of interest (ROIs), and extraction of signals from the segmented ROIs. We have also developed a graphical user interface (GUI) for manual editing of the automatically segmented ROIs and automated registration of ROIs across multiple imaging datasets. This software has been designed with flexibility in mind to allow for future extension with different analysis methods and potential integration with other packages. Software, documentation, and source code for the SIMA package and ROI Buddy GUI are freely available at http://www.losonczylab.org/sima/.

  5. SPOTting Model Parameters Using a Ready-Made Python Package

    Science.gov (United States)

    Houska, Tobias; Kraft, Philipp; Chamorro-Chavez, Alejandro; Breuer, Lutz

    2017-04-01

    The choice for specific parameter estimation methods is often more dependent on its availability than its performance. We developed SPOTPY (Statistical Parameter Optimization Tool), an open source python package containing a comprehensive set of methods typically used to calibrate, analyze and optimize parameters for a wide range of ecological models. SPOTPY currently contains eight widely used algorithms, 11 objective functions, and can sample from eight parameter distributions. SPOTPY has a model-independent structure and can be run in parallel from the workstation to large computation clusters using the Message Passing Interface (MPI). We tested SPOTPY in five different case studies to parameterize the Rosenbrock, Griewank and Ackley functions, a one-dimensional physically based soil moisture routine, where we searched for parameters of the van Genuchten-Mualem function and a calibration of a biogeochemistry model with different objective functions. The case studies reveal that the implemented SPOTPY methods can be used for any model with just a minimal amount of code for maximal power of parameter optimization. They further show the benefit of having one package at hand that includes number of well performing parameter search methods, since not every case study can be solved sufficiently with every algorithm or every objective function.

  6. GOGrapher: A Python library for GO graph representation and analysis

    Directory of Open Access Journals (Sweden)

    Lu Xinghua

    2009-07-01

    Full Text Available Abstract Background The Gene Ontology is the most commonly used controlled vocabulary for annotating proteins. The concepts in the ontology are organized as a directed acyclic graph, in which a node corresponds to a biological concept and a directed edge denotes the parent-child semantic relationship between a pair of terms. A large number of protein annotations further create links between proteins and their functional annotations, reflecting the contemporary knowledge about proteins and their functional relationships. This leads to a complex graph consisting of interleaved biological concepts and their associated proteins. What is needed is a simple, open source library that provides tools to not only create and view the Gene Ontology graph, but to analyze and manipulate it as well. Here we describe the development and use of GOGrapher, a Python library that can be used for the creation, analysis, manipulation, and visualization of Gene Ontology related graphs. Findings An object-oriented approach was adopted to organize the hierarchy of the graphs types and associated classes. An Application Programming Interface is provided through which different types of graphs can be pragmatically created, manipulated, and visualized. GOGrapher has been successfully utilized in multiple research projects, e.g., a graph-based multi-label text classifier for protein annotation. Conclusion The GOGrapher project provides a reusable programming library designed for the manipulation and analysis of Gene Ontology graphs. The library is freely available for the scientific community to use and improve.

  7. Python framework for kinetic modeling of electronically excited reaction pathways

    Science.gov (United States)

    Verboncoeur, John; Parsey, Guy; Guclu, Yaman; Christlieb, Andrew

    2012-10-01

    The use of plasma energy to enhance and control the chemical reactions during combustion, a technology referred to as ``plasma assisted combustion'' (PAC), can result in a variety of beneficial effects: e.g. stable lean operation, pollution reduction, and wider range of p-T operating conditions. While experimental evidence abounds, theoretical understanding of PAC is at best incomplete, and numerical tools still lack in reliable predictive capabilities. In the context of a joint experimental-numerical effort at Michigan State University, we present here an open-source modular Python framework dedicated to the dynamic optimization of non-equilibrium PAC systems. Multiple sources of experimental reaction data, e.g. reaction rates, cross-sections and oscillator strengths, are used in order to quantify the effect of data uncertainty and limiting assumptions. A collisional-radiative model (CRM) is implemented to organize reactions by importance and as a potential means of measuring a non-Maxwellian electron energy distribution function (EEDF), when coupled to optical emission spectroscopy data. Finally, we explore scaling laws in PAC parameter space using a kinetic global model (KGM) accelerated with CRM optimized reaction sequences and sparse stiff integrators.

  8. The effects of finish type on permeability and organoleptic properties of python (Python reticulatus skin finished leather

    Directory of Open Access Journals (Sweden)

    Emiliana Kasmudjiastuti

    2017-06-01

    Full Text Available In the leather industry, there are many different types of finish, i.e. two-tone, transparent, semi aniline and opaque/solid color. The composition formulation of each finish type is different so each will impact not only on the performance but also on the properties of the finished leather. The objective of this research was to investigate the effects of finish type (natural, aniline, semi-aniline, and two-tone on permeability and organoleptic properties of python skin finished leather. This research focused on the finishing process with various finish types. The results showed that the effect of semi-aniline (I,II finish type on water vapor permeability reduction is the highest when compared with natural (I, II; aniline (I,II and two-tone finish types. Otherwise, the effect of semi-aniline (I,II finish type on organoleptic properties is the lowest compared with natural (I, II; aniline (I,II and two-tone finish types. The aniline I finish type has better organoleptic properties.

  9. Short telomeres in hatchling snakes: erythrocyte telomere dynamics and longevity in tropical pythons.

    Directory of Open Access Journals (Sweden)

    Beata Ujvari

    Full Text Available BACKGROUND: Telomere length (TL has been found to be associated with life span in birds and humans. However, other studies have demonstrated that TL does not affect survival among old humans. Furthermore, replicative senescence has been shown to be induced by changes in the protected status of the telomeres rather than the loss of TL. In the present study we explore whether age- and sex-specific telomere dynamics affect life span in a long-lived snake, the water python (Liasis fuscus. METHODOLOGY/PRINCIPAL FINDINGS: Erythrocyte TL was measured using the Telo TAGGG TL Assay Kit (Roche. In contrast to other vertebrates, TL of hatchling pythons was significantly shorter than that of older snakes. However, during their first year of life hatchling TL increased substantially. While TL of older snakes decreased with age, we did not observe any correlation between TL and age in cross-sectional sampling. In older snakes, female TL was longer than that of males. When using recapture as a proxy for survival, our results do not support that longer telomeres resulted in an increased water python survival/longevity. CONCLUSIONS/SIGNIFICANCE: In fish high telomerase activity has been observed in somatic cells exhibiting high proliferation rates. Hatchling pythons show similar high somatic cell proliferation rates. Thus, the increase in TL of this group may have been caused by increased telomerase activity. In older humans female TL is longer than that of males. This has been suggested to be caused by high estrogen levels that stimulate increased telomerase activity. Thus, high estrogen levels may also have caused the longer telomeres in female pythons. The lack of correlation between TL and age among old snakes and the fact that longer telomeres did not appear to affect python survival do not support that erythrocyte telomere dynamics has a major impact on water python longevity.

  10. Python for hydrological modeling: interfacing C code with ctypes, dynamic typing and introspection

    Science.gov (United States)

    Bogaart, P. W.

    2008-12-01

    The Python programming language has several features that make it an ideal front-end language for user-friendly numerical modelling of hydrological systems. In this presentation we will demonstrate this with a comprehensive hillslope hydrological modelling framework, where the following features are highlighted: •[Extensibility:] Often a low-level langage like C is better suited for the core functionality of numerical models, for instance because of the inherent higher computational speed, or the availability of specialized algorithms, like the well-known Numerical Recipes or the open source GNU Scientific Library. The now standard Python "ctypes" enables easy manipulation of the C functions and datastructures, provided the C code is compiled into a shared library. High-level Python wrapper functions or classes are easily constructed. •[Flexibility and introspection:] Python is strong but dynamically typed, meaning that variables can change type. This enables the construction of highly flexible functions that operate on a single model parameter, or a list of parameters, or a function that yields parameter values. Related to this, is the capacity of Python to inspect its own types and variables during runtime. So, depending on the actual type of a function argument (scalar, list, function) different actions are taken. Python classes are highly flexibly in the sense that member fields can be added to them during runtime. Python's introspection capacities enables finding out which member fields are actually present. This enables the construction of 'smart' functions that probe an object for the presence or absence of specified members (using their name), and then taking action. On example that will be worked out is a flexible parameter optimizer that takes a reference to a model object, and a list of a parameter names that are to be optimized.

  11. seismic-py: Reading seismic data with Python

    Directory of Open Access Journals (Sweden)

    2008-08-01

    Full Text Available The field of seismic exploration of the Earth has changed
    dramatically over the last half a century. The Society of Exploration
    Geophysicists (SEG has worked to create standards to store the vast
    amounts of seismic data in a way that will be portable across computer
    architectures. However, it has been impossible to predict the needs of the
    immense range of seismic data acquisition systems. As a result, vendors have
    had to bend the rules to accommodate the needs of new instruments and
    experiment types. For low level access to seismic data, there is need for a
    standard open source library to allow access to a wide range of vendor data
    files that can handle all of the variations. A new seismic software package,
    seismic-py, provides an infrastructure for creating and managing drivers for
    each particular format. Drivers can be derived from one of the known formats
    and altered to handle any slight variations. Alternatively drivers can be
    developed from scratch for formats that are very different from any previously
    defined format. Python has been the key to making driver development easy
    and efficient to implement. The goal of seismic-py is to be the base system
    that will power a wide range of experimentation with seismic data and at the
    same time provide clear documentation for the historical record of seismic
    data formats.

  12. Spatially distributed, physically based modelling through a wxPython based GUI

    Science.gov (United States)

    Carrera-Hernández, J. J.; Mendoza, C. A.; Devito, K. J.

    2008-12-01

    A GUI was developed in wxPython to link a physically-based and fully coupled surface water/groundwater code (HydroGeoSphere) to a GIS (GRASS) in order to use the GIS as a preprocessor for HydroGeoSphere. The GIS can be used to both develop and visualize the required spatio-temporal input data in the numerical model. The wxPython GUI seamlessly integrates data obtained from a variety of different sources, providing access to a series of modules (written in C) that create the input files required by HydroGeoSphere. The user is guided through model development, domain delineation, finite-element mesh creation and assignment of properties to the modeling domain. The GUI provides the capability to assign other simulation properties (e.g., simulation length and required time steps) and can be easily modified and updated if more modules are needed. The use of both Python and wxPython to develop the interface was based on the fact that the language is easy to learn, adapt and modify. Their use facilitates the integration of GRASS and a Relational Database (i.e. accessing, simultaneously, GRASS datasets and data stored in the database). The wxPython code is cross-platform, thus the GUI should run under different Operating Systems allowing end users to choose where to run the application.

  13. Pybel: a Python wrapper for the OpenBabel cheminformatics toolkit

    Directory of Open Access Journals (Sweden)

    Morley Chris

    2008-03-01

    Full Text Available Abstract Background Scripting languages such as Python are ideally suited to common programming tasks in cheminformatics such as data analysis and parsing information from files. However, for reasons of efficiency, cheminformatics toolkits such as the OpenBabel toolkit are often implemented in compiled languages such as C++. We describe Pybel, a Python module that provides access to the OpenBabel toolkit. Results Pybel wraps the direct toolkit bindings to simplify common tasks such as reading and writing molecular files and calculating fingerprints. Extensive use is made of Python iterators to simplify loops such as that over all the molecules in a file. A Pybel Molecule can be easily interconverted to an OpenBabel OBMol to access those methods or attributes not wrapped by Pybel. Conclusion Pybel allows cheminformaticians to rapidly develop Python scripts that manipulate chemical information. It is open source, available cross-platform, and offers the power of the OpenBabel toolkit to Python programmers.

  14. WekaPyScript: Classification, Regression, and Filter Schemes for WEKA Implemented in Python

    Directory of Open Access Journals (Sweden)

    Christopher Beckham

    2016-08-01

    Full Text Available WekaPyScript is a package for the machine learning software WEKA that allows learning algorithms and preprocessing methods for classification and regression to be written in Python, as opposed to WEKA’s implementation language, Java. This opens up WEKA to its machine learning and scientific computing ecosystem. Furthermore, due to Python’s minimalist syntax, learning algorithms and preprocessing methods can be prototyped easily and utilised from within WEKA. WekaPyScript works by running a local Python server using the host’s installation of Python; as a result, any libraries installed in the host installation can be leveraged when writing a script for WekaPyScript. Three example scripts (two learning algorithms and one preprocessing method are presented.

  15. interPopula: a Python API to access the HapMap Project dataset.

    Science.gov (United States)

    Antao, Tiago

    2010-12-21

    The HapMap project is a publicly available catalogue of common genetic variants that occur in humans, currently including several million SNPs across 1115 individuals spanning 11 different populations. This important database does not provide any programmatic access to the dataset, furthermore no standard relational database interface is provided. interPopula is a Python API to access the HapMap dataset. interPopula provides integration facilities with both the Python ecology of software (e.g. Biopython and matplotlib) and other relevant human population datasets (e.g. Ensembl gene annotation and UCSC Known Genes). A set of guidelines and code examples to address possible inconsistencies across heterogeneous data sources is also provided. interPopula is a straightforward and flexible Python API that facilitates the construction of scripts and applications that require access to the HapMap dataset.

  16. Analyzing rasters, vectors and time series using new Python interfaces in GRASS GIS 7

    Science.gov (United States)

    Petras, Vaclav; Petrasova, Anna; Chemin, Yann; Zambelli, Pietro; Landa, Martin; Gebbert, Sören; Neteler, Markus; Löwe, Peter

    2015-04-01

    GRASS GIS 7 is a free and open source GIS software developed and used by many scientists (Neteler et al., 2012). While some users of GRASS GIS prefer its graphical user interface, significant part of the scientific community takes advantage of various scripting and programing interfaces offered by GRASS GIS to develop new models and algorithms. Here we will present different interfaces added to GRASS GIS 7 and available in Python, a popular programming language and environment in geosciences. These Python interfaces are designed to satisfy the needs of scientists and programmers under various circumstances. PyGRASS (Zambelli et al., 2013) is a new object-oriented interface to GRASS GIS modules and libraries. The GRASS GIS libraries are implemented in C to ensure maximum performance and the PyGRASS interface provides an intuitive, pythonic access to their functionality. GRASS GIS Python scripting library is another way of accessing GRASS GIS modules. It combines the simplicity of Bash and the efficiency of the Python syntax. When full access to all low-level and advanced functions and structures from GRASS GIS library is required, Python programmers can use an interface based on the Python ctypes package. Ctypes interface provides complete, direct access to all functionality as it would be available to C programmers. GRASS GIS provides specialized Python library for managing and analyzing spatio-temporal data (Gebbert and Pebesma, 2014). The temporal library introduces space time datasets representing time series of raster, 3D raster or vector maps and allows users to combine various spatio-temporal operations including queries, aggregation, sampling or the analysis of spatio-temporal topology. We will also discuss the advantages of implementing scientific algorithm as a GRASS GIS module and we will show how to write such module in Python. To facilitate the development of the module, GRASS GIS provides a Python library for testing (Petras and Gebbert, 2014) which

  17. Histamine induces postprandian tachycardia through a direct effect on cardiac H2-receptors in pythons

    DEFF Research Database (Denmark)

    Jensen, Nini Skovgaard; Møller, Kate; Gesser, Hans

    2009-01-01

    The intrinsic heart rate of most vertebrates studied, including humans, is elevated during digestion, suggesting that a non-adrenergic-non-cholinergic factor contributes to the postprandial tachycardia. The regulating factor, however, remains elusive and difficult to identify. Pythons can ingest...... very large meals and digestion is associated with a marked rise in metabolism that is sustained for several days. The metabolic rise causes more than a doubling of heart rate and a four-fold rise in cardiac output. This makes the python an interesting model to investigate the postprandial tachycardia....... We measured blood pressure and heart rate in fasting Python regius, and at 24 and 48h after ingestion of a meal amounting to 25% of body weight. Digestion caused heart rate to increase from 25 to 56 min-1 while blood pressure was unchanged. The postprandial rise in heart rate was partially due...

  18. The mechanical properties of the systemic and pulmonary arteries of Python regius correlate with blood pressures.

    Science.gov (United States)

    van Soldt, Benjamin J; Danielsen, Carl Christian; Wang, Tobias

    2015-12-01

    Pythons are unique amongst snakes in having different pressures in the aortas and pulmonary arteries because of intraventricular pressure separation. In this study, we investigate whether this correlates with different blood vessel strength in the ball python Python regius. We excised segments from the left, right, and dorsal aortas, and from the two pulmonary arteries. These were subjected to tensile testing. We show that the aortic vessel wall is significantly stronger than the pulmonary artery wall in P. regius. Gross morphological characteristics (vessel wall thickness and correlated absolute amount of collagen content) are likely the most influential factors. Collagen fiber thickness and orientation are likely to have an effect, though the effect of collagen fiber type and cross-links between fibers will need further study. © 2015 Wiley Periodicals, Inc.

  19. GPAW - massively parallel electronic structure calculations with Python-based software

    DEFF Research Database (Denmark)

    Enkovaara, Jussi; Romero, Nichols A.; Shende, Sameer

    2011-01-01

    popular choice. While dynamic, interpreted languages, such as Python, can increase the effciency of programmer, they cannot compete directly with the raw performance of compiled languages. However, by using an interpreted language together with a compiled language, it is possible to have most...... of the productivity enhancing features together with a good numerical performance. We have used this approach in implementing an electronic structure simulation software GPAW using the combination of Python and C programming languages. While the chosen approach works well in standard workstations and Unix...... environments, massively parallel supercomputing systems can present some challenges in porting, debugging and profiling the software. In this paper we describe some details of the implementation and discuss the advantages and challenges of the combined Python/C approach. We show that despite the challenges...

  20. The atomic simulation environment—a Python library for working with atoms

    Science.gov (United States)

    Hjorth Larsen, Ask; Jørgen Mortensen, Jens; Blomqvist, Jakob; Castelli, Ivano E.; Christensen, Rune; Dułak, Marcin; Friis, Jesper; Groves, Michael N.; Hammer, Bjørk; Hargus, Cory; Hermes, Eric D.; Jennings, Paul C.; Bjerre Jensen, Peter; Kermode, James; Kitchin, John R.; Leonhard Kolsbjerg, Esben; Kubal, Joseph; Kaasbjerg, Kristen; Lysgaard, Steen; Bergmann Maronsson, Jón; Maxson, Tristan; Olsen, Thomas; Pastewka, Lars; Peterson, Andrew; Rostgaard, Carsten; Schiøtz, Jakob; Schütt, Ole; Strange, Mikkel; Thygesen, Kristian S.; Vegge, Tejs; Vilhelmsen, Lasse; Walter, Michael; Zeng, Zhenhua; Jacobsen, Karsten W.

    2017-07-01

    The atomic simulation environment (ASE) is a software package written in the Python programming language with the aim of setting up, steering, and analyzing atomistic simulations. In ASE, tasks are fully scripted in Python. The powerful syntax of Python combined with the NumPy array library make it possible to perform very complex simulation tasks. For example, a sequence of calculations may be performed with the use of a simple ‘for-loop’ construction. Calculations of energy, forces, stresses and other quantities are performed through interfaces to many external electronic structure codes or force fields using a uniform interface. On top of this calculator interface, ASE provides modules for performing many standard simulation tasks such as structure optimization, molecular dynamics, handling of constraints and performing nudged elastic band calculations.

  1. Pteros 2.0: Evolution of the fast parallel molecular analysis library for C++ and python.

    Science.gov (United States)

    Yesylevskyy, Semen O

    2015-07-15

    Pteros is the high-performance open-source library for molecular modeling and analysis of molecular dynamics trajectories. Starting from version 2.0 Pteros is available for C++ and Python programming languages with very similar interfaces. This makes it suitable for writing complex reusable programs in C++ and simple interactive scripts in Python alike. New version improves the facilities for asynchronous trajectory reading and parallel execution of analysis tasks by introducing analysis plugins which could be written in either C++ or Python in completely uniform way. The high level of abstraction provided by analysis plugins greatly simplifies prototyping and implementation of complex analysis algorithms. Pteros is available for free under Artistic License from http://sourceforge.net/projects/pteros/. © 2015 Wiley Periodicals, Inc.

  2. The atomic simulation environment-a Python library for working with atoms.

    Science.gov (United States)

    Hjorth Larsen, Ask; Jørgen Mortensen, Jens; Blomqvist, Jakob; Castelli, Ivano E; Christensen, Rune; Dułak, Marcin; Friis, Jesper; Groves, Michael N; Hammer, Bjørk; Hargus, Cory; Hermes, Eric D; Jennings, Paul C; Bjerre Jensen, Peter; Kermode, James; Kitchin, John R; Leonhard Kolsbjerg, Esben; Kubal, Joseph; Kaasbjerg, Kristen; Lysgaard, Steen; Bergmann Maronsson, Jón; Maxson, Tristan; Olsen, Thomas; Pastewka, Lars; Peterson, Andrew; Rostgaard, Carsten; Schiøtz, Jakob; Schütt, Ole; Strange, Mikkel; Thygesen, Kristian S; Vegge, Tejs; Vilhelmsen, Lasse; Walter, Michael; Zeng, Zhenhua; Jacobsen, Karsten W

    2017-07-12

    The atomic simulation environment (ASE) is a software package written in the Python programming language with the aim of setting up, steering, and analyzing atomistic simulations. In ASE, tasks are fully scripted in Python. The powerful syntax of Python combined with the NumPy array library make it possible to perform very complex simulation tasks. For example, a sequence of calculations may be performed with the use of a simple 'for-loop' construction. Calculations of energy, forces, stresses and other quantities are performed through interfaces to many external electronic structure codes or force fields using a uniform interface. On top of this calculator interface, ASE provides modules for performing many standard simulation tasks such as structure optimization, molecular dynamics, handling of constraints and performing nudged elastic band calculations.

  3. A Python-based interface to examine motions in time series of solar images

    Science.gov (United States)

    Campos-Rozo, J. I.; Vargas Domínguez, S.

    2017-10-01

    Python is considered to be a mature programming language, besides of being widely accepted as an engaging option for scientific analysis in multiple areas, as will be presented in this work for the particular case of solar physics research. SunPy is an open-source library based on Python that has been recently developed to furnish software tools to solar data analysis and visualization. In this work we present a graphical user interface (GUI) based on Python and Qt to effectively compute proper motions for the analysis of time series of solar data. This user-friendly computing interface, that is intended to be incorporated to the Sunpy library, uses a local correlation tracking technique and some extra tools that allows the selection of different parameters to calculate, vizualize and analyze vector velocity fields of solar data, i.e. time series of solar filtergrams and magnetograms.

  4. The role of python eggshell permeability dynamics in a respiration-hydration trade-off.

    Science.gov (United States)

    Stahlschmidt, Zachary R; Heulin, Benoit; DeNardo, Dale F

    2010-01-01

    Parental care is taxonomically widespread because it improves developmental conditions and thus fitness of offspring. Although relatively simplistic compared with parental behaviors of other taxa, python egg-brooding behavior exemplifies parental care because it mediates a trade-off between embryonic respiration and hydration. However, because egg brooding increases gas-exchange resistance between embryonic and nest environments and because female pythons do not adjust their brooding behavior in response to the increasing metabolic requirements of developing offspring, python egg brooding imposes hypoxic costs on embryos during the late stages of incubation. We conducted a series of experiments to determine whether eggshells coadapted with brooding behavior to minimize the negative effects of developmental hypoxia. We tested the hypotheses that python eggshells (1) increase permeability over time to accommodate increasing embryonic respiration and (2) exhibit permeability plasticity in response to chronic hypoxia. Over incubation, we serially measured the atomic and structural components of Children's python (Antaresia childreni) eggshells as well as in vivo and in vitro gas exchange across eggshells. In support of our first hypothesis, A. childreni eggshells exhibited a reduced fibrous layer, became more permeable, and facilitated greater gas exchange as incubation progressed. Our second hypothesis was not supported, as incubation O(2) concentration did not affect the shells' permeabilities to O(2) and H(2)O vapor. Our results suggest that python eggshell permeability changes during incubation but that the alterations over time are fixed and independent of environmental conditions. These findings are of broad evolutionary interest because they demonstrate that, even in relatively simple parental-care models, successful parent-offspring relationships depend on adjustments made by both the parent (i.e., egg-brooding behavioral shifts) and the offspring (i

  5. HOPE: A Python just-in-time compiler for astrophysical computations

    Science.gov (United States)

    Akeret, J.; Gamper, L.; Amara, A.; Refregier, A.

    2015-04-01

    The Python programming language is becoming increasingly popular for scientific applications due to its simplicity, versatility, and the broad range of its libraries. A drawback of this dynamic language, however, is its low runtime performance which limits its applicability for large simulations and for the analysis of large data sets, as is common in astrophysics and cosmology. While various frameworks have been developed to address this limitation, most focus on covering the complete language set, and either force the user to alter the code or are not able to reach the full speed of an optimised native compiled language. In order to combine the ease of Python and the speed of C++, we developed HOPE, a specialised Python just-in-time (JIT) compiler designed for numerical astrophysical applications. HOPE focuses on a subset of the language and is able to translate Python code into C++ while performing numerical optimisation on mathematical expressions at runtime. To enable the JIT compilation, the user only needs to add a decorator to the function definition. We assess the performance of HOPE by performing a series of benchmarks and compare its execution speed with that of plain Python, C++ and the other existing frameworks. We find that HOPE improves the performance compared to plain Python by a factor of 2 to 120, achieves speeds comparable to that of C++, and often exceeds the speed of the existing solutions. We discuss the differences between HOPE and the other frameworks, as well as future extensions of its capabilities. The fully documented HOPE package is available at http://hope.phys.ethz.ch and is published under the GPLv3 license on PyPI and GitHub.

  6. Python y OpenCV aplicados a un caso de estudio real

    OpenAIRE

    García del Arco, José Antonio

    2015-01-01

    Este trabajo se centra en el uso del lenguaje Python y la librería OpenCV de visión por computador para el seguimiento de crustáceos marinos en condiciones experimentales y determinar su comportamiento en un entorno social. Aquest treball es centra en l'ús del llenguatge Python i la llibreria OpenCV de visió per computador per al seguiment de crustacis marins en condicions experimentals i determinar el seu comportament en un entorn social.

  7. Python forensics a workbench for inventing and sharing digital forensic technology

    CERN Document Server

    Hosmer, Chet

    2014-01-01

    Python Forensics provides many never-before-published proven forensic modules, libraries, and solutions that can be used right out of the box. In addition, detailed instruction and documentation provided with the code samples will allow even novice Python programmers to add their own unique twists or use the models presented to build new solutions. Rapid development of new cybercrime investigation tools is an essential ingredient in virtually every case and environment. Whether you are performing post-mortem investigation, executing live triage, extracting evidence from mobile devices or cl

  8. Real world instrumentation with Python automated data acquisition and control systems

    CERN Document Server

    Hughes, John

    2010-01-01

    Learn how to develop your own applications to monitor or control instrumentation hardware. Whether you need to acquire data from a device or automate its functions, this practical book shows you how to use Python's rapid development capabilities to build interfaces that include everything from software to wiring. You get step-by-step instructions, clear examples, and hands-on tips for interfacing a PC to a variety of devices. Use the book's hardware survey to identify the interface type for your particular device, and then follow detailed examples to develop an interface with Python and C. O

  9. Výuka algoritmizace a programování se zaměřením na programovací jazyk Python

    OpenAIRE

    Kotek, Lukáš

    2013-01-01

    The thesis researches the ability of use of Python programming language in the field of high school education and uses qualitative and quantitative methods of research and finds Python suitable. The thesis also brings theoretical analysis of the Python language, including practical exams in the form of sample programs. It researchs even other programming languages used in education and their suitability for this purpose and compares them with Python programming language. It also finds two mos...

  10. Evaluation of the role of the cyclooxygenase signaling pathway during inflammation in skin and muscle tissues of ball pythons (Python regius).

    Science.gov (United States)

    Sadler, Ryan A; Schumacher, Juergen P; Rathore, Kusum; Newkirk, Kim M; Cole, Grayson; Seibert, Rachel; Cekanova, Maria

    2016-05-01

    OBJECTIVE To determine degrees of production of cyclooxygenase (COX)-1 and -2 and other mediators of inflammation in noninflamed and inflamed skin and muscle tissues in ball pythons (Python regius). ANIMALS 6 healthy adult male ball pythons. PROCEDURES Biopsy specimens of noninflamed skin and muscle tissue were collected from anesthetized snakes on day 0. A 2-cm skin and muscle incision was then made 5 cm distal to the biopsy sites with a CO2 laser to induce inflammation. On day 7, biopsy specimens of skin and muscle tissues were collected from the incision sites. Inflamed and noninflamed tissue specimens were evaluated for production of COX-1, COX-2, phosphorylated protein kinase B (AKT), total AKT, nuclear factor κ-light-chain-enhancer of activated B cells, phosphorylated extracellular receptor kinases (ERKs) 1 and 2, and total ERK proteins by western blot analysis. Histologic evaluation was performed on H&E-stained tissue sections. RESULTS All biopsy specimens of inflamed skin and muscle tissues had higher histologic inflammation scores than did specimens of noninflamed tissue. Inflamed skin specimens had significantly greater production of COX-1 and phosphorylated ERK than did noninflamed skin specimens. Inflamed muscle specimens had significantly greater production of phosphorylated ERK and phosphorylated AKT, significantly lower production of COX-1, and no difference in production of COX-2, compared with production in noninflamed muscle specimens. CONCLUSIONS AND CLINICAL RELEVANCE Production of COX-1, but not COX-2, was significantly greater in inflamed versus noninflamed skin specimens from ball pythons. Additional research into the reptilian COX signaling pathway is warranted.

  11. Data Flow of a Multiple Instrument On-Demand Processing Engine with Python and DPLKIT

    OpenAIRE

    Garcia Joseph P.; Eloranta Edwin; Garcia Raymond K.

    2016-01-01

    The University of Wisconsin LIDAR Group’s High Spectral Resolution LIDAR on-demand data website and processing codebase uses Python to explore coding techniques which facilitate a flexible codebase that is reusable for various outputs, cooperative multi-instrument products, and retains stability and maintainability without hindering dynamic experimentation.

  12. Automating Geographic Information Systems (GIS) through Python for the Hydrological Sciences

    Science.gov (United States)

    Madsen, K.

    2013-12-01

    Geographic Information Systems (GIS) have many applications in the hydrological sciences. However, GIS software is often expensive and difficult to automate. This paper will demonstrate how to automate GRASS GIS software using the Python programming language. Both GRASS GIS and Python are open source projects that are free for anyone to use. Automation of GIS processes is important when dealing with large-scale geographic studies, as large GIS maps are usually divided into discrete tiles. When conducting GIS transformations on such maps, the user must repeat the action for each tile, a process that is greatly expedited through automation. The paper will work through several examples of automated GIS processes and provide complete Python codes that demonstrate correct syntax for working with GRASS GIS applications. The provided examples will demonstrate automation of the following processes 1.) using raster math to calculate foliage thickness from LIDAR and DEM data; 2.) conducting raster interpolation from a set of vector points to develop a continuous hydraulic conductivity coverage; 3.) automating raster coloration to sync the coloration of a large number of raster tiles for website display, and 4.) constructing contoured vector lines from topography rasters. These examples programs will serve as the building blocks for readers, giving them the tools to automate any GIS process using Python and GRASS GIS.

  13. Data Flow of a Multiple Instrument On-Demand Processing Engine with Python and DPLKIT

    Directory of Open Access Journals (Sweden)

    Garcia Joseph P.

    2016-01-01

    Full Text Available The University of Wisconsin LIDAR Group’s High Spectral Resolution LIDAR on-demand data website and processing codebase uses Python to explore coding techniques which facilitate a flexible codebase that is reusable for various outputs, cooperative multi-instrument products, and retains stability and maintainability without hindering dynamic experimentation.

  14. Data Flow of a Multiple Instrument On-Demand Processing Engine with Python and DPLKIT

    Science.gov (United States)

    Garcia, Joseph P.; Eloranta, Edwin; Garcia, Raymond K.

    2016-06-01

    The University of Wisconsin LIDAR Group's High Spectral Resolution LIDAR on-demand data website and processing codebase uses Python to explore coding techniques which facilitate a flexible codebase that is reusable for various outputs, cooperative multi-instrument products, and retains stability and maintainability without hindering dynamic experimentation.

  15. A Low-Effort Analytics Platform for Visualizing Evolving Flask-Based Python Web Services

    NARCIS (Netherlands)

    Vogel, Patrick; Klooster, Thijs; Andrikopoulos, Vasilios OR Vasileios; Lungu, Micea-Filip

    2017-01-01

    Tens of thousands of web applications are written in Flask, a Python-based web framework. Despite a rich ecosystem of extensions, there is none that supports the developer in gaining insight into the evolving performance of their service. In this paper, we introduce Flask Dashboard, a library that

  16. Implementing a Multi-Agent System in Python with an Auction-Based Agreement Approach

    DEFF Research Database (Denmark)

    Ettienne, Mikko Berggren; Vester, Steen; Villadsen, Jørgen

    2012-01-01

    We describe the solution used by the Python-DTU team in the Multi-Agent Programming Contest 2011, where the scenario was called Agents on Mars. We present our auction-based agreement algorithm and discuss our chosen strategy and our choice of technology used for implementing the system. Finally, we...

  17. The JBEI quantitative metabolic modeling library (jQMM): a python library for modeling microbial metabolism

    DEFF Research Database (Denmark)

    Birkel, Garrett W.; Ghosh, Amit; Kumar, Vinay S.

    2017-01-01

    analysis, new methods for the effective use of the ever more readily available and abundant -omics data (i.e. transcriptomics, proteomics and metabolomics) are urgently needed.Results: The jQMM library presented here provides an open-source, Python-based framework for modeling internal metabolic fluxes...

  18. Integrating three lake models into a Phytoplankton Prediction System for Lake Taihu (Taihu PPS) with Python

    NARCIS (Netherlands)

    Huang, J.; Gao, J.; Hörmann, G.; Mooij, W.M.

    2012-01-01

    In the past decade, much work has been done on integrating different lake models using general frameworks to overcome model incompatibilities. However, a framework may not be flexible enough to support applications in different fields. To overcome this problem, we used Python to integrate three lake

  19. SWMM5 Application Programming Interface and PySWMM: A Python Interfacing Wrapper

    Science.gov (United States)

    In support of the OpenWaterAnalytics open source initiative, the PySWMM project encompasses the development of a Python interfacing wrapper to SWMM5 with parallel ongoing development of the USEPA Stormwater Management Model (SWMM5) application programming interface (API). ...

  20. Magni: A Python Package for Compressive Sampling and Reconstruction of Atomic Force Microscopy Images

    DEFF Research Database (Denmark)

    Oxvig, Christian Schou; Pedersen, Patrick Steffen; Arildsen, Thomas

    2014-01-01

    Magni is an open source Python package that embraces compressed sensing and Atomic Force Microscopy (AFM) imaging techniques. It provides AFM-specific functionality for undersampling and reconstructing images from AFM equipment and thereby accelerating the acquisition of AFM images. Magni also...

  1. ‘ShruthLaikh’: Employing Python to Develop Vocabulary Enhancing Application

    Directory of Open Access Journals (Sweden)

    2010-09-01

    Full Text Available This paper presents how the power of Python, its various modules and Artificial Intelligence techniques can be integrated into a very useful and effective English spelling-correcting and vocabulary-enhancing application. The objective is to use the Python interface for various functionalities like text to speech, graphical user interface and sqlite3 database to integrate them into a single useful tool. The application is named as “ShruthLaikh”, which is a Hindi word for dictations. It has been demonstrated how this simple yet intelligent tool can help users to absorb word spellings in a very effective manner at the same time enhancing their retaining power. It also proves how Python as a programming language can be utilized effectively for the creation of powerful and user-friendly applications that can assist in more ways than one in revolutionizing the educational scene in nations across the world and the role that Python can play in imparting education in an innovative way.

  2. PCSIM: A Parallel Simulation Environment for Neural Circuits Fully Integrated with Python

    Science.gov (United States)

    Pecevski, Dejan; Natschläger, Thomas; Schuch, Klaus

    2008-01-01

    The Parallel Circuit SIMulator (PCSIM) is a software package for simulation of neural circuits. It is primarily designed for distributed simulation of large scale networks of spiking point neurons. Although its computational core is written in C++, PCSIM's primary interface is implemented in the Python programming language, which is a powerful programming environment and allows the user to easily integrate the neural circuit simulator with data analysis and visualization tools to manage the full neural modeling life cycle. The main focus of this paper is to describe PCSIM's full integration into Python and the benefits thereof. In particular we will investigate how the automatically generated bidirectional interface and PCSIM's object-oriented modular framework enable the user to adopt a hybrid modeling approach: using and extending PCSIM's functionality either employing pure Python or C++ and thus combining the advantages of both worlds. Furthermore, we describe several supplementary PCSIM packages written in pure Python and tailored towards setting up and analyzing neural simulations. PMID:19543450

  3. CLIMLAB: a Python-based software toolkit for interactive, process-oriented climate modeling

    Science.gov (United States)

    Rose, B. E. J.

    2015-12-01

    Global climate is a complex emergent property of the rich interactions between simpler components of the climate system. We build scientific understanding of this system by breaking it down into component process models (e.g. radiation, large-scale dynamics, boundary layer turbulence), understanding each components, and putting them back together. Hands-on experience and freedom to tinker with climate models (whether simple or complex) is invaluable for building physical understanding. CLIMLAB is an open-ended software engine for interactive, process-oriented climate modeling. With CLIMLAB you can interactively mix and match model components, or combine simpler process models together into a more comprehensive model. It was created primarily to support classroom activities, using hands-on modeling to teach fundamentals of climate science at both undergraduate and graduate levels. CLIMLAB is written in Python and ties in with the rich ecosystem of open-source scientific Python tools for numerics and graphics. The IPython notebook format provides an elegant medium for distributing interactive example code. I will give an overview of the current capabilities of CLIMLAB, the curriculum we have developed thus far, and plans for the future. Using CLIMLAB requires some basic Python coding skills. We consider this an educational asset, as we are targeting upper-level undergraduates and Python is an increasingly important language in STEM fields. However CLIMLAB is well suited to be deployed as a computational back-end for a graphical gaming environment based on earth-system modeling.

  4. Tomopy: A Python toolbox to perform X-Ray data proessing and image reconstruction.

    Energy Technology Data Exchange (ETDEWEB)

    2014-01-30

    Tomopy is a Python toolbox to perform x-ray data processing, image reconstruction and data exchange tasks at synchrotron facilities. The dependencies of the software are currently as follows: -Python related python standard library (http://docs.python.org/2/library/) numpy (http://www.numpy.org/) scipy (http://scipy.org/) matplotlib (http://matplotlip.org/) sphinx (http://sphinx-doc.org) pil (http://www.pythonware.com/products/pil/) pyhdf (http://pysclint.sourceforge.net/pyhdf/) h5py (http://www.h5py.org) pywt (http://www.pybytes.com/pywavelets/) file.py (https://pyspec.svn.sourceforge.net/svnroot/pyspec/trunk/pyspec/ccd/files.py) -C/C++ related: gridec (anonymous?? C-code written back in 1997 that uses standard C library) fftw (http://www.fftw.org/) tomoRecon (multi-threaded C++ verion of gridrec. Author: Mark Rivers from APS. http://cars9.uchicago.edu/software/epics/tomoRecon.html) epics (http://www.aps.anl.gov/epics/)

  5. PyPDB: a Python API for the Protein Data Bank.

    Science.gov (United States)

    Gilpin, William

    2016-01-01

    We have created a Python programming interface for the RCSB Protein Data Bank (PDB) that allows search and data retrieval for a wide range of result types, including BLAST and sequence motif queries. The API relies on the existing XML-based API and operates by creating custom XML requests from native Python types, allowing extensibility and straightforward modification. The package has the ability to perform many types of advanced search of the PDB that are otherwise only available through the PDB website. PyPDB is implemented exclusively in Python 3 using standard libraries for maximal compatibility. The most up-to-date version, including iPython notebooks containing usage tutorials, is available free-of-charge under an open-source MIT license via GitHub at https://github.com/williamgilpin/pypdb, and the full API reference is at http://williamgilpin.github.io/pypdb_docs/html/. The latest stable release is also available on PyPI. wgilpin@stanford.edu. © The Author 2015. Published by Oxford University Press. All rights reserved. For Permissions, please e-mail: journals.permissions@oup.com.

  6. A high level interface to SCOP and ASTRAL implemented in Python

    Directory of Open Access Journals (Sweden)

    Saqi Mansoor AS

    2006-01-01

    Full Text Available Abstract Background Benchmarking algorithms in structural bioinformatics often involves the construction of datasets of proteins with given sequence and structural properties. The SCOP database is a manually curated structural classification which groups together proteins on the basis of structural similarity. The ASTRAL compendium provides non redundant subsets of SCOP domains on the basis of sequence similarity such that no two domains in a given subset share more than a defined degree of sequence similarity. Taken together these two resources provide a 'ground truth' for assessing structural bioinformatics algorithms. We present a small and easy to use API written in python to enable construction of datasets from these resources. Results We have designed a set of python modules to provide an abstraction of the SCOP and ASTRAL databases. The modules are designed to work as part of the Biopython distribution. Python users can now manipulate and use the SCOP hierarchy from within python programs, and use ASTRAL to return sequences of domains in SCOP, as well as clustered representations of SCOP from ASTRAL. Conclusion The modules make the analysis and generation of datasets for use in structural genomics easier and more principled.

  7. Python and Roles of Variables in Introductory Programming: Experiences from Three Educational Institutions

    Science.gov (United States)

    Nikula, Uolevi; Sajaniemi, Jorma; Tedre, Matti; Wray, Stuart

    2007-01-01

    Students often find that learning to program is hard. Introductory programming courses have high drop-out rates and students do not learn to program well. This paper presents experiences from three educational institutions where introductory programming courses were improved by adopting Python as the first programming language and roles of…

  8. Simulation with Python on transverse modes of the symmetric confocal resonator

    Science.gov (United States)

    Wang, Qing Hua; Qi, Jing; Ji, Yun Jing; Song, Yang; Li, Zhenhua

    2017-08-01

    Python is a popular open-source programming language that can be used to simulate various optical phenomena. We have developed a suite of programs to help teach the course of laser principle. The complicated transverse modes of the symmetric confocal resonator can be visualized in personal computers, which is significant to help the students understand the pattern distribution of laser resonator.

  9. 77 FR 3329 - Injurious Wildlife Species; Listing Three Python Species and One Anaconda Species as Injurious...

    Science.gov (United States)

    2012-01-23

    ... hybrid of these four constrictor snakes is prohibited, except by permit for zoological, education... purposeful or accidental introduction and subsequent establishment of these large nonnative constrictor snake... constrictor snakes in the Python, Boa, and Eunectes genera as injurious under the Act. As a result, most...

  10. Java vs. Python Coverage of Introductory Programming Concepts: A Textbook Analysis

    Science.gov (United States)

    McMaster, Kirby; Sambasivam, Samuel; Rague, Brian; Wolthuis, Stuart

    2017-01-01

    In this research, we compare two languages, Java and Python, by performing a content analysis of words in textbooks that describe important programming concepts. Our goal is to determine which language has better textbook support for teaching introductory programming courses. We used the TextSTAT program to count how often our list of concept…

  11. Old pythons stay fit; effects of haematozoan infections on life history traits of a large tropical predator.

    Science.gov (United States)

    Madsen, Thomas; Ujvari, Beata; Olsson, Mats

    2005-01-01

    We document the impact of blood parasite infections caused by Hepatozoon sp. on water python (Liasis fuscus) life history traits such as growth rates, condition, reproductive output and survival. Individual snakes maintained similar among-year parasite loads. Hepatozoon infections affected python growth rate, i.e. snakes suffering from high infection levels exhibited significantly slower growth compared to individuals with low parasite loads. Our results suggest that the parasites also affected the pythons' nutritional status (condition), as snakes with low condition scores suffered from higher parasite infection levels than snakes with high scores. Furthermore, our data suggest that parasitaemia may affect female reproductive output, as reproductive female pythons harboured lower parasite loads compared to non-reproductive adult females. High levels of parasite infections also affected juvenile python survival, as recaptured snakes harboured significantly lower parasite loads compared to non-recaptured yearling pythons. In our study area, water python have very few natural predators and, hence, experience low mortality rates and commonly reach an age of >15 years. In contrast to results obtained in other studies, parasite loads in larger/older pythons were lower compared to younger snakes, suggesting that only snakes harbouring lower levels of parasitaemia were able to survive to old age. We suggest that a possible cause for the opposing results regarding parasite prevalence and host age may be due to different levels of extrinsic mortality rates and longevity. Long-lived organisms, such as water pythons, may invest relatively more into crucial self-maintenance functions such as parasite defence, compared to short-lived organisms.

  12. GMI-IPS: Python Processing Software for Aircraft Campaigns

    Science.gov (United States)

    Damon, M. R.; Strode, S. A.; Steenrod, S. D.; Prather, M. J.

    2018-01-01

    NASA's Atmospheric Tomography Mission (ATom) seeks to understand the impact of anthropogenic air pollution on gases in the Earth's atmosphere. Four flight campaigns are being deployed on a seasonal basis to establish a continuous global-scale data set intended to improve the representation of chemically reactive gases in global atmospheric chemistry models. The Global Modeling Initiative (GMI), is creating chemical transport simulations on a global scale for each of the ATom flight campaigns. To meet the computational demands required to translate the GMI simulation data to grids associated with the flights from the ATom campaigns, the GMI ICARTT Processing Software (GMI-IPS) has been developed and is providing key functionality for data processing and analysis in this ongoing effort. The GMI-IPS is written in Python and provides computational kernels for data interpolation and visualization tasks on GMI simulation data. A key feature of the GMI-IPS, is its ability to read ICARTT files, a text-based file format for airborne instrument data, and extract the required flight information that defines regional and temporal grid parameters associated with an ATom flight. Perhaps most importantly, the GMI-IPS creates ICARTT files containing GMI simulated data, which are used in collaboration with ATom instrument teams and other modeling groups. The initial main task of the GMI-IPS is to interpolate GMI model data to the finer temporal resolution (1-10 seconds) of a given flight. The model data includes basic fields such as temperature and pressure, but the main focus of this effort is to provide species concentrations of chemical gases for ATom flights. The software, which uses parallel computation techniques for data intensive tasks, linearly interpolates each of the model fields to the time resolution of the flight. The temporally interpolated data is then saved to disk, and is used to create additional derived quantities. In order to translate the GMI model data to the

  13. Comparison of first-intention healing of carbon dioxide laser, 4.0-MHz radiosurgery, and scalpel incisions in ball pythons (Python regius).

    Science.gov (United States)

    Hodshon, Rebecca T; Sura, Patricia A; Schumacher, Juergen P; Odoi, Agricola; Steeil, James C; Newkirk, Kim M

    2013-03-01

    To evaluate first-intention healing of CO(2) laser, 4.0-MHz radiowave radiosurgery (RWRS), and scalpel incisions in ball pythons (Python regius). 6 healthy adult ball pythons. A skin biopsy sample was collected, and 2-cm skin incisions (4/modality) were made in each snake under anesthesia and closed with surgical staples on day 0. Incision sites were grossly evaluated and scored daily. One skin biopsy sample per incision type per snake was obtained on days 2, 7, 14, and 30. Necrotic and fibroplastic tissue was measured in histologic sections; samples were assessed and scored for total inflammation, histologic response (based on the measurement of necrotic and fibroplastic tissues and total inflammation score), and other variables. Frequency distributions of gross and histologic variables associated with wound healing were calculated. Gross wound scores were significantly greater (indicating greater separation of wound edges) for laser incisions than for RWRS and scalpel incisions at all evaluated time points. Necrosis was significantly greater in laser and RWRS incisions than in scalpel incision sites on days 2 and 14 and days 2 and 7, respectively; fibroplasia was significantly greater in laser than in scalpel incision sites on day 30. Histologic response scores were significantly lower for scalpel than for other incision modalities on days 2, 14, and 30. In snakes, skin incisions made with a scalpel generally had less necrotic tissue than did CO(2) laser and RWRS incisions. Comparison of the 3 modalities on the basis of histologic response scores indicated that use of a scalpel was preferable, followed by RWRS and then laser.

  14. Differential Disease Susceptibilities in Experimentally Reptarenavirus-Infected Boa Constrictors and Ball Pythons

    Science.gov (United States)

    Sanchez-Migallon Guzman, David; Garcia, Valentina E.; Layton, Marylee L.; Hoon-Hanks, Laura L.; Boback, Scott M.; Keel, M. Kevin; Drazenovich, Tracy

    2017-01-01

    ABSTRACT Inclusion body disease (IBD) is an infectious disease originally described in captive snakes. It has traditionally been diagnosed by the presence of large eosinophilic cytoplasmic inclusions and is associated with neurological, gastrointestinal, and lymphoproliferative disorders. Previously, we identified and established a culture system for a novel lineage of arenaviruses isolated from boa constrictors diagnosed with IBD. Although ample circumstantial evidence suggested that these viruses, now known as reptarenaviruses, cause IBD, there has been no formal demonstration of disease causality since their discovery. We therefore conducted a long-term challenge experiment to test the hypothesis that reptarenaviruses cause IBD. We infected boa constrictors and ball pythons by cardiac injection of purified virus. We monitored the progression of viral growth in tissues, blood, and environmental samples. Infection produced dramatically different disease outcomes in snakes of the two species. Ball pythons infected with Golden Gate virus (GoGV) and with another reptarenavirus displayed severe neurological signs within 2 months, and viral replication was detected only in central nervous system tissues. In contrast, GoGV-infected boa constrictors remained free of clinical signs for 2 years, despite high viral loads and the accumulation of large intracellular inclusions in multiple tissues, including the brain. Inflammation was associated with infection in ball pythons but not in boa constrictors. Thus, reptarenavirus infection produces inclusions and inclusion body disease, although inclusions per se are neither necessarily associated with nor required for disease. Although the natural distribution of reptarenaviruses has yet to be described, the different outcomes of infection may reflect differences in geographical origin. IMPORTANCE New DNA sequencing technologies have made it easier than ever to identify the sequences of microorganisms in diseased tissues, i

  15. GMES: A Python package for solving Maxwell’s equations using the FDTD method

    Science.gov (United States)

    Chun, Kyungwon; Kim, Huioon; Kim, Hyounggyu; Jung, Kil Su; Chung, Youngjoo

    2013-04-01

    This paper describes GMES, a free Python package for solving Maxwell’s equations using the finite-difference time-domain (FDTD) method. The design of GMES follows the object-oriented programming (OOP) approach and adopts a unique design strategy where the voxels in the computational domain are grouped and then updated according to its material type. This piecewise updating scheme ensures that GMES can adopt OOP without losing its simple structure and time-stepping speed. The users can easily add various material types, sources, and boundary conditions into their code using the Python programming language. The key design features, along with the supported material types, excitation sources, boundary conditions and parallel calculations employed in GMES are also described in detail. Catalog identifier: AEOK_v1_0 Program summary URL:http://cpc.cs.qub.ac.uk/summaries/AEOK_v1_0.html Program obtainable from: CPC Program Library, Queen’s University, Belfast, N. Ireland Licensing provisions: GNU General Public License v3.0 No. of lines in distributed program, including test data, etc.: 17700 No. of bytes in distributed program, including test data, etc.: 89878 Distribution format: tar.gz Programming language: C++, Python. Computer: Any computer with a Unix-like system with a C++ compiler, and a Python interpreter; developed on 2.53 GHz Intel CoreTM i3. Operating system: Any Unix-like system; developed under Ubuntu 12.04 LTS 64 bit. Has the code been vectorized or parallelized?: Yes. Parallelized with MPI directives (optional). RAM: Problem dependent (a simulation with real valued electromagnetic field uses roughly 0.18 KB per Yee cell.) Classification: 10. External routines: SWIG [1], Cython [2], NumPy [3], SciPy [4], matplotlib [5], MPI for Python [6] Nature of problem: Classical electrodynamics Solution method: Finite-difference time-domain (FDTD) method Additional comments: This article describes version 0.9.5. The most recent version can be downloaded at the GMES

  16. Differential Disease Susceptibilities in Experimentally Reptarenavirus-Infected Boa Constrictors and Ball Pythons.

    Science.gov (United States)

    Stenglein, Mark D; Sanchez-Migallon Guzman, David; Garcia, Valentina E; Layton, Marylee L; Hoon-Hanks, Laura L; Boback, Scott M; Keel, M Kevin; Drazenovich, Tracy; Hawkins, Michelle G; DeRisi, Joseph L

    2017-08-01

    Inclusion body disease (IBD) is an infectious disease originally described in captive snakes. It has traditionally been diagnosed by the presence of large eosinophilic cytoplasmic inclusions and is associated with neurological, gastrointestinal, and lymphoproliferative disorders. Previously, we identified and established a culture system for a novel lineage of arenaviruses isolated from boa constrictors diagnosed with IBD. Although ample circumstantial evidence suggested that these viruses, now known as reptarenaviruses, cause IBD, there has been no formal demonstration of disease causality since their discovery. We therefore conducted a long-term challenge experiment to test the hypothesis that reptarenaviruses cause IBD. We infected boa constrictors and ball pythons by cardiac injection of purified virus. We monitored the progression of viral growth in tissues, blood, and environmental samples. Infection produced dramatically different disease outcomes in snakes of the two species. Ball pythons infected with Golden Gate virus (GoGV) and with another reptarenavirus displayed severe neurological signs within 2 months, and viral replication was detected only in central nervous system tissues. In contrast, GoGV-infected boa constrictors remained free of clinical signs for 2 years, despite high viral loads and the accumulation of large intracellular inclusions in multiple tissues, including the brain. Inflammation was associated with infection in ball pythons but not in boa constrictors. Thus, reptarenavirus infection produces inclusions and inclusion body disease, although inclusions per se are neither necessarily associated with nor required for disease. Although the natural distribution of reptarenaviruses has yet to be described, the different outcomes of infection may reflect differences in geographical origin.IMPORTANCE New DNA sequencing technologies have made it easier than ever to identify the sequences of microorganisms in diseased tissues, i.e., to identify

  17. Automating tasks in protein structure determination with the clipper python module.

    Science.gov (United States)

    McNicholas, Stuart; Croll, Tristan; Burnley, Tom; Palmer, Colin M; Hoh, Soon Wen; Jenkins, Huw T; Dodson, Eleanor; Cowtan, Kevin; Agirre, Jon

    2017-09-13

    Scripting programming languages provide the fastest means of prototyping complex functionality. Those with a syntax and grammar resembling human language also greatly enhance the maintainability of the produced source code. Furthermore, the combination of a powerful, machine-independent scripting language with binary libraries tailored for each computer architecture allows programs to break free from the tight boundaries of efficiency traditionally associated with scripts. In the present work, we describe how an efficient C++ crystallographic library such as Clipper can be wrapped, adapted and generalized for use in both crystallographic and electron cryo-microscopy applications, scripted with the Python language. We shall also place an emphasis on best practices in automation, illustrating how this can be achieved with this new Python module. © 2017 The Authors Protein Science published by Wiley Periodicals, Inc. on behalf of The Protein Society.

  18. PyBoolNet: a python package for the generation, analysis and visualization of boolean networks.

    Science.gov (United States)

    Klarner, Hannes; Streck, Adam; Siebert, Heike

    2017-03-01

    The goal of this project is to provide a simple interface to working with Boolean networks. Emphasis is put on easy access to a large number of common tasks including the generation and manipulation of networks, attractor and basin computation, model checking and trap space computation, execution of established graph algorithms as well as graph drawing and layouts. P y B ool N et is a Python package for working with Boolean networks that supports simple access to model checking via N u SMV, standard graph algorithms via N etwork X and visualization via dot . In addition, state of the art attractor computation exploiting P otassco ASP is implemented. The package is function-based and uses only native Python and N etwork X data types. https://github.com/hklarner/PyBoolNet. hannes.klarner@fu-berlin.de.

  19. PetClaw: A scalable parallel nonlinear wave propagation solver for Python

    KAUST Repository

    Alghamdi, Amal

    2011-01-01

    We present PetClaw, a scalable distributed-memory solver for time-dependent nonlinear wave propagation. PetClaw unifies two well-known scientific computing packages, Clawpack and PETSc, using Python interfaces into both. We rely on Clawpack to provide the infrastructure and kernels for time-dependent nonlinear wave propagation. Similarly, we rely on PETSc to manage distributed data arrays and the communication between them.We describe both the implementation and performance of PetClaw as well as our challenges and accomplishments in scaling a Python-based code to tens of thousands of cores on the BlueGene/P architecture. The capabilities of PetClaw are demonstrated through application to a novel problem involving elastic waves in a heterogeneous medium. Very finely resolved simulations are used to demonstrate the suppression of shock formation in this system.

  20. Experiences in Building Python Automation Framework for Verification and Data Collections

    Directory of Open Access Journals (Sweden)

    2010-09-01

    Full Text Available

    This paper describes our experiences in building a Python automation framework. Specifically, the automation framework is used to support verification and data collection scripts. The scripts control various test equipments in addition to the device under test (DUT to characterize a specific performance with a specific configuration or to evaluate the correctness of the behaviour of the DUT. The specific focus on this paper is on documenting our experiences in building an automation framework using Python: on the purposes, goals and the benefits, rather than on a tutorial of how to build such a framework.

  1. Qualitative: Python Tool for MT Quality Estimation Supporting Server Mode and Hybrid MT

    Directory of Open Access Journals (Sweden)

    Avramidis Eleftherios

    2016-10-01

    Full Text Available We are presenting the development contributions of the last two years to our Python opensource Quality Estimation tool, a tool that can function in both experiment-mode and online web-service mode. The latest version provides a new MT interface, which communicates with SMT and rule-based translation engines and supports on-the-fly sentence selection. Additionally, we present an improved Machine Learning interface allowing more efficient communication with several state-of-the-art toolkits. Additions also include a more informative training process, a Python re-implementation of QuEst baseline features, a new LM toolkit integration, an additional PCFG parser and alignments of syntactic nodes.

  2. Creating CAD designs and performing their subsequent analysis using opensource solutions in Python

    Science.gov (United States)

    Iakushkin, Oleg O.; Sedova, Olga S.

    2018-01-01

    The paper discusses the concept of a system that encapsulates the transition from geometry building to strength tests. The solution we propose views the engineer as a programmer who is capable of coding the procedure for working with the modeli.e., to outline the necessary transformations and create cases for boundary conditions. We propose a prototype of such system. In our work, we used: Python programming language to create the program; Jupyter framework to create a single workspace visualization; pythonOCC library to implement CAD; FeniCS library to implement FEM; GMSH and VTK utilities. The prototype is launched on a platform which is a dynamically expandable multi-tenant cloud service providing users with all computing resources on demand. However, the system may be deployed locally for prototyping or work that does not involve resource-intensive computing. To make it possible, we used containerization, isolating the system in a Docker container.

  3. InfraPy: Python-Based Signal Analysis Tools for Infrasound

    Energy Technology Data Exchange (ETDEWEB)

    Blom, Philip Stephen [Los Alamos National Lab. (LANL), Los Alamos, NM (United States); Marcillo, Omar Eduardo [Los Alamos National Lab. (LANL), Los Alamos, NM (United States); Euler, Garrett Gene [Los Alamos National Lab. (LANL), Los Alamos, NM (United States)

    2016-05-31

    InfraPy is a Python-based analysis toolkit being development at LANL. The algorithms are intended for ground-based nuclear detonation detection applications to detect, locate, and characterize explosive sources using infrasonic observations. The implementation is usable as a stand-alone Python library or as a command line driven tool operating directly on a database. With multiple scientists working on the project, we've begun using a LANL git repository for collaborative development and version control. Current and planned work on InfraPy focuses on the development of new algorithms and propagation models. Collaboration with Southern Methodist University (SMU) has helped identify bugs and limitations of the algorithms. The current focus of usage development is focused on library imports and CLI.

  4. BioServices: a common Python package to access biological Web Services programmatically.

    Science.gov (United States)

    Cokelaer, Thomas; Pultz, Dennis; Harder, Lea M; Serra-Musach, Jordi; Saez-Rodriguez, Julio

    2013-12-15

    Web interfaces provide access to numerous biological databases. Many can be accessed to in a programmatic way thanks to Web Services. Building applications that combine several of them would benefit from a single framework. BioServices is a comprehensive Python framework that provides programmatic access to major bioinformatics Web Services (e.g. KEGG, UniProt, BioModels, ChEMBLdb). Wrapping additional Web Services based either on Representational State Transfer or Simple Object Access Protocol/Web Services Description Language technologies is eased by the usage of object-oriented programming. BioServices releases and documentation are available at http://pypi.python.org/pypi/bioservices under a GPL-v3 license.

  5. Python-Based Scientific Analysis and Visualization of Precipitation Systems at NASA Marshall Space Flight Center

    Science.gov (United States)

    Lang, Timothy J.

    2015-01-01

    At NASA Marshall Space Flight Center (MSFC), Python is used several different ways to analyze and visualize precipitating weather systems. A number of different Python-based software packages have been developed, which are available to the larger scientific community. The approach in all these packages is to utilize pre-existing Python modules as well as to be object-oriented and scalable. The first package that will be described and demonstrated is the Python Advanced Microwave Precipitation Radiometer (AMPR) Data Toolkit, or PyAMPR for short. PyAMPR reads geolocated brightness temperature data from any flight of the AMPR airborne instrument over its 25-year history into a common data structure suitable for user-defined analyses. It features rapid, simplified (i.e., one line of code) production of quick-look imagery, including Google Earth overlays, swath plots of individual channels, and strip charts showing multiple channels at once. These plotting routines are also capable of significant customization for detailed, publication-ready figures. Deconvolution of the polarization-varying channels to static horizontally and vertically polarized scenes is also available. Examples will be given of PyAMPR's contribution toward real-time AMPR data display during the Integrated Precipitation and Hydrology Experiment (IPHEx), which took place in the Carolinas during May-June 2014. The second software package is the Marshall Multi-Radar/Multi-Sensor (MRMS) Mosaic Python Toolkit, or MMM-Py for short. MMM-Py was designed to read, analyze, and display three-dimensional national mosaicked reflectivity data produced by the NOAA National Severe Storms Laboratory (NSSL). MMM-Py can read MRMS mosaics from either their unique binary format or their converted NetCDF format. It can also read and properly interpret the current mosaic design (4 regional tiles) as well as mosaics produced prior to late July 2013 (8 tiles). MMM-Py can easily stitch multiple tiles together to provide a

  6. STEPS: modeling and simulating complex reaction-diffusion systems with Python

    Directory of Open Access Journals (Sweden)

    Stefan Wils

    2009-06-01

    Full Text Available We describe how the use of the Python language improved the user interface of the program STEPS. STEPS is a simulation platform for modeling and stochastic simulation of coupled reaction-diffusion systems with complex 3-dimensional boundary conditions. Setting up such models is a complicated process that consists of many phases. Initial versions of STEPS relied on a static input format that did not cleanly separate these phases, limiting modelers in how they could control the simulation and becoming increasingly complex as new features and new simulation algorithms were added. We solved all of these problems by tightly integrating STEPS with Python, using SWIG to expose our existing simulation code.

  7. Ibmdbpy-spatial : An Open-source implementation of in-database geospatial analytics in Python

    Science.gov (United States)

    Roy, Avipsa; Fouché, Edouard; Rodriguez Morales, Rafael; Moehler, Gregor

    2017-04-01

    As the amount of spatial data acquired from several geodetic sources has grown over the years and as data infrastructure has become more powerful, the need for adoption of in-database analytic technology within geosciences has grown rapidly. In-database analytics on spatial data stored in a traditional enterprise data warehouse enables much faster retrieval and analysis for making better predictions about risks and opportunities, identifying trends and spot anomalies. Although there are a number of open-source spatial analysis libraries like geopandas and shapely available today, most of them have been restricted to manipulation and analysis of geometric objects with a dependency on GEOS and similar libraries. We present an open-source software package, written in Python, to fill the gap between spatial analysis and in-database analytics. Ibmdbpy-spatial provides a geospatial extension to the ibmdbpy package, implemented in 2015. It provides an interface for spatial data manipulation and access to in-database algorithms in IBM dashDB, a data warehouse platform with a spatial extender that runs as a service on IBM's cloud platform called Bluemix. Working in-database reduces the network overload, as the complete data need not be replicated into the user's local system altogether and only a subset of the entire dataset can be fetched into memory in a single instance. Ibmdbpy-spatial accelerates Python analytics by seamlessly pushing operations written in Python into the underlying database for execution using the dashDB spatial extender, thereby benefiting from in-database performance-enhancing features, such as columnar storage and parallel processing. The package is currently supported on Python versions from 2.7 up to 3.4. The basic architecture of the package consists of three main components - 1) a connection to the dashDB represented by the instance IdaDataBase, which uses a middleware API namely - pypyodbc or jaydebeapi to establish the database connection via

  8. Optimizing Python-based ROOT I/O with PyPy's Tracing JIT

    CERN Multimedia

    CERN. Geneva

    2012-01-01

    The Python programming language allows objects and classes to respond dynamically to the execution environment. Most of this, however, is made possible through language hooks which by definition can not be optimized and thus tend to be slow. The PyPy implementation of Python includes a tracing just in time compiler (JIT), which allows similar dynamic responses but at the interpreter-, rather than the application-level. Therefore, it is possible to fully remove the hooks, leaving only the dynamic response, in the optimization stage for hot loops, if the types of interest are opened up to the JIT. A general opening up of types to the JIT, based on reflection information, has already been developed (cppyy). The work described in this paper takes it one step further by customizing access to ROOT I/O to the JIT, allowing for automatic selective reading, judicious caching, and buffer tuning.

  9. Computed tomography of the lung of healthy snakes of the species Python regius, Boa constrictor, Python reticulatus, Morelia viridis, Epicrates cenchria, and Morelia spilota.

    Science.gov (United States)

    Pees, Michael; Kiefer, Ingmar; Thielebein, Jens; Oechtering, Gerhard; Krautwald-Junghanns, Maria-Elisabeth

    2009-01-01

    Thirty-nine healthy boid snakes representing six different species (Python regius, Boa constrictor, Python reticulatus, Morelia viridis, Epicrates cenchria, and Morelia spilota) were examined using computed tomography (CT) to characterize the normal appearance of the respiratory tissue. Assessment was done subjectively and densitometry was performed using a defined protocol. The length of the right lung was calculated to be 11.1% of the body length, without a significant difference between species. The length of the left lung in proportion to the right was dependent on the species examined. The most developed left lung was in P. regius (81.2%), whereas in B. constrictor, the left lung was vestigial or absent (24.7%). A median attenuation of -814.6 HU and a variability of 45.9 HU were calculated for all species with no significant difference between species. Within the species, a significantly higher attenuation was found for P. regius in the dorsal and cranial aspect of the lung compared with the ventral and caudal part. In B. constrictor, the reduced left lung was significantly hyperattenuating compared with the right lung. Results of this study emphasize the value of CT and provide basic reference data for assessment of the snake lung in these species. Veterinary Radiology &

  10. Approaching the largest ‘API’: extracting information from the Internet with Python

    OpenAIRE

    Jonathan E. Germann

    2018-01-01

    This article explores the need for libraries to algorithmically access and manipulate the world’s largest API: the Internet. The billions of pages on the ‘Internet API’ (HTTP, HTML, CSS, XPath, DOM, etc.) are easily accessible and manipulable. Libraries can assist in creating meaning through the datafication of information on the world wide web. Because most information is created for human consumption, some programming is required for automated extraction. Python is an easy-to-learn progra...

  11. Processing: A Python Framework for the Seamless Integration of Geoprocessing Tools in QGIS

    OpenAIRE

    Anita Graser; Victor Olaya

    2015-01-01

    Processing is an object-oriented Python framework for the popular open source Geographic Information System QGIS, which provides a seamless integration of geoprocessing tools from a variety of different software libraries. In this paper, we present the development history, software architecture and features of the Processing framework, which make it a versatile tool for the development of geoprocessing algorithms and workflows, as well as an efficient integration platform for algorithms from ...

  12. Hotspot analysis: a first prototype Python plugin enabling exploratory spatial data analysis into QGIS

    OpenAIRE

    Oxoli, Daniele; Zurbarán, Mayra A.; Shaji, Stanly; Muthusamy, Arun K.

    2016-01-01

    The growing popularity of Free and Open Source (FOSS) GIS software is without doubts due to the possibility to build and customize geospatial applications to meet specific requirements for any users. From this point of view, QGIS is one of the most flexible as well as fashionable GIS software environment which enables users to develop powerful geospatial applications using Python. Exploiting this feature, we present here a first prototype plugin for QGIS dedicated to Hotspot analysis, one of ...

  13. WekaPyScript: Classification, Regression, and Filter Schemes for WEKA Implemented in Python

    OpenAIRE

    Christopher Beckham; Mark Hall; Eibe Frank

    2016-01-01

    WekaPyScript is a package for the machine learning software WEKA that allows learning algorithms and preprocessing methods for classification and regression to be written in Python, as opposed to WEKA’s implementation language, Java. This opens up WEKA to its machine learning and scientific computing ecosystem. Furthermore, due to Python’s minimalist syntax, learning algorithms and preprocessing methods can be prototyped easily and utilised from within WEKA. WekaPyScript works by running a lo...

  14. Nansat: a Scientist-Orientated Python Package for Geospatial Data Processing

    OpenAIRE

    Korosov, Anton A.; Hansen, Morten W.; Knut-Frode Dagestad; Asuka Yamakawa; Aleksander Vines; Maik Riechert

    2016-01-01

    Nansat is a Python toolbox for analysing and processing 2-dimensional geospatial data, such as satellite imagery, output from numerical models, and gridded in-situ data. It is created with strong focus on facilitating research, and development of algorithms and autonomous processing systems. Nansat extends the widely used Geospatial Abstraction Data Library (GDAL) by adding scientific meaning to the datasets through metadata, and by adding common functionality for data analysis and handling (...

  15. Solcore: A multi-scale, python-based library for modelling solar cells and semiconductor materials

    OpenAIRE

    D. Alonso-Álvarez; Wilson, T.; Pearce, P; Führer, M.; Farrell, D; Ekins-Daukes, N.

    2017-01-01

    Computational models can provide significant insight into the operation mechanisms and deficiencies of photovoltaic solar cells. Solcore is a modular set of computational tools, written in Python 3, for the design and simulation of photovoltaic solar cells. Calculations can be performed on ideal, thermodynamic limiting behaviour, through to fitting experimentally accessible parameters such as dark and light IV curves and luminescence. Uniquely, it combines a complete semiconductor solver capa...

  16. Factors affecting hematology and plasma biochemistry in the southwest carpet python (Morelia spilota imbricata).

    Science.gov (United States)

    Bryant, Gillian L; Fleming, Patricia A; Twomey, Leanne; Warren, Kristin A

    2012-04-01

    Despite increased worldwide popularity of keeping reptiles as pets, we know little about hematologic and biochemical parameters of most reptile species, or how these measures may be influenced by intrinsic and extrinsic factors. Blood samples from 43 wild-caught pythons (Morelia spilota imbricata) were collected at various stages of a 3-yr ecological study in Western Australia. Reference intervals are reported for 35 individuals sampled at the commencement of the study. As pythons were radiotracked for varying lengths of time (radiotransmitters were surgically implanted), repeated sampling was undertaken from some individuals. However, because of our ad hoc sampling design we cannot be definitive about temporal factors that were most important or that exclusively influenced blood parameters. There was no significant effect of sex or the presence of a hemogregarine parasite on blood parameters. Erythrocyte measures were highest for pythons captured in the jarrah forest and at the stage of radiotransmitter implantation, which was also linked with shorter time in captivity. Basophil count, the only leukocyte influenced by the factors tested, was highest when the python was anesthetized, as was globulin concentration. Albumin and the albumin:globulin ratio were more concentrated in summer (as was phosphorous) and at the initial stage of radiotransmitter placement (as was calcium). No intrinsic or extrinsic factors influenced creatinine kinase, aspartate aminotransferase, uric acid, or total protein. This study demonstrates that factors including season, location, surgical radiotransmitter placement, and anesthetic state can influence blood parameters of M. s. imbricata. For accurate diagnosis, veterinarians should be aware that the current reference intervals used to identify the health status of individuals for this species are outdated and the interpretation and an understanding of the influence of intrinsic and extrinsic factors are limited.

  17. celerite: Scalable 1D Gaussian Processes in C++, Python, and Julia

    Science.gov (United States)

    Foreman-Mackey, Daniel; Agol, Eric; Ambikasaran, Sivaram; Angus, Ruth

    2017-09-01

    celerite provides fast and scalable Gaussian Process (GP) Regression in one dimension and is implemented in C++, Python, and Julia. The celerite API is designed to be familiar to users of george and, like george, celerite is designed to efficiently evaluate the marginalized likelihood of a dataset under a GP model. This is then be used alongside a non-linear optimization or posterior inference library for the best results.

  18. Sleep: An Open-Source Python Software for Visualization, Analysis, and Staging of Sleep Data

    OpenAIRE

    Etienne Combrisson; Etienne Combrisson; Raphael Vallat; Jean-Baptiste Eichenlaub; Christian O'Reilly; Tarek Lajnef; Tarek Lajnef; Aymeric Guillot; Perrine M. Ruby; Karim Jerbi

    2017-01-01

    We introduce Sleep, a new Python open-source graphical user interface (GUI) dedicated to visualization, scoring and analyses of sleep data. Among its most prominent features are: (1) Dynamic display of polysomnographic data, spectrogram, hypnogram and topographic maps with several customizable parameters, (2) Implementation of several automatic detection of sleep features such as spindles, K-complexes, slow waves, and rapid eye movements (REM), (3) Implementation of practical signal processin...

  19. Modeling Quantum Teleportation with Quantum Tools in Python (QuTiP)

    Science.gov (United States)

    2017-12-01

    quantum teleportation, quantum information, quantum networking, quantum physics, quantum communication , Bell inequality, Bell nonlocality, computational...Python (QuTiP) (Nation and Johansson 2017), Quantum Entanglement Theory Laboratory (QETLAB) (Johnston 2016), and Forest (Dekant 2017). In this...and Bob cannot communicate at all, the best Bob can do is guess, which will result in an average fidelity between Alice’s and Bob’s states of 1/2

  20. A Pythonic Approach for Computational Geosciences and Geo-Data Processing

    Science.gov (United States)

    Morra, G.; Yuen, D. A.; Lee, S. M.

    2016-12-01

    Computational methods and data analysis play a constantly increasing role in Earth Sciences however students and professionals need to climb a steep learning curve before reaching a sufficient level that allows them to run effective models. Furthermore the recent arrival and new powerful machine learning tools such as Torch and Tensor Flow has opened new possibilities but also created a new realm of complications related to the completely different technology employed. We present here a series of examples entirely written in Python, a language that combines the simplicity of Matlab with the power and speed of compiled languages such as C, and apply them to a wide range of geological processes such as porous media flow, multiphase fluid-dynamics, creeping flow and many-faults interaction. We also explore ways in which machine learning can be employed in combination with numerical modelling. From immediately interpreting a large number of modeling results to optimizing a set of modeling parameters to obtain a desired optimal simulation. We show that by using Python undergraduate and graduate can learn advanced numerical technologies with a minimum dedicated effort, which in turn encourages them to develop more numerical tools and quickly progress in their computational abilities. We also show how Python allows combining modeling with machine learning as pieces of LEGO, therefore simplifying the transition towards a new kind of scientific geo-modelling. The conclusion is that Python is an ideal tool to create an infrastructure for geosciences that allows users to quickly develop tools, reuse techniques and encourage collaborative efforts to interpret and integrate geo-data in profound new ways.