dzesmin / input-converter Goto Github PK
View Code? Open in Web Editor NEWInput Converter
Input Converter
This directory contains Input Converter source files for the BART project. It consists three modules: InputConverter.py PT.py InitialPT.py InputConverter.py ============================================================================= This module currently contains one function readatm() that reads a TEA final atmospheric file and returns a list containing number of layers in the atmosphere, species names, radii, temperature, pressure, and each species abundances separately. It opens an atm file to find markers for species and the TEA data, retrieves the species list, reads data below the markers, and fills out data into corresponding arrays. The final atmospheric file is produces based on the initial PT profile, thus containing just initial PT values. ============================================================================ initialPT.py ============================================================================ Module that has two functions to produce an initial PT profile and plots it. This module with the PT.py module is used in the BART initialization procedure. It produces and plots the non-inverted PT profile based on the Equation 2 in Madhusudhan and Seager 2009. The profile is then smoothed using 1D Gaussian filter. The pressure array needs to be equally spaced in log space. ============================================================================ PT.py ============================================================================ This module generates PT profiles for BART. The profiles are parametrized, done in a similar fashion as in Madhusudhan and Seager 2009. The module contains the following functions: read_press_file() - reads a pressure file and extracts a list of pressures planet_Teff() - calculates planet effective temperate to constrain T3 parameter PT_Inversion() - generates inverted PT profile PT_NoInversion() - generates non-inverted PT profile PT_generator() - wrapper that calls either inverted or non-inverted generator plot_PT() - plots PT profile ===============================================================
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.