Coder Social home page Coder Social logo

coolneighbors / subjectanalysis Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 15 KB

Python files which analyze the result subjects and classifications from the Cool Neighbors project

Home Page: http://coolneighbors.org

Python 44.05% Jupyter Notebook 55.95%
exoplanets stars zooniverse browndwarfs

subjectanalysis's Introduction

SubjectAnalysis

This repository contains:

A script to cross match subjects between two Zooniverse subjects csvs.

A script to evaluate the total classifications of a Zooniverse workflow by target type.

A script to evaluate the classifications of a Zooniverse workflow, creating csvs for subjects which were voted as 'movers' above a specified amount.

Simply change edit the Zooniverse filenames and object types in the desired python files and run.

Dependencies

csv, re, alive_progress, time, and numpy libraries (use pip install or similar installation)

File Usage

SubjectResults.py:

Edit the acceptance ratio, target types, and filename depending on analysis needs,, can optionally include IDs to ignore

References Zooniverse workflow classification csv (containing metadata)

Returns:

  • five csvs by target type. Within are yes votes/total votes, RA, DEC, Zooniverse subject link, and WiseView link for each individual subject.

TypeEvaluation.py:

Edit target types and filenames depending on analysis needs,, can optionally include IDs to ignore

References Zooniverse workflow classification csv (containing metadata)

Returns:

  • prints movement and non-movement decisions for every target type
  • prints number of classifications in file and number of classifications used

CrossMatch.py

Edit filenames depending on analysis needs

References Zooniverse subjects csv (containing metadata), csv of subject IDs to compare, and csv of targets (RA, DEC, target type)

Returns:

  • The total number of subjects present in the Zooniverse subjects csv
  • The total number of targets present in the subject IDs csv
  • prints subject information (RA, DEC, Target ID) if there is a subject present in both of the two subject files.

Note: You can comment out the target ID function and remove the target ID variable if you have a list of the target RAs and DECs already, you just need to include it in CrossMatch.py

SubjectAnalysis.ipynb:

Contains the three previous python scripts as easily-accessable code cells

subjectanalysis's People

Contributors

grobbins2 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.