Comments (3)
@kevinawilson Could you comment on this? I don't remember much from the meta
implementation, but I don't fully understand this particular line of the commit.
Why was if vlsr
changed to if vlsr or meta
? Isn't that the cause of the error (considering the user did not provide a location)? @davewyers that's just an assumption, please confirm or deny whether the location was indeed not part of the observing parameters (obs_parameters=obs
).
from virgo.
Hi @0xCoto
The Lat and Long are defined in the file then called in the obs object.
Define observation parameters
obs = {
'dev_args': '',
'rf_gain': 10,
'if_gain': 0,
'bb_gain': 0,
'frequency': freq,
'bandwidth': 2.4e6,
'channels': 2048,
't_sample': 1,
'duration': 240,
'loc': str(lat) + ' ' + str(lon) + ' ' + str(height),
'ra_dec': str(RA) + ' '+ str(DEC),
'az_alt': str(az) + ' ' + str(alt)
}
gal_l, gal_b = virgo.galactic(RA,DEC)
print ('Galactic l = '+str(gal_l))
print ('Galactic b = '+str(gal_b))
virgo.simulate(gal_l, gal_b, beamwidth, -400, 400, prefix+'_simulate.png')
print ('Observe run start')
virgo.observe(obs_parameters=obs, obs_file=prefix+'_observation.dat')
print ('Observe run end')
from virgo.
I know this has been out there awhile but appears still an issue with recent, I've had success to change to recommended from EarthLocation changing to for geocentric; lon, lat, height for geodetic). Also note longitude is EAST only so 0 to 360
line 720 change order
original obs_location = EarthLocation.from_geodetic(loc[0], loc[1], loc[2])
change obs_location = EarthLocation.from_geodetic(loc[1], loc[0], loc[2])
line 624 added this global to remove error spam
added global mjd
line 145, 228 change order
original loc = EarthLocation(lat=latu.deg, lon=lonu.deg, height=heightu.m)
changed loc = EarthLocation(lon=lonu.deg, lat=latu.deg, height=heightu.m)
example obs
Define observation parameters
obs = {
'rf_gain': 15,
'if_gain': 5,
'bb_gain': 5,
'dev_args': '',
'frequency': 1420e6,
'bandwidth': 2.4e6,
'channels': 2048,
't_sample': 1,
'duration': 120,
'loc': [32.62, 233.39, 300.00],
'ra_dec': '',
'az_alt': [180, 60],
'spectrometer': 'FTF',
'obs_file': 'firstob.dat6'
}
from virgo.
Related Issues (20)
- JOSS review: Documentation general comment HOT 8
- JOSS review: Installation and Usage HOT 5
- JOSS review: functionality documentation & testing HOT 20
- Issues with creating an RFI Survey HOT 21
- Calibration Question HOT 1
- RFI Removal HOT 6
- Graph Scales HOT 1
- VLSR HOT 4
- Matplotlib memory leak on overnight runs HOT 7
- Determining Gain HOT 1
- Virgo working with Python Virtual Environments
- Potential gnuradio 3.7/3.8 issue. HOT 12
- module compiled against API version 0xe HOT 2
- Configuring Virgo for multiple SDR using the KrakenSDR SDR module HOT 1
- virgo.simulate does not return the LAB data HOT 2
- Unable to use VIRGO, need guidance HOT 7
- unexpected keyword argument 'catch_exceptions' HOT 4
- Airpsy mini GNU Radio crash HOT 5
- Incorrect waterfall indices in dedispersion operation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from virgo.