meteorite-mineral-mapping | See slides for Demo Day

 by   HackTheSolarSystem Python Version: Current License: MIT

kandi X-RAY | meteorite-mineral-mapping Summary

kandi X-RAY | meteorite-mineral-mapping Summary

meteorite-mineral-mapping is a Python library. meteorite-mineral-mapping has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However meteorite-mineral-mapping build file is not available. You can download it from GitHub.

See slides for Demo Day. There are two phases to the solution. Phase 1 is to create conversion factors which correlate intensity values and weight% for every element. Phase 2 is to use the conversion factors to identify minerals in a sample. For Phase 1, we created a program called Calibrator which uses (1) standards.json and (2) data files in the standard directory to calculate weight%-to-intensity conversion factor for each element. Standards are minerals with known exact compositions. For each standard, we applied mask for the standard onto the elements which are in the standard's chemical composition to get the number representing the element's intensity value. For each element of each standard the conversion factor is calculated from dividing the intensity value by the weight% of the element in the standard. We maintain a running average of the intensity values for every element as we iterate through all the standards. At the end of the program, a file called calibration.json is created which contains the mapping between element names and their weight%-to-intensity conversion factors. For Phase 2, we created a program called Identifier which uses (1) calibration.json (output of Phase 1), (2) test-minerals.json (minerals which we want to test for in the samples), and data files for the sample (obj1 and obj2) to calculate (1) a mineral map, (2) a confidence map, and (3) mineral counts for the sample. For each element of each test mineral, we calculate the intensity value using the weight%-to-intensity conversion factor. Then we calculate the delta between the calculated intensity value and the intensity value of the sample at a given pixel for each element. We sum up the deltas for all the elements for each test mineral and we keep track of the smallest deltaSum as we compare all the test minerals against the sample. At the end of processing, we can deduce that the most likely mineral at a given pixel is the one with the smallest delta sum. The mineral map is created by color coding each pixel of the sample image with the color representing the test mineral. The confidence map is a gray scale calculated from the deltaSum of the chosen mineral at every pixel. Mineral counts is basically a mapping of test mineral name to the number of pixels in the sample in which the mineral appears.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              meteorite-mineral-mapping has a low active ecosystem.
              It has 0 star(s) with 0 fork(s). There are 5 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              meteorite-mineral-mapping has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of meteorite-mineral-mapping is current.

            kandi-Quality Quality

              meteorite-mineral-mapping has no bugs reported.

            kandi-Security Security

              meteorite-mineral-mapping has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              meteorite-mineral-mapping is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              meteorite-mineral-mapping releases are not available. You will need to build from source code and install.
              meteorite-mineral-mapping has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of meteorite-mineral-mapping
            Get all kandi verified functions for this library.

            meteorite-mineral-mapping Key Features

            No Key Features are available at this moment for meteorite-mineral-mapping.

            meteorite-mineral-mapping Examples and Code Snippets

            No Code Snippets are available at this moment for meteorite-mineral-mapping.

            Community Discussions

            No Community Discussions are available at this moment for meteorite-mineral-mapping.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install meteorite-mineral-mapping

            To run the project.
            Install python OPTIONAL: if you want to run the version of the programs which utilizes parallel processing on the GPU, you also need to install numba, cudatoolkit, and pyculib. Using the CUDA versions of the program will result in roughly a 10x faster execution.
            Install yarn
            Execute the program for creating the calibration file: yarn calibrate NOTE: yarn calibrate executes the calibrator, which creates calibration.json. This file contains the conversion factor that correlates intensity and weight percent for each element.
            After calibration, identify minerals in obj1 obj2 using yarn identify-obj1 and yarn identify-obj2. NOTE: the bash commands which map to the yarn commands are defined in the scripts section of package.json. To identify additional objects, ensure to create a new directory in dataset and name it {OBJET_NAME}, then add a script to package.json which maps "identify-{OBJECT_NAME}" to "cd dataset && python ../src/identifier/main.py {OBJECT_NAME}".

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/HackTheSolarSystem/meteorite-mineral-mapping.git

          • CLI

            gh repo clone HackTheSolarSystem/meteorite-mineral-mapping

          • sshUrl

            git@github.com:HackTheSolarSystem/meteorite-mineral-mapping.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Python Libraries

            public-apis

            by public-apis

            system-design-primer

            by donnemartin

            Python

            by TheAlgorithms

            Python-100-Days

            by jackfrued

            youtube-dl

            by ytdl-org

            Try Top Libraries by HackTheSolarSystem

            MineralMapping

            by HackTheSolarSystemPython

            amnh2019-hacksolar-hiddenvenus-

            by HackTheSolarSystemPython

            TeamWatney

            by HackTheSolarSystemPython

            SeeOurSun

            by HackTheSolarSystemJavaScript

            beAStar-front

            by HackTheSolarSystemJavaScript