richteague / disksurf Goto Github PK
View Code? Open in Web Editor NEWMeasure the molecular emission surface of protoplanetary disks. Based on Pinte et al. (2018).
License: MIT License
Measure the molecular emission surface of protoplanetary disks. Based on Pinte et al. (2018).
License: MIT License
Thanks for the nice package. ๐
I am wondering if the following imports are really needed, as this package already requires python 3. ๐ค
disksurf/disksurf/detect_peaks.py
Line 30 in 8b1fdf1
In the get_emission_surface
function, the velocity corresponding to each peak is specified with peaks += [[r, z, Fnu, self.velax[c_idx]]]
. c_idx
corresponds to the index of the cube corresponding to data = self.data.copy()[chans[0]:chans[1]+1]
. However, self.velax
corresponds to the velocities of the full image cube. Therefore, the incorrect velocities are returned if the chans
argument is used to select a subset of channels.
On a minor related subject, the docstring says that chans
should be a tuple, but chans
needs to be a list or an array instead; the program will throw an error at the line chans[0], chans[1] = int(min(chans)), int(max(chans))
because tuples are immutable.
If you are interested in contributing, please submit a pull request. New functions should be documented in a manner consistent with existing code. Software bugs or mistakes in the documentation should be reported by opening up an issue. If reporting a software bug, please provide a minimal reproducible example. If your bug is triggered with a proprietary image cube,
Hello.
When attempting to import observation, I get an 'invalid syntax' error pointing to the * in " return rvals, *pcnts.T"
I am using py36.
I would be grateful for any guidance you might have.
Can we add some weighting options that allow us to include priors from different molecules? For example, saying 13CO must be below 12CO?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.