11/3/2022 0 Comments E current vs dark noiseflatten (), bins = 500, density = False, alpha = 0.5, color = 'C1', label = 'Sensor, excluding sensor glow region' ) hist ( dark_current_ln2. flatten (), bins = 500, density = False, alpha = 0.5, color = 'C0', label = 'Full sensor' ) hist ( dark_current_ln2. figure ( figsize = ( 20, 10 )) hist ( dark_current_ln2. Gain = 2.0 exposure_time = 300 dark_current_ln2 = gain * combined_dark_lfc. append ( fileobj ) FileNotFoundError: No such file or directory: 'combined_dark_2' FileIO ( name_or_obj, 'r' ) 272 if is_url and not cache : 273 delete_fds. gen ) 114 except StopIteration : 115 raise RuntimeError ( "generator didn't yield" ) from None File /usr/share/miniconda/envs/test/lib/python3.8/site-packages/astropy/utils/data.py:271, in get_readable_fileobj (name_or_obj, encoding, cache, show_progress, remote_timeout, sources, http_headers) 266 if is_url : 267 name_or_obj = download_file ( 268 name_or_obj, cache = cache, show_progress = show_progress, 269 timeout = remote_timeout, sources = sources, 270 http_headers = http_headers ) -> 271 fileobj = io. func 112 try : -> 113 return next ( self. _enter_ () 198 except OSError : 199 raise File /usr/share/miniconda/envs/test/lib/python3.8/contextlib.py:113, in _GeneratorContextManager._enter_ (self) 111 del self. _cls, * args, ** kwargs ) File /usr/share/miniconda/envs/test/lib/python3.8/site-packages/astropy/io/registry/core.py:197, in UnifiedInputRegistry.read (self, cls, format, cache, *args, **kwargs) 195 try : 196 ctx = get_readable_fileobj ( args, encoding = 'binary', cache = cache ) -> 197 fileobj = ctx. read ( calibrated_images / 'combined_dark_2' ) File /usr/share/miniconda/envs/test/lib/python3.8/site-packages/astropy/nddata/mixins/ndio.py:59, in NDDataRead._call_ (self, *args, **kwargs) 58 def _call_ ( self, * args, ** kwargs ): -> 59 return self. Input In, in () 1 calibrated_images = Path ( '.' ) -> 2 combined_dark_lfc = CCDData. FileNotFoundError Traceback (most recent call last)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |