Code Monkey home page Code Monkey logo

pyneatm's Introduction

pyneatm

Python module to calculate Near-Earth Asteroids' Thermal properties. How to use: the code needs several import files to work properly:

  • The "pyneatm.py" file is the module itself, which can be imported in python files.
  • The "parameters.dat" is just a text file, with certain formatting. This contains all the needed parameters in the order of usage. One can write their own parameter file, but should be careful not to change the formatting.
  • The "fits" and "obj" files contain surface grid information. These are of standard format, so one can use any wavefront files. The "fits" files are only for HealPix grids, so it is not recommended to try creating new ones.
  • "example.py" shows a script which uses the module. Since the order of steps are important during the calculation, it is also recommended to follow the steps given in the example file.
  • The module prints a brief log after each step in the calculation. It warnes the user if they skip a step in calculation, and the "<object_name>.help()" command lists all the commands in the prompt and a short summary of their usage.
  • I also added a small script ("txtTOobj.py") with the help of which, one can convert a .txt file downloaded from the DAMIT database to an obj file which can be passed to the pyneatm module.
  • In addition, You should have the astropy module installed.

pyneatm's People

Contributors

kinyeaux avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.