-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from AstarVienna/dev_master
Dev master
- Loading branch information
Showing
28 changed files
with
660 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
from .calibration import * | ||
from . import micado |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
from .darkness import darkness as _darkness | ||
from .flatlamp import flatlamp as _flatlamp | ||
from .cluster import cluster as _cluster | ||
from .viking_fields import viking_fields | ||
from ..utils.general_utils import add_function_call_str | ||
|
||
from . import spectral_calibrations | ||
|
||
@add_function_call_str | ||
def darkness(): | ||
return _darkness() | ||
|
||
|
||
@add_function_call_str | ||
def empty_sky(): | ||
# Include empty_sky for backwards compatibility reasons. | ||
# TODO: Remove empty_sky when it is not used in MicadoWISE anymore. | ||
return _darkness() | ||
|
||
|
||
@add_function_call_str | ||
def flatlamp(): | ||
return _flatlamp() | ||
|
||
|
||
@add_function_call_str | ||
def cluster(): | ||
return _cluster() | ||
|
||
|
||
__all__ = [darkness, flatlamp, empty_sky, cluster] |
3 changes: 3 additions & 0 deletions
3
...m_templates/calibration/micado/cluster.py → scopesim_templates/micado/cluster.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
"""A standard cluster for MICADO.""" | ||
from scopesim_templates.utils.general_utils import function_call_str, add_function_call_str | ||
|
||
import scopesim_templates.stellar.clusters | ||
|
||
|
||
@add_function_call_str | ||
def cluster(): | ||
"""A basic cluster.""" | ||
return scopesim_templates.stellar.clusters.cluster(mass=10000, distance=2000, core_radius=.1) |
File renamed without changes.
Oops, something went wrong.