Skip to content

📝 Refactor function signatures and improve docstring clarity#502

Open
munechika-koyo wants to merge 1 commit into
cherab:developmentfrom
munechika-koyo:fix/dosctrings-comments
Open

📝 Refactor function signatures and improve docstring clarity#502
munechika-koyo wants to merge 1 commit into
cherab:developmentfrom
munechika-koyo:fix/dosctrings-comments

Conversation

@munechika-koyo

Copy link
Copy Markdown
Member

Refactor function signatures to enhance consistency and clarity across multiple modules. Key changes include:

  • Updated function signatures from cpdef to cdef where appropriate.

  • Improved docstring phrasing for better readability.

  • Corrected parameter type references in docstrings.

  • Ensured consistency in error messages and return types.

cdef class FreeFreeGauntFactor():

cpdef double evaluate(self, double z, double temperature, double wavelength) except? -1e999
cdef double evaluate(self, double z, double temperature, double wavelength) except? -1e999

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed this line to follow the other emission model. This might reduce the overhead?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant