You can modify the <tt>supernovae.json</tt> file manually using a text editor. '''If you are using Windows, it is strongly recommended to use an advanced text editor such as [http://notepad-plus-plus.org/ Notepad++]''' to avoid problems with end-of-line characters. (It will also color the JSON code and make it easier to read.)

+

+

'''Warning''': Before editing your <tt>supernovae.json</tt>, make a backup copy. Leaving out the smallest detail (such as a comma or forgetting to close a curly bracket) will prevent Stellarium from starting.

+

+

The path to the directory which contains <tt>supernovae.json</tt> is something like:

+

{{user data directory|modules\Supernovae|modules/Supernovae}}

+

+

===Format of catalog===

+

To add a new supernova, open a new line after line 5 and paste the following, note commas and brackets, they are important:

+

<pre>

+

"Supernova designation":

+

{

+

"type": "type of supernova",

+

"maxMagnitude": value of maximal visual magnitude,

+

"peakJD": JD for maximal visual magnitude,

+

"alpha": "Right ascension (J2000)",

+

"delta": "Declination (J2000)",

+

"distance": value of distance between supernova and Earth (in thousand of Light Years),

+

"note": "notes for supernova"

+

},

+

</pre>

+

+

For example, record for SN 1604A:

+

<pre>

+

"1604A":

+

{

+

"type": "I",

+

"maxMagnitude": -2,

+

"peakJD": 2307190,

+

"alpha": "17h30m36.00s",

+

"delta": "-21d29m00.0s",

+

"distance": 14,

+

"note": "Kepler's Supernova"

+

},

+

</pre>

+

+

==Light curves==

+

In this plugin implemented simple model of light curves for different supernovae. Typical view of light curve for supernova type I you can see below (right scale in days) and this model used for plugin:

+

+

http://stellarium.org/wikiimg/supernovae/sn_type_I.gif

+

+

For supernova type II we use typical light curve with plato, which you can see below (right scale in days):

+

+

http://stellarium.org/wikiimg/supernovae/sn_type_II.gif

+

+

On both images for light curves of maximum brightness marked as day 0.

+

+

==Version history==

+

+

{| class="wikitable"

+

! Plug-in version

+

! Stellarium version

+

! Significant changes

+

|-

+

| 0.2.3

+

| 0.11.0

+

| First public version of plugin

+

|-

+

| 0.2.7

+

| 0.11.1

+

| Added SN2011FE, fixed few bugs, improved info for display

+

|-

+

| 0.2.8

+

| 0.11.2

+

| Fixed few bugs

+

|-

+

| 0.2.9

+

| 0.11.3

+

| Fixed few bugs (stabilization of code)

+

|-

+

| 0.2.11

+

| 0.11.4

+

| Added GUI to plug-in

+

|-

+

| ''0.2.12''

+

| ''0.12.0''

+

| Use new rendering engine of core

+

|-

+

|}

+

+

==Acknowledgment==

+

We thank the following people for their contribution and of the valuable comments:

Example (Supernova 1604, also known as Kepler's Supernova, Kepler's Nova or Kepler's Star):

Using the Historical Supernovae plugin

Enable the tool by clicking the tool-bar button "Load at startup"

Set date and time (29 April 1006 year for SN 1006A as example)

Catalog of historical supernovae

You can modify the supernovae.json file manually using a text editor. If you are using Windows, it is strongly recommended to use an advanced text editor such as Notepad++ to avoid problems with end-of-line characters. (It will also color the JSON code and make it easier to read.)

Warning: Before editing your supernovae.json, make a backup copy. Leaving out the smallest detail (such as a comma or forgetting to close a curly bracket) will prevent Stellarium from starting.

The path to the directory which contains supernovae.json is something like:

Light curves

In this plugin implemented simple model of light curves for different supernovae. Typical view of light curve for supernova type I you can see below (right scale in days) and this model used for plugin:

For supernova type II we use typical light curve with plato, which you can see below (right scale in days):

On both images for light curves of maximum brightness marked as day 0.

Version history

Plug-in version

Stellarium version

Significant changes

0.2.3

0.11.0

First public version of plugin

0.2.7

0.11.1

Added SN2011FE, fixed few bugs, improved info for display

0.2.8

0.11.2

Fixed few bugs

0.2.9

0.11.3

Fixed few bugs (stabilization of code)

0.2.11

0.11.4

Added GUI to plug-in

0.2.12

0.12.0

Use new rendering engine of core

Acknowledgment

We thank the following people for their contribution and of the valuable comments: