Skip to content

Deprecate blackbody functions in analytic_functions #6160

Description

@astrofrog

#4855 is not merged yet, but this is a reminder to work on this issue after merging

In #4855, I added a fittable 1D blackbody model, but this doesn't replace the functions in astropy.analytic_functions. We should make the radiance functions in astropy.analytic_functions into models that support units.

Note that the Blackbody1D model includes 'vertical' scaling which is useful for most fitting applications. However, the functions in analytic_functions are just to compute the plain Planck function which doesn't include scaling, so these should be separate (probably non-fittable) models.

We should also then add a documentation page about the various blackbody models.

Milestoning as 2.0 as at least the deprecation should be in place for 2.0.

Activity

  1. added this to the v2.0.0 milestone on Jun 6, 2017
  2. changed the title [-]Deprecate blackbody functions in analytic_functions and migrate over to astropy.modeling[/-] [+]Deprecate blackbody functions in analytic_functions[/+] on Jun 6, 2017
  3. pllim commented on Jun 6, 2017

    @pllim
    Member

    This is a duplicate of #5780.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions