Code Monkey home page Code Monkey logo

area-distribution-of-sunspots's Introduction

Area distribution of Sunspots

image

What is the size distribution of sunspots above the lower bound of reliable size measurements?

Background

Sunspots play an important role in the magnetic dynamics of the sun and can indicate local processes near the surface. They are also a signal of overall solar activity, so understanding their prevelance can be an important foundational tool for further research in the field. Previous research has modeled the number density of sunspots over all whole spot areas using a log-normal distribution, which is the prescription we will follow in this project.

This reference also recommends not using the full data set and only performs the fit above an area of $A_{min} = 60$ millionths of a solar hemisphere (MSH) as they are "falsified from enhanced intrinsic measurement errors as well as from distortions due to atmospheric seeing". Therefore, this requires the use of a truncated log-normal to appropriately model the data, and we will only focus on the data with at least a size of 60 MSH.

Data

The data for this project was obtained from the UK Solar System Data Centre. It contains all sunspot group reports from 1874 to 1981. Because each year contains so much information and data, we selected years 1976 and 1968. The reason why 1968 was chosen as one of the years is because it was when the solar maximum, the most observed amount of sunspots in a solar cycle, occurred. 1976 was then chosen as it was the last year of the of the Greenwich sunspot record. Only the area of complete sunspot groups and not of individual sunspots have been recorded.

After selecting these two .grp files, we moved them into an excel sheet and separated the columns according to the grnwich.fmt file which tells what each column means. So for instance, columns 1-4 tell the year so we separated data by that.

UK Solar System Data Center (Need to register here and use email as the credential with password being blank.)
GDrive

Software setup to run the notebook

Python version used: 3.10.12

We recommend using a conda environment to install the requirements and run the notebook.

  1. Install Conda Conda can be installed from this page: https://conda.io/projects/conda/en/latest/user-guide/install/index.html.

  2. Create a conda environment

conda create --name ast5731_group3_project3 --file requirements.txt

You can change the name of the environment from ast5731_group3_project3 to the one you want.

  1. Install Jupyter notebook from this page: https://jupyter.org/install

  2. The notebook can be run using by starting the jupyter notebook server

# to start the server
jupyter notebook

Navigate to the file and run the Group3_Project3.ipynb

Team


Hari Veeramallu

Jacynda Alatoma

Nicholas Kruegler

Daniel Warshofsky

Christopher Guo

area-distribution-of-sunspots's People

Contributors

chrisg0407 avatar jalatoma avatar nkruegler avatar raghuram-veeramallu avatar

Watchers

 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.