[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master 9662098: cosmology.h: removed extra test funct
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master 9662098: cosmology.h: removed extra test function from previous commit |
Date: |
Sat, 11 May 2019 19:25:09 -0400 (EDT) |
branch: master
commit 966209893fb86eae52b2f947679b03220b8fecd7
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>
cosmology.h: removed extra test function from previous commit
In the last commit, an extra test function that had remained during the
testing of that commit (and was ultimately moved to the new `speclines.h'
library) had remained.
With this commit, it is removed.
---
lib/cosmology.c | 28 ----------------------------
lib/gnuastro/cosmology.h | 5 -----
2 files changed, 33 deletions(-)
diff --git a/lib/cosmology.c b/lib/cosmology.c
index 138bdcb..b8d243b 100644
--- a/lib/cosmology.c
+++ b/lib/cosmology.c
@@ -310,31 +310,3 @@ gal_cosmology_to_absolute_mag(double z, double H0, double
o_lambda_0,
o_radiation_0);
return dm-2.5*log10(1.0+z);
}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-/**************************************************************/
-/************ Basic cosmology functions *************/
-/**************************************************************/
-double
-gal_cosmology_redshift_from_line(double obsline, double restline)
-{
- return (obsline/restline)-1;
-}
diff --git a/lib/gnuastro/cosmology.h b/lib/gnuastro/cosmology.h
index a5d80a1..b64ed0c 100644
--- a/lib/gnuastro/cosmology.h
+++ b/lib/gnuastro/cosmology.h
@@ -88,11 +88,6 @@ double
gal_cosmology_to_absolute_mag(double z, double H0, double o_lambda_0,
double o_matter_0, double o_radiation_0);
-/* Get the redshift from the observed and restframe line. */
-double
-gal_cosmology_redshift_from_line(double obsline, double restline);
-
-
__END_C_DECLS /* From C++ preparations */
#endif /* __GAL_COSMOLOGY_H__ */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnuastro-commits] master 9662098: cosmology.h: removed extra test function from previous commit,
Mohammad Akhlaghi <=