Skip to content

Commit

Permalink
Line length fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkelley committed Jun 24, 2022
1 parent c7b8da6 commit 3767872
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
12 changes: 8 additions & 4 deletions sbpy/calib/solar_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,23 @@ class SolarSpectra:
'filename': 'e490-00a_2014_hires.csv',
'wave_unit': 'um',
'flux_unit': 'W/(m2 um)',
'description': 'E490-00a (2014) low resolution reference solar spectrum (Table 4)',
'description': ('E490-00a (2014) low resolution reference solar '
'spectrum (Table 4)'),
'bibcode': 'doi:10.1520/E0490'
}

Kurucz1993 = {
'filename': 'https://archive.stsci.edu/hlsps/reference-atlases/cdbs/grid/k93models/standards/sun_kurucz93.fits',
'filename': ('https://archive.stsci.edu/hlsps/reference-atlases/cdbs/'
'grid/k93models/standards/sun_kurucz93.fits'),
'description': 'Kurucz (1993) model, scaled by Colina et al. (1996)',
'bibcode': '1993KurCD..13.....K'
}

Castelli1996 = {
'filename': 'https://archive.stsci.edu/hlsps/reference-atlases/cdbs/grid/k93models/standards/sun_castelli.fits',
'description': 'Castelli model, scaled and presented by Colina et al. (1996)',
'filename': ('https://archive.stsci.edu/hlsps/reference-atlases/cdbs/'
'grid/k93models/standards/sun_castelli.fits'),
'description': ('Castelli model, scaled and presented by Colina et '
'al. (1996)'),
'bibcode': '1996AJ....112..307C'
}

Expand Down
3 changes: 2 additions & 1 deletion sbpy/calib/tests/test_sun.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ def test_castelli96(self):
HISTORY Created Thu 15:49:31 16-Nov-95
COMMENT solar model spectrum calculated by F. Castelli.
COMMENT Absolute flux normalized to a V flux of 184.2 ergs/s/cm^2/A
COMMENT For more details see Colina, Bohlin & Castelli 1996 CAL/SCS-008
COMMENT For more details see Colina, Bohlin & Castelli 1996
CAL/SCS-008
2022-06-05: sbpy calculates 184.5 ergs/s/cm^2/A; agreement within 0.2%
"""
Expand Down

0 comments on commit 3767872

Please sign in to comment.