setigen
setigen copied to clipboard
Python library for generating and injecting artificial narrow-band signals into radio frequency data
In jupyter file 06_starting_from_existing_raw_files.ipynb, in the block calling stg.voltage.RawVoltageBackend.from_data(), that method appears to require a "digitizer" argument. This is the error message: TypeError: RawVoltageBackend.from_data() missing 1 required positional argument: 'digitizer'...
The setigen voltage notebook 03_custom_signals.ipynb works fine for the cpu (os.environ['SETIGEN_ENABLE_GPU'] = '0') but produces an error with the gpu (os.environ['SETIGEN_ENABLE_GPU'] = '1') in the cell containing the rvb.record function....
[`get_intensity`]( https://github.com/bbrzycki/setigen/blob/5ca049f80b44a9dd9bffc8889d46d2135f4e4011/setigen/frame.py#L894) uses the statistics of the non-integrated frame to compute the intensity for a desired SNR. The involves dividing by the square root of the number of time samples...
Computing the mean and std of large frames (e.g. ~16 million points) can suffer from floating point error when they are performed using float32 values. Both `mean` and `std` can...
I've been using `setigen` as a base to generate mock FRBs. Here's some example code: ```python def gauss2(x, a, x0, fwhm): """ Generate gaussian^2 pulse Args: x: time series (np.arange())...
It looks like @telegraphic is beginning significant work in blimpy to support multiple IFs (polarisation arrays) per time-integration. It would be very helpful to be able to generate Filterbank files...
**Expectation** The program below would run to conclusions without errors or it would clearly and consisely log a setigen limitation before throwing an exception. **Input file** https://storage.googleapis.com/ata_test_data/turbo_seti_test/guppi_59196_68468_000762_Unknown_0001.rawspec.0000.h5 **My program** ```...
Example code: ``` frame = stg.Frame(fchans=2**24, tchans=32, df=1.3969838619232178*u.Hz, dt=1.4316557653333333*u.s, fch1=6095.214842353016*u.MHz) frame.save_fil('test.fil') ``` This gives something like: ``` Traceback (most recent call last): File "/home/bryanb/setigen/setigen/frame.py", line 807, in save_fil self.waterfall.write_to_fil(filename) File...