<commit_before># -*- coding: utf-8 -*-

class Lightcurve():
    """
    This class is designed to handle light curves; time series of
    electromagnetic data, frequently encountered in astronomical
    data.
    """

    def __init__():

        <commit_msg>Made the very first components of the Lightcurve class, so that data can be loaded in.<commit_after># -*- coding: utf-8 -*-

__authors__ = ["<NAME>"]
__email__ = <EMAIL>

import numpy as np
import pandas as import pd

class Lightcurve():
    """
    This class is designed to handle light curves; time series of
    electromagnetic data, frequently encountered in astronomical
    data. The light curve can be supplemented with non-EM data,
    such as neutron flux measurements, to allow a 
    """

    data = pd.DataFrame()
    title = "Light Curve"

    def __init__(self, title="Light Curve"):
        """
        Assemble the Lightcurve.
        
        """
        self.title = title
    
    def import_data(self, data):
        self.data = self.data.join(data, how="outer")
        return self
    
    def plot(self):
        self.data = self.data.fillna(method='pad')
        self.data.neutron_flux.plot(figsize=(18,6))
        self.data.sunspot.plot(secondary_y=True)
        
        
        
{'fraction_non_alphanumeric': 0.10268562401263823, 'fraction_numerical': 0.0039494470774091624, 'mean_word_length': 2.424324324324324, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5596515', 'n_tokens_mistral': 373, 'n_tokens_neox': 355, 'n_words': 121}