Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F121642847
gmag2lum
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Jul 12, 18:27
Size
132 B
Mime Type
text/x-python
Expires
Mon, Jul 14, 18:27 (2 d)
Engine
blob
Format
Raw Data
Handle
27365520
Attached To
rGTOOLS Gtools
gmag2lum
View Options
#!/usr/bin/env python
from
numpy
import
*
import
sys
Mag
=
float
(
sys
.
argv
[
1
])
Lum
=
pow
(
10
,(
4.74
-
Mag
)
/
2.5
)
print
"
%g
Lsol"
%
Lum
Event Timeline
Log In to Comment