Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
astro_lab
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Massana Zapata, Pol Dr (Maths & Physics)
astro_lab
Commits
dd926c2b
Commit
dd926c2b
authored
6 years ago
by
Delorme, Maxime Dr (Physics)
Browse files
Options
Downloads
Patches
Plain Diff
Added welcome message
parent
57da3ff0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
astro_lab.py
+12
-0
12 additions, 0 deletions
astro_lab.py
with
12 additions
and
0 deletions
astro_lab.py
+
12
−
0
View file @
dd926c2b
...
...
@@ -300,3 +300,15 @@ def fit_PL(filename, n_samples=100):
plt
.
title
(
'
Fitted PL relation, with a={:.5f} and b={:.5f}
'
.
format
(
a
,
b
))
plt
.
show
()
if
__name__
==
'
__main__
'
:
print
(
'''
================================================
= Introduction to astronomy (PHY2071) =
= University of Surrey =
= Faculty of Engineering and Physical Sciences =
= Physics Department =
= =
= For any enquiry about the scripts : =
= m.delorme@surrey.ac.uk =
================================================
'''
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment