<commit_before>{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
<<<<<<< HEAD
    "### Objective:\n",
    "\n",
    "1. Using the data for redshift = 0.01 (z = 0.01), I would like for you to plot the light curve in the \"i\" band. \n",
=======
    "# Light Curve Analysis\n",
    "<NAME>\n",
    "\n",
    "### Objective:\n",
    "\n",
    "1. Using the data for redshift = 0.015 (z = 0.015), I would like for you to plot the light curve in the \"i\" band. \n",
>>>>>>> Kilonova1
    "\n",
    "2. Once you accomplish that, I would like for you to plot the light curve of the same source in apparent magnitude. Hint - you'll need to convert from redshift to distance and then convert from distance to distance modulus.\n",
    "\n",
    "To accomplish this goal, I will be using data from the NS-NS compact binary APR4-1215. That bands with which the light curves will be calculated are the u, g, r, i, and z bands."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "#in order to product the proper plots and calculations, I will need matplotlib, numpy, pandas, and astropy.\n",
    "%matplotlib inline\n",<commit_msg>Fixed bug within GitHub; the file should run now with updated app_mag function to include redshift as a variable.<commit_after>{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Light Curve Analysis\n",
    "<NAME>\n",
    "\n",
    "### Objective:\n",
    "\n",
    "1. Using the data for redshift = 0.015 (z = 0.015), I would like for you to plot the light curve in the \"i\" band. \n",
    "\n",
    "2. Once you accomplish that, I would like for you to plot the light curve of the same source in apparent magnitude. Hint - you'll need to convert from redshift to distance and then convert from distance to distance modulus.\n",
    "\n",
    "To accomplish this goal, I will be using data from the NS-NS compact binary APR4-1215. That bands with which the light curves will be calculated are the u, g, r, i, and z bands."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "#in order to product the proper plots and calculations, I will need matplotlib, numpy, pandas, and astropy.\n",
    "%matplotlib inline\n",
{'fraction_non_alphanumeric': 0.1438728565453785, 'fraction_numerical': 0.016729401923881223, 'mean_word_length': 2.8894308943089433, 'pattern_counts': {'":': 20, '<': 12, '<?xml version=': 0, '>': 12, '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': '825747', 'n_tokens_mistral': 783, 'n_tokens_neox': 740, 'n_words': 325}