linefinder.utils.file_management module¶
Simple functions and variables for easily accessing common files and choices of parameters.
@author: Zach Hafen @contact: zachary.h.hafen@gmail.com @status: Development
-
class
linefinder.utils.file_management.
FileManager
(project=None)[source]¶ Bases:
object
-
get_linefinder_analysis_defaults
(tag_tail, sim_name='m12i', ahf_index=600, ids_tag_tail=None, ptracks_tag_tail=None, galdef='')[source]¶ Standard defaults for linefinder analysis routines.
Parameters: Returns: Commonly used default dictionary.
Return type: defaults (dict)
-
get_linefinder_analysis_defaults_and_variations
(tag_tail, default_sim_name='m12i', sim_names=['m12i', 'm12m', 'm12f'], *args, **kwargs)[source]¶ Standard defaults and variations for linefinder analysis routines.
Parameters: - tag_tail (str) – The second half of the tag, after the simulation name.
- default_sim_name (str) – Name of the simulation that’s the “default”.
- sim_names (list of strs) – What simulations to include.
- **kwargs (*args,) –
Other arguments passed to self.get_linefinder_analysis_defaults() and self.get_linefinder_analysis_variations() and
Returns: Commonly used variations dictionary.
Return type: variations (dict of dicts)
-