<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-

'''starfeatures - <NAME> (<EMAIL>) - Dec 2017
License: MIT. See the LICENSE file for more details.

This calculates various features related to the color/proper-motion of stars.

All of the functions in this module require as input a dict of the following
form (an 'objectinfo' dict):

{

}



'''

def star_color_features(objectinfo):
    '''
    Stellar colors and dereddened stellar colors using NED extinction API.

    '''<commit_msg>working on varclass stuff...<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

'''starfeatures - <NAME> (<EMAIL>) - Dec 2017
License: MIT. See the LICENSE file for more details.

This calculates various features related to the color/proper-motion of stars.

All of the functions in this module require as input a dict of the following
form (an 'objectinfo' dict):

{

}



'''

def star_color_features(objectinfo):
    '''
    Stellar colors and dereddened stellar colors using 2MASS DUST API:

    http://irsa.ipac.caltech.edu/applications/DUST/docs/dustProgramInterface.html

    '''
{'fraction_non_alphanumeric': 0.11131386861313869, 'fraction_numerical': 0.010036496350364963, 'mean_word_length': 3.6880341880341883, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4208668', 'n_tokens_mistral': 352, 'n_tokens_neox': 321, 'n_words': 122}